Public Member Functions | |
PDFObject (String type) | |
String | getType () |
final int | getSerialID () |
final PDFDocument | getPDFDocument () |
abstract void | write (OutputStream os) throws IOException |
final void | writeStart (OutputStream os) throws IOException |
final void | writeEnd (OutputStream os) throws IOException |
String | toString () |
Static Public Member Functions | |
String | toArray (Vector v) |
Protected Attributes | |
int | objser |
PDFDocument | pdfDocument |
Eric Z. Beard, ericzbeard@hotmail.com
|
This is usually called by extensors to this class, and sets the PDF Object Type |
|
Returns the PDF document this object belongs to.
|
|
Returns the unique serial number of this object.
|
|
Returns the PDF Type of this object
Reimplemented in gnu::jpdf::PDFFont. |
|
This utility method returns a String containing an array definition based on a Vector containing PDFObjects
|
|
Returns the unique serial number in PDF format
|
|
Writes the object to the output stream. This method must be overidden. Note: It should not write any other objects, even if they are it's Kids, as they will be written by the calling routine.
Implemented in gnu::jpdf::PDFAnnot, gnu::jpdf::PDFBorder, gnu::jpdf::PDFCatalog, gnu::jpdf::PDFFont, gnu::jpdf::PDFImage, gnu::jpdf::PDFInfo, gnu::jpdf::PDFOutline, gnu::jpdf::PDFPage, gnu::jpdf::PDFPage::procset, gnu::jpdf::PDFPageList, and gnu::jpdf::PDFStream. |
|
The write method should call this after writing anything to the OutputStream. This will send the standard footer for each object. Note: There are a few rare cases where this method is not called.
|
|
The write method should call this before writing anything to the OutputStream. This will send the standard header for each object. Note: There are a few rare cases where this method is not called.
|
|
This is the unique serial number for this object. |
|
This allows any PDF object to refer to the document being constructed. |