|
Platypus | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pz.platypus.plugin.html.commands.HtmlFsize
public class HtmlFsize
Implementation of fsize (in font family of commands) for PDF plugin
| Field Summary | |
|---|---|
private java.lang.String |
root
|
| Constructor Summary | |
|---|---|
HtmlFsize()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getRoot()
get the root of the command. |
(package private) boolean |
inEmptyParagraph(com.lowagie.text.Paragraph iTPara)
Sees if any text has been written to the current paragraph. |
int |
process(OutputContextable context,
Token tok,
int tokNum)
method for processing this command in the output plugin. |
private void |
updateLeading(OutputContextable context,
Token tok,
int tokNum,
float newFontSize)
Updates the leading by running the command PdfLeading with the new value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String root
| Constructor Detail |
|---|
public HtmlFsize()
| Method Detail |
|---|
public int process(OutputContextable context,
Token tok,
int tokNum)
OutputCommandable
process in interface OutputCommandablecontext - the context/state of the output documenttok - the command token as found in the token streamtokNum - the number of the token in the token list
private void updateLeading(OutputContextable context,
Token tok,
int tokNum,
float newFontSize)
context - context of current token, needed by PdfLeadingtok - the current token for font size, from which to extract data for the leading commandtokNum - the number of the font size tokennewFontSize - the font size we're moving to.boolean inEmptyParagraph(com.lowagie.text.Paragraph iTPara)
iTPara - the current paragraph
public java.lang.String getRoot()
OutputCommandable
getRoot in interface OutputCommandable
|
Platypus | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||