|
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.PdfDump
public class PdfDump
Dumps various values to the console (for debugging purposes)
| Field Summary | |
|---|---|
private java.lang.String |
root
|
| Constructor Summary | |
|---|---|
PdfDump()
|
|
| Method Summary | |
|---|---|
(package private) void |
doHeading(GDD gdd,
Token tok)
Print the heading before the dump that states the location in the file of the [dump: command. |
(package private) void |
dumpAll(GDD gdd,
PdfData pdf,
Token tok,
boolean doHeading)
Dump all available info. |
(package private) void |
dumpCommandLine(GDD gdd,
Token tok,
boolean doHeading)
Dump the command line and related data. |
(package private) void |
dumpPage(GDD gdd,
PdfData pdf,
Token tok,
boolean doHeading)
Dump the page dimensions and related data. |
(package private) void |
dumpParagraph(GDD gdd,
PdfData pdf,
Token tok,
boolean doHeading)
Dump the paragraph dimensions and related data. |
(package private) void |
dumpUserStrings(GDD gdd,
Token tok,
boolean doHeading)
Dump the user strings, one k,v pair per line. |
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 PdfDump()
| 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
void dumpAll(GDD gdd,
PdfData pdf,
Token tok,
boolean doHeading)
gdd - the GDD containing the needed literalspdf - the PDF data at this point in the executiontok - the token of the dump commanddoHeading - should the heading be printed? (that is, is this the first element to
be dumped, if part of a series. True = print heading; false = don't print it.
void dumpCommandLine(GDD gdd,
Token tok,
boolean doHeading)
gdd - the GDD containing the needed literalstok - the token of the dump commanddoHeading - should the heading be printed? (that is, is this the first element to
be dumped, if part of a series. True = print heading; false = don't print it.
void dumpPage(GDD gdd,
PdfData pdf,
Token tok,
boolean doHeading)
gdd - the GDD containing the needed literalspdf - the PDF data at this point in the executiontok - the token of the dump commanddoHeading - should the heading be printed? (that is, is this the first element to
be dumped, if part of a series. True = print heading; false = don't print it.
void dumpParagraph(GDD gdd,
PdfData pdf,
Token tok,
boolean doHeading)
gdd - the GDD containing the needed literalspdf - the PDF data at this point in the executiontok - the token of the dump commanddoHeading - should the heading be printed? (that is, is this the first element to
be dumped, if part of a series. True = print heading; false = don't print it.
void dumpUserStrings(GDD gdd,
Token tok,
boolean doHeading)
gdd - the GDD containing the needed literalstok - the token of the dump commanddoHeading - should the heading be printed? (that is, is this the first element to
be dumped, if part of a series. True = print heading; false = don't print it.
void doHeading(GDD gdd,
Token tok)
gdd - GDD, for access to literalstok - token, for access to time and place in file where command encountered.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 | ||||||||