|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pz.platypus.plugin.pdf.TextIndenter
public class TextIndenter
Calculates the indent that should be applied to a column of text.
Field Summary | |
---|---|
(package private) PdfData |
pdd
|
(package private) Token |
tok
|
Constructor Summary | |
---|---|
TextIndenter(Token t,
PdfData pd)
|
Method Summary | |
---|---|
(package private) float |
calculateColWidth()
Gets the width of the current column, or if the current column has been set artificially to force a new page, then compute the width of column 0. |
float |
calculateIndent()
Extracts the new indent amount from the token and verifies its value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
Token tok
PdfData pdd
Constructor Detail |
---|
public TextIndenter(Token t, PdfData pd)
Method Detail |
---|
public float calculateIndent() throws InvalidCommandParameterException
InvalidCommandParameterException
- if indent value is not validfloat calculateColWidth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |