Public Member Functions | |
PDFOutput (OutputStream os) throws IOException | |
Protected Member Functions | |
void | write (PDFObject ob) throws IOException |
void | close () throws IOException |
void | writeblock (int firstid, Vector block) throws IOException |
Protected Attributes | |
OutputStream | os |
ByteArrayOutputStream | baos |
int | offset |
Vector | offsets |
PDFObject | rootID |
PDFObject | infoID |
Eric Z. Beard, ericzbeard@hotmail.com
|
This creates a PDF OutputStream
|
|
This closes the Stream, writing the xref table |
|
This method writes a PDFObject to the stream.
|
|
Writes a block of references to the PDF file
|
|
This is the OutputStream used to write each object to. We use a separate stream, because we need to keep track of how many bytes have been written for each object for the xref table to work correctly. |
|
This is used to track the /Info object (info) |
|
This is the current position within the stream |
|
This vector contains offsets of each object |
|
This is the actual OutputStream used to write to. |
|
This is used to track the /Root object (catalog) |