com.pdfjet
Class PDFobj

java.lang.Object
  extended by com.pdfjet.PDFobj

public class PDFobj
extends java.lang.Object

Used to create Java or .NET objects that represent the objects in PDF document. See the PDF specification for more information.


Constructor Summary
PDFobj(int offset)
          Used to create Java or .NET objects that represent the objects in PDF document.
 
Method Summary
 void addContent(byte[] content, java.util.Map<java.lang.Integer,PDFobj> objects)
           
 Font addFontResource(CoreFont coreFont, java.util.Map<java.lang.Integer,PDFobj> objects)
           
 byte[] getData()
          Returns the uncompressed stream data.
 java.util.List<java.lang.String> getDict()
          Returns the object dictionary.
 int getNumber()
           
 float[] getPageSize()
           
 java.lang.String getValue(java.lang.String key)
          Returns the dictionary value for the specified key.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFobj

public PDFobj(int offset)
Used to create Java or .NET objects that represent the objects in PDF document. See the PDF specification for more information. Also see Example_19.

Parameters:
offset - the object offset in the offsets table.
Method Detail

getNumber

public int getNumber()

getDict

public java.util.List<java.lang.String> getDict()
Returns the object dictionary.

Returns:
the object dictionary.

getData

public byte[] getData()
Returns the uncompressed stream data.

Returns:
the uncompressed stream data.

getValue

public java.lang.String getValue(java.lang.String key)
Returns the dictionary value for the specified key.

Parameters:
key - the specified key.
Returns:
the value.

addContent

public void addContent(byte[] content,
                       java.util.Map<java.lang.Integer,PDFobj> objects)

getPageSize

public float[] getPageSize()

addFontResource

public Font addFontResource(CoreFont coreFont,
                            java.util.Map<java.lang.Integer,PDFobj> objects)