|
Platypus | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pz.platypus.plugin.pdf.commands.PdfPageSize
public class PdfPageSize
Handle changes in page size when specified as a string ( LETTER, LEGAL, A4, etc.)
| Field Summary | |
|---|---|
private java.lang.String |
root
|
| Constructor Summary | |
|---|---|
PdfPageSize()
|
|
| Method Summary | |
|---|---|
(package private) java.util.HashMap<java.lang.String,com.lowagie.text.Rectangle> |
createPageSizeLookupTable()
Load the page names and the corresponding iText rectangles into a hash table. |
void |
flushExistingText(PdfData pdf)
Current text must be flushed to PDF file using the current page size before the new page size takes effect. |
java.lang.String |
getRoot()
get the root of the command. |
int |
process(OutputContextable context,
Token tok,
int tokNum)
method for processing this command in the output plugin. |
| 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 PdfPageSize()
| 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 listpublic void flushExistingText(PdfData pdf)
pdf - java.util.HashMap<java.lang.String,com.lowagie.text.Rectangle> createPageSizeLookupTable()
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 | ||||||||