Overview  Package   Class  Tree  Index 

be.lassi.pdf
Class State

java.lang.Object
  extended by be.lassi.pdf.State

public class State
extends java.lang.Object


Field Summary
static java.lang.String DIR
           
static com.lowagie.text.Font FONT_DOC_SUB_TITLE
           
static com.lowagie.text.Font FONT_DOC_TITLE
           
static com.lowagie.text.Font FONT_PARAGRAPH
           
static com.lowagie.text.Font FONT_PRE
           
static com.lowagie.text.Font FONT_TOC_TITLE
           
static float PAGE_MARGIN_BOTTOM
           
static float PAGE_MARGIN_LEFT
           
static float PAGE_MARGIN_RIGHT
           
static float PAGE_MARGIN_TOP
           
static com.lowagie.text.Rectangle PAGE_SIZE
           
 
Constructor Summary
State(com.lowagie.text.DocListener document, TableOfContents toc)
          Constructs a new instance.
 
Method Summary
 void addAttribute(java.lang.String key, java.lang.String value)
           
 void addElement(com.lowagie.text.Element element)
           
 void clearAttributes()
           
 java.lang.String getAttribute(java.lang.String name)
           
 com.lowagie.text.Paragraph getCurrentParagraph()
           
 HeaderLevel getHeaderLevel()
           
 int getLineNr()
           
 java.util.Stack<java.lang.Object> getStack()
           
 java.lang.String getSystemId()
           
 TableOfContents getToc()
           
 com.lowagie.text.Phrase getTopLeftHeader()
           
 boolean isBold()
           
 boolean isItalic()
           
 boolean isPre()
           
 boolean isSkipText()
           
 void setBold(boolean bold)
           
 void setCurrentParagraph(com.lowagie.text.Paragraph currentParagraph)
           
 void setItalic(boolean italic)
           
 void setLineNr(int lineNr)
           
 void setPre(boolean pre)
           
 void setSkipText(boolean skipText)
           
 void setSystemId(java.lang.String systemId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

State

public State(com.lowagie.text.DocListener document,
             TableOfContents toc)
Constructs a new instance.

Parameters:
document - the pdf document to write to
toc - the table of contents
Method Detail

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)

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2