org.pz.platypus.plugin.pdf
Class PdfData
java.lang.Object
org.pz.platypus.plugin.common.DocData
org.pz.platypus.plugin.pdf.PdfData
- All Implemented Interfaces:
- IOutputContext
public class PdfData
- extends DocData
- implements IOutputContext
Container class for all the state of the PDF document
- Author:
- alb
Constructor Summary |
PdfData(GDD gddIn)
Initializes the state of the PDF document. |
Methods inherited from class org.pz.platypus.plugin.common.DocData |
getAlignment, getAlignmentLine, getCodeSectionLine, getColumnCount, getColumnCountLine, getCommandTable, getCurrColumn, getFirstLineIndent, getFirstLineIndentLine, getGdd, getLeading, getLeadingLine, getLineHeight, getLineHeightLine, getLineNumberLast, getLineNumberLastLine, getLineNumberSkip, getLineNumberSkipLine, getMarginBottom, getMarginBottomLine, getMarginLeft, getMarginLeftLine, getMarginRight, getMarginRightLine, getMarginsMirrored, getMarginsMirroredLine, getMarginTop, getMarginTopLine, getNoIndent, getNoIndentLine, getPageHeight, getPageHeightLine, getPageNumber, getPageWidth, getPageWidthLine, getParagraphIndent, getParagraphIndentLine, getParagraphIndentRight, getParagraphIndentRightLine, getParagraphSkip, getParagraphSkipLine, getPixelsPerInch, getPixelsPerInchLine, getStrikethru, getStrikethruLine, getUnderline, getUserSpecifiedColumnWidth, getUserSpecifiedColumnWidthLine, inCodeSection, isInCodeListing, setAlignment, setColumnCount, setCommandTable, setCurrColumn, setFirstLineIndent, setInCodeListing, setInCodeSection, setLeading, setLineHeight, setLineNumberLast, setLineNumberSkip, setMarginBottom, setMarginLeft, setMarginRight, setMarginsMirrored, setMarginTop, setNoIndent, setPageHeight, setPageNumber, setPageWidth, setParagraphIndent, setParagraphIndentRight, setParagraphSkip, setStrikethru, setUserSpecifiedColumnWidth, setValue, setValue, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pdfOutfile
private PdfOutfile pdfOutfile
gdd
private GDD gdd
columns
public Columns columns
eolPending
private boolean eolPending
eolTreatment
private DocData.Value eolTreatment
font
private PdfFont font
footer
private Footer footer
formatStack
private FormatStack formatStack
typefaceMap
private TypefaceMap typefaceMap
PdfData
public PdfData(GDD gddIn)
- Initializes the state of the PDF document.
- Parameters:
gddIn
- the GDD
init
public void init()
- Some data items need additional initialization. This is not done in the
constructor, for testing purposes. This two-step process enables tests to
create a PdfData structure and do the complex initialization separately.
- Overrides:
init
in class DocData
loadTypefaceMap
public void loadTypefaceMap()
- Load the typefaces from the fontlist into the typefaceMap.
createNewScriptEngine
public javax.script.ScriptEngine createNewScriptEngine()
getColumns
public Columns getColumns()
setColumns
public void setColumns(Columns newColumnsList)
getEolPending
public boolean getEolPending()
setEolPending
public void setEolPending(boolean newEol)
getEolTreatment
public int getEolTreatment()
getEolTreatmentLine
public Source getEolTreatmentLine()
setEolTreatment
public void setEolTreatment(int newEolTreatment,
Source fileAndLine)
getFont
public PdfFont getFont()
setFont
public void setFont(PdfFont newFont)
getFontFace
public java.lang.String getFontFace()
setFontFace
public void setFontFace(java.lang.String newFace,
Source newSource)
getFontSize
public float getFontSize()
setFontSize
public void setFontSize(float newSize,
Source newSource)
getFooter
public Footer getFooter()
setFooter
public void setFooter(Footer newFooter)
setFormatStack
public void setFormatStack(FormatStack formats)
getFormatStack
public FormatStack getFormatStack()
getOutfile
public PdfOutfile getOutfile()
setOutfile
public void setOutfile(PdfOutfile newOutfile)
getTypefaceMap
public TypefaceMap getTypefaceMap()
setTypefaceMap
public void setTypefaceMap(TypefaceMap tfMap)
Copyright © 2008-10 Pacific Data Works LLC