|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pz.platypus.plugin.pdf.commands.PdfColumnCount
public class PdfColumnCount
Change the number of columns in a document
Field Summary | |
---|---|
private java.lang.String |
root
|
Constructor Summary | |
---|---|
PdfColumnCount()
|
Method Summary | |
---|---|
(package private) float |
computeVerticalSkip(float yPosition,
PdfData pdd)
Computes how much vertical distance there is between the current baseline and the top margin. |
(package private) void |
flushExistingText(PdfOutfile outfile)
Before changing columns, we need to flush any existing text to the PDF file. |
java.lang.String |
getRoot()
get the root of the command. |
int |
process(IOutputContext context,
Token tok,
int tokNum)
method for processing this command in the output plugin. |
(package private) void |
setupNewColumns(int newColumnCount,
PdfData pdd)
Set up the new columns starting wherever we are on the page. |
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 PdfColumnCount()
Method Detail |
---|
public int process(IOutputContext context, Token tok, int tokNum)
IOutputCommand
process
in interface IOutputCommand
context
- the context/state of the output documenttok
- the command token as found in the token streamtokNum
- the number of the token in the token listvoid setupNewColumns(int newColumnCount, PdfData pdd)
newColumnCount
- new number of columns (guaranteed != to current number)pdd
- the PDF document datafloat computeVerticalSkip(float yPosition, PdfData pdd)
yPosition
- Y position of the current writing pointpdd
- PDF document data
void flushExistingText(PdfOutfile outfile)
outfile
- the outfile that emits the PDF documentpublic java.lang.String getRoot()
IOutputCommand
getRoot
in interface IOutputCommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |