|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplatypus.Outfile
platypus.pdf.OutfilePdf
public class OutfilePdf
Handles document creation/termination and command routines in iText library
| Field Summary | |
|---|---|
private java.lang.String |
filename
|
private GDD.FileType |
fileType
the type of file: PDF, HTML, etc. |
private GDD |
gdd
|
(package private) com.lowagie.text.pdf.ColumnText |
iTColumn
|
(package private) com.lowagie.text.pdf.PdfContentByte |
iTContentByte
for writing to columns |
com.lowagie.text.Document |
iTDocument
some commands cannot occur after any text has been ouput. |
(package private) com.lowagie.text.Paragraph |
iTPara
|
(package private) com.lowagie.text.pdf.PdfWriter |
iTWriter
|
private Literals |
lits
|
private boolean |
openStatus
is the file open? so, true = open; false = not open |
| Fields inherited from class platypus.Outfile |
|---|
textProcessedFlag |
| Constructor Summary | |
|---|---|
OutfilePdf()
|
|
| Method Summary | |
|---|---|
void |
addColumnsContentToDocument()
Adds any material in the columns to the document. |
int |
addParagraph()
Adds paragraph to document. |
void |
close()
iText-required function at end of processing. |
void |
doNewParagraph()
|
void |
emitText(java.lang.String s)
Two actions can result from an item in an input file: it can set the value of a variable (such as margins, for example) or result in text that must be emitted to the output file stream. |
void |
FTOsetDocument(com.lowagie.text.Document newDoc)
|
java.lang.String |
getFilename()
|
GDD.FileType |
getFileType()
|
private void |
indentParagraphFirstLine(float indentPoints)
Indent the first line of the paragraph by indentPoints This code requires explanation. |
boolean |
isOpen()
|
boolean |
lowLevelPdfNewPage()
|
int |
newPage()
Creates a new page in the document. |
void |
newParagraph()
create a new paragraph in iText and indent the first line as specified. |
int |
open()
creates and opens iText document into which we write the ouput. |
void |
setFilename(java.lang.String newName)
|
void |
setFileType(GDD.FileType newFileType)
|
void |
setOpenStatus(boolean newStatus)
|
| Methods inherited from class platypus.Outfile |
|---|
hasTextBeenProcessed, setTextProcessedFlag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String filename
private GDD.FileType fileType
private boolean openStatus
public com.lowagie.text.Document iTDocument
com.lowagie.text.Paragraph iTPara
com.lowagie.text.pdf.PdfWriter iTWriter
com.lowagie.text.pdf.PdfContentByte iTContentByte
com.lowagie.text.pdf.ColumnText iTColumn
private final GDD gdd
private final Literals lits
| Constructor Detail |
|---|
public OutfilePdf()
| Method Detail |
|---|
public int open()
public int addParagraph()
addParagraph in class Outfilepublic int newPage()
newPage in class Outfilepublic boolean lowLevelPdfNewPage()
lowLevelPdfNewPage in class Outfilepublic void doNewParagraph()
doNewParagraph in class Outfilepublic void newParagraph()
private void indentParagraphFirstLine(float indentPoints)
indentPoints - amount to indent the first linepublic void close()
close in class Outfilepublic void addColumnsContentToDocument()
addColumnsContentToDocument in class Outfilepublic void emitText(java.lang.String s)
emitText in class Outfiles - text string to send to outputpublic void setFilename(java.lang.String newName)
setFilename in class Outfilepublic java.lang.String getFilename()
public GDD.FileType getFileType()
getFileType in class Outfilepublic void setFileType(GDD.FileType newFileType)
setFileType in class Outfilepublic boolean isOpen()
isOpen in class Outfilepublic void setOpenStatus(boolean newStatus)
public void FTOsetDocument(com.lowagie.text.Document newDoc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||