|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pz.platypus.plugin.common.DocData
org.pz.platypus.plugin.html.HtmlData
public class HtmlData
Container class for all the state of the HTML document
Nested Class Summary | |
---|---|
(package private) static class |
HtmlData.Value
Inner class containing the value of the data item, plus the line at which it was las changed. |
Field Summary | |
---|---|
private HtmlData.Value |
alignment
|
private HtmlData.Value |
columnCount
|
private HtmlColumns |
columns
|
private int |
currColumn
|
private boolean |
eolPending
|
private HtmlData.Value |
eolTreatment
|
private java.lang.String |
fface
|
private HtmlData.Value |
firstLineIndent
|
private HtmlFont |
font
|
private HtmlFooter |
footer
|
private GDD |
gdd
|
(package private) HtmlDocContext |
htmlDocContext
|
private boolean |
inCode
|
private HtmlData.Value |
leading
|
private HtmlData.Value |
lineHeight
|
private HtmlData.Value |
marginBottom
|
private HtmlData.Value |
marginLeft
|
private HtmlData.Value |
marginRight
|
private HtmlData.Value |
marginsMirrored
|
private HtmlData.Value |
marginTop
|
private HtmlData.Value |
noIndent
|
private HtmlData.Value |
pageHeight
|
private int |
pageNumber
|
private HtmlData.Value |
pageWidth
|
private HtmlData.Value |
paragraphIndentRight
|
private HtmlData.Value |
paragraphSkip
|
private HtmlData.Value |
pixelsPerInch
|
private HtmlData.Value |
strikethru
|
private TypefaceMap |
typefaceMap
|
private HtmlData.Value |
userSpecifiedColumnWidth
|
Fields inherited from class org.pz.platypus.plugin.common.DocData |
---|
underline |
Constructor Summary | |
---|---|
HtmlData(GDD gddIn,
HtmlCommandTable commandTable)
Initializes the state of the PDF document. |
Method Summary | |
---|---|
int |
getEolTreatment()
|
float |
getFirstLineIndent()
|
HtmlFont |
getFont()
|
java.lang.String |
getFontFace()
|
float |
getFontSize()
|
HtmlFooter |
getFooter()
|
GDD |
getGdd()
|
HtmlDocContext |
getHtmlDocContext()
|
float |
getLeading()
|
Source |
getLeadingLine()
|
float |
getLineHeight()
|
Source |
getLineHeightLine()
|
float |
getMarginBottom()
|
Source |
getMarginBottomLine()
|
float |
getMarginLeft()
|
Source |
getMarginLeftLine()
|
float |
getMarginRight()
|
Source |
getMarginRightLine()
|
float |
getMarginTop()
|
Source |
getMarginTopLine()
|
Source |
getNoIndentLine()
|
float |
getPageHeight()
|
Source |
getPageHeightLine()
|
int |
getPageNumber()
|
float |
getPageWidth()
|
float |
getPixelsPerInch()
|
TypefaceMap |
getTypefaceMap()
|
float |
getUserSpecifiedColumnWidth()
|
void |
init()
Some data items need additional initialization. |
boolean |
isInCode()
|
void |
setColumnCount(int newCount,
Source fileAndLine)
|
void |
setColumns(HtmlColumns newColumnsList)
|
void |
setCurrColumn(int newColNumber)
|
void |
setFirstLineIndent(float newFirstLineIndent,
Source fileAndLine)
|
void |
setFontFace(java.lang.String newFontFace,
Source source)
|
void |
setFontSize(float newFontSize,
Source newSource)
|
void |
setFooter(HtmlFooter newFooter)
|
void |
setHtmlDocContext(HtmlDocContext htmlDocContext)
|
void |
setInCode(boolean newState)
|
void |
setLeading(float newLeading,
Source fileAndLine)
|
void |
setLineHeight(float newLineHeight,
Source fileAndLine)
|
void |
setMarginBottom(float val,
Source fileAndLine)
|
void |
setMarginLeft(float val,
Source fileAndLine)
|
void |
setMarginRight(float val,
Source fileAndLine)
|
void |
setMarginTop(float val,
Source fileAndLine)
|
void |
setNoIndent(boolean trueFalse,
Source fileAndLine)
|
void |
setPageHeight(float val,
Source fileAndLine)
|
void |
setPageWidth(float val,
Source fileAndLine)
|
void |
setUserSpecifiedColumnWidth(float newWidth,
Source fileAndLine)
|
(package private) void |
setValue(HtmlData.Value field,
boolean val,
Source fileAndLine,
java.lang.String name)
Sets the new boolean value, updates line number, and table in systemStrings |
(package private) void |
setValue(HtmlData.Value field,
float val,
Source fileAndLine,
java.lang.String name)
Sets the new float value, updates line number, and table in systemStrings |
(package private) void |
setValue(HtmlData.Value field,
int val,
Source fileAndLine,
java.lang.String name)
Sets the new int value, updates line number, and table in systemStrings |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pz.platypus.interfaces.IOutputContext |
---|
inCodeSection, setLineNumberLast, setLineNumberSkip |
Field Detail |
---|
HtmlDocContext htmlDocContext
private java.lang.String fface
private GDD gdd
private boolean inCode
private HtmlData.Value alignment
private HtmlData.Value columnCount
private HtmlData.Value userSpecifiedColumnWidth
private HtmlColumns columns
private int currColumn
private boolean eolPending
private HtmlData.Value eolTreatment
private HtmlData.Value firstLineIndent
private HtmlFont font
private HtmlFooter footer
private HtmlData.Value leading
private HtmlData.Value lineHeight
private HtmlData.Value marginBottom
private HtmlData.Value marginLeft
private HtmlData.Value marginRight
private HtmlData.Value marginTop
private HtmlData.Value marginsMirrored
private HtmlData.Value noIndent
private HtmlData.Value pageHeight
private int pageNumber
private HtmlData.Value pageWidth
private HtmlData.Value paragraphIndentRight
private HtmlData.Value paragraphSkip
private HtmlData.Value pixelsPerInch
private HtmlData.Value strikethru
private TypefaceMap typefaceMap
Constructor Detail |
---|
public HtmlData(GDD gddIn, HtmlCommandTable commandTable)
gddIn
- the GDDcommandTable
- Method Detail |
---|
public HtmlDocContext getHtmlDocContext()
public void setHtmlDocContext(HtmlDocContext htmlDocContext)
public void setFontSize(float newFontSize, Source newSource)
public void setFontFace(java.lang.String newFontFace, Source source)
public void init()
init
in class DocData
void setValue(HtmlData.Value field, float val, Source fileAndLine, java.lang.String name)
field
- the Value field to be updatedval
- the new floating-point valuefileAndLine
- the file and line number where the change occurredname
- the key to look up the string in systemStringsvoid setValue(HtmlData.Value field, int val, Source fileAndLine, java.lang.String name)
field
- the Value field to be updatedval
- the new integer valuefileAndLine
- the file and line number where the change occurredname
- the key to look up the string in systemStringsvoid setValue(HtmlData.Value field, boolean val, Source fileAndLine, java.lang.String name)
field
- the Value field to be updatedval
- the new floating-point valuefileAndLine
- the file and line number where the change occurredname
- the key to look up the string in systemStringspublic void setColumnCount(int newCount, Source fileAndLine)
setColumnCount
in class DocData
public void setColumns(HtmlColumns newColumnsList)
public void setCurrColumn(int newColNumber)
setCurrColumn
in class DocData
public int getEolTreatment()
public float getFirstLineIndent()
getFirstLineIndent
in class DocData
public void setFirstLineIndent(float newFirstLineIndent, Source fileAndLine)
setFirstLineIndent
in class DocData
public HtmlFont getFont()
public java.lang.String getFontFace()
public float getFontSize()
public HtmlFooter getFooter()
public void setFooter(HtmlFooter newFooter)
public GDD getGdd()
getGdd
in interface IOutputContext
getGdd
in class DocData
public boolean isInCode()
public void setInCode(boolean newState)
public float getLeading()
getLeading
in class DocData
public Source getLeadingLine()
getLeadingLine
in class DocData
public void setLeading(float newLeading, Source fileAndLine)
setLeading
in class DocData
public float getLineHeight()
getLineHeight
in class DocData
public Source getLineHeightLine()
getLineHeightLine
in class DocData
public void setLineHeight(float newLineHeight, Source fileAndLine)
setLineHeight
in class DocData
public float getMarginBottom()
getMarginBottom
in class DocData
public Source getMarginBottomLine()
getMarginBottomLine
in class DocData
public void setMarginBottom(float val, Source fileAndLine)
setMarginBottom
in class DocData
public float getMarginLeft()
getMarginLeft
in class DocData
public Source getMarginLeftLine()
getMarginLeftLine
in class DocData
public void setMarginLeft(float val, Source fileAndLine)
setMarginLeft
in class DocData
public float getMarginRight()
getMarginRight
in class DocData
public Source getMarginRightLine()
getMarginRightLine
in class DocData
public void setMarginRight(float val, Source fileAndLine)
setMarginRight
in class DocData
public float getMarginTop()
getMarginTop
in class DocData
public Source getMarginTopLine()
getMarginTopLine
in class DocData
public void setMarginTop(float val, Source fileAndLine)
setMarginTop
in class DocData
public Source getNoIndentLine()
getNoIndentLine
in class DocData
public void setNoIndent(boolean trueFalse, Source fileAndLine)
setNoIndent
in class DocData
public float getPageHeight()
getPageHeight
in class DocData
public Source getPageHeightLine()
getPageHeightLine
in class DocData
public void setPageHeight(float val, Source fileAndLine)
setPageHeight
in class DocData
public int getPageNumber()
getPageNumber
in class DocData
public float getPageWidth()
getPageWidth
in class DocData
public void setPageWidth(float val, Source fileAndLine)
setPageWidth
in class DocData
public float getPixelsPerInch()
getPixelsPerInch
in class DocData
public TypefaceMap getTypefaceMap()
public float getUserSpecifiedColumnWidth()
getUserSpecifiedColumnWidth
in class DocData
public void setUserSpecifiedColumnWidth(float newWidth, Source fileAndLine)
setUserSpecifiedColumnWidth
in class DocData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |