java.lang.Objectcom.pdfjet.PDFobj
public class PDFobj
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 |
---|
public PDFobj(int offset)
offset
- the object offset in the offsets table.Method Detail |
---|
public int getNumber()
public java.util.List<java.lang.String> getDict()
public byte[] getData()
public java.lang.String getValue(java.lang.String key)
key
- the specified key.
public void addContent(byte[] content, java.util.Map<java.lang.Integer,PDFobj> objects)
public float[] getPageSize()
public Font addFontResource(CoreFont coreFont, java.util.Map<java.lang.Integer,PDFobj> objects)