currentParagraph
public Paragraph currentParagraph
isPRE
public boolean isPRE
objectList
public ArrayList objectList
pendingLI
public boolean pendingLI
pendingP
public boolean pendingP
pendingTD
public boolean pendingTD
pendingTR
public boolean pendingTR
skipText
public boolean skipText
tableState
public Stack tableState
tagsSupported
public static final HashMap tagsSupported
tagsSupportedString
public static final String tagsSupportedString
add
public boolean add(Element element)
throws DocumentException
Signals that an Element
was added to the Document
.
- add in interface ElementListener
element
- a high level object
true
if the element was added, false
if not.
add
public boolean add(Watermark watermark)
Signals that a Watermark
was added to the Document
.
- add in interface DocListener
watermark
- the Watermark object
true
if the element was added, false
if not.
close
public void close()
Signals that the
Document
was closed and that no other
Elements
will be added.
The outputstream of every writer implementing
DocListener
will be closed.
- close in interface DocListener
open
public void open()
Signals that the Document
has been opened and that
Elements
can be added.
- open in interface DocListener
parse
public void parse(Reader reader)
throws IOException
parseToList
public static ArrayList parseToList(Reader reader,
StyleSheet style)
throws IOException
removeWatermark
public void removeWatermark()
Signals that a Watermark
was removed from the Document
.
- removeWatermark in interface DocListener
setMarginMirroring
public boolean setMarginMirroring(boolean marginMirroring)
Parameter that allows you to do margin mirroring (odd/even pages)
- setMarginMirroring in interface DocListener
setMargins
public boolean setMargins(float marginLeft,
float marginRight,
float marginTop,
float marginBottom)
Sets the margins.
- setMargins in interface DocListener
marginLeft
- the margin on the leftmarginRight
- the margin on the rightmarginTop
- the margin on the topmarginBottom
- the margin on the bottom
setPageCount
public void setPageCount(int pageN)
Sets the page number.
- setPageCount in interface DocListener
pageN
- the new page number
setStyleSheet
public void setStyleSheet(StyleSheet style)