be.lassi.pdf
Class State
java.lang.Object
be.lassi.pdf.State
public class State
- extends java.lang.Object
Constructor Summary |
State(com.lowagie.text.DocListener document,
TableOfContents toc)
Constructs a new instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIR
public static final java.lang.String DIR
- See Also:
- Constant Field Values
FONT_DOC_SUB_TITLE
public static final com.lowagie.text.Font FONT_DOC_SUB_TITLE
FONT_DOC_TITLE
public static final com.lowagie.text.Font FONT_DOC_TITLE
FONT_PARAGRAPH
public static final com.lowagie.text.Font FONT_PARAGRAPH
FONT_PRE
public static final com.lowagie.text.Font FONT_PRE
FONT_TOC_TITLE
public static final com.lowagie.text.Font FONT_TOC_TITLE
PAGE_MARGIN_BOTTOM
public static final float PAGE_MARGIN_BOTTOM
- See Also:
- Constant Field Values
PAGE_MARGIN_LEFT
public static final float PAGE_MARGIN_LEFT
- See Also:
- Constant Field Values
PAGE_MARGIN_RIGHT
public static final float PAGE_MARGIN_RIGHT
- See Also:
- Constant Field Values
PAGE_MARGIN_TOP
public static final float PAGE_MARGIN_TOP
- See Also:
- Constant Field Values
PAGE_SIZE
public static final com.lowagie.text.Rectangle PAGE_SIZE
State
public State(com.lowagie.text.DocListener document,
TableOfContents toc)
- Constructs a new instance.
- Parameters:
document
- the pdf document to write totoc
- the table of contents
addAttribute
public void addAttribute(java.lang.String key,
java.lang.String value)
throws java.lang.Exception
- Throws:
java.lang.Exception
addElement
public void addElement(com.lowagie.text.Element element)
throws com.lowagie.text.DocumentException
- Throws:
com.lowagie.text.DocumentException
clearAttributes
public void clearAttributes()
getAttribute
public java.lang.String getAttribute(java.lang.String name)
getCurrentParagraph
public com.lowagie.text.Paragraph getCurrentParagraph()
getHeaderLevel
public HeaderLevel getHeaderLevel()
getLineNr
public int getLineNr()
getStack
public java.util.Stack<java.lang.Object> getStack()
getSystemId
public java.lang.String getSystemId()
getToc
public TableOfContents getToc()
getTopLeftHeader
public com.lowagie.text.Phrase getTopLeftHeader()
isBold
public boolean isBold()
isItalic
public boolean isItalic()
isPre
public boolean isPre()
isSkipText
public boolean isSkipText()
setBold
public void setBold(boolean bold)
setCurrentParagraph
public void setCurrentParagraph(com.lowagie.text.Paragraph currentParagraph)
setItalic
public void setItalic(boolean italic)
setLineNr
public void setLineNr(int lineNr)
setPre
public void setPre(boolean pre)
setSkipText
public void setSkipText(boolean skipText)
setSystemId
public void setSystemId(java.lang.String systemId)