Class DictionaryObject
java.lang.Object
com.orsonpdf.PDFObject
com.orsonpdf.DictionaryObject
- Direct Known Subclasses:
GraphicsStateDictionary
A PDF object that is represented by a dictionary. This is used to
represent the
Catalog and the Outlines (the latter
being a placeholder implementation only since we don't presently generate
outlines).-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class PDFObject
getGeneration, getNumber, getReference, toPDFBytes
-
Field Details
-
dictionary
-
-
Constructor Details
-
DictionaryObject
DictionaryObject(int number, String type) Creates a new instance.- Parameters:
number- the object number.type- the object type (for example, "/Catalog").
-
-
Method Details
-
put
-
remove
-
getObjectBytes
public byte[] getObjectBytes()Returns the bytes that go between the 'obj' and 'endobj' in the PDF output for this object.- Specified by:
getObjectBytesin classPDFObject- Returns:
- A byte array.
-