| java.lang.Object de.intarsys.pdf.cos.COSBasedObject de.intarsys.pdf.pd.PDObject de.intarsys.pdf.pd.PDXObject
All known Subclasses: de.intarsys.pdf.pd.PDPostScript, de.intarsys.pdf.pd.PDImage, de.intarsys.pdf.pd.PDForm,
PDXObject | abstract public class PDXObject extends PDObject (Code) | | The representation of a XObject. A XObject defines a strokable object. The
content is defined in the underlying content stream.
|
META | final public static MetaClass META(Code) | | The meta class instance
|
PDXObject | protected PDXObject(COSObject object)(Code) | | Create the receiver class from an already defined
COSStream .
NEVER use the constructor directly.
Parameters: object - the PDDocument containing the new object |
getBytes | public byte[] getBytes()(Code) | | The data representing the XObject
The data representing the XObject |
isForm | public boolean isForm()(Code) | | true if this is a form.
true if this is a form. |
isImage | public boolean isImage()(Code) | | true if this is an image.
true if this is an image. |
isPostscript | public boolean isPostscript()(Code) | | true if this is a postscript object.
true if this is a postscript object. |
setBytes | public void setBytes(byte[] bytes)(Code) | | Set the data representing the XObject
Parameters: bytes - The data representing the XObject |
Methods inherited from de.intarsys.pdf.cos.COSBasedObject | public void changed(COSObject pObject, Object slot, Object oldValue, Object newValue)(Code)(Java Doc) public COSArray cosGetArray()(Code)(Java Doc) public COSDictionary cosGetDict()(Code)(Java Doc) public COSDocument cosGetDoc()(Code)(Java Doc) public COSObject cosGetField(COSName name)(Code)(Java Doc) public COSObject cosGetObject()(Code)(Java Doc) public COSStream cosGetStream()(Code)(Java Doc) public boolean cosHasField(COSName name)(Code)(Java Doc) public COSObject cosRemoveField(COSName name)(Code)(Java Doc) public COSObject cosSetField(COSName name, COSObject cosObj)(Code)(Java Doc) public Object getAttribute(Object key)(Code)(Java Doc) public boolean getFieldBoolean(COSName name, boolean defaultValue)(Code)(Java Doc) public CDSDate getFieldDate(COSName name, CDSDate defaultValue)(Code)(Java Doc) public float getFieldFixed(COSName name, float defaultValue)(Code)(Java Doc) public float[] getFieldFixedArray(COSName name, float[] defaultValue)(Code)(Java Doc) public int getFieldInt(COSName name, int defaultValue)(Code)(Java Doc) public String getFieldMLString(COSName name, String defaultValue)(Code)(Java Doc) public String getFieldString(COSName name, String defaultValue)(Code)(Java Doc) protected void initializeFromCos()(Code)(Java Doc) protected void initializeFromScratch()(Code)(Java Doc) public void invalidateCaches()(Code)(Java Doc) public Object removeAttribute(Object key)(Code)(Java Doc) public Object setAttribute(Object key, Object value)(Code)(Java Doc) public void setFieldBoolean(COSName name, boolean value)(Code)(Java Doc) public void setFieldFixed(COSName name, float value)(Code)(Java Doc) protected void setFieldFixedArray(COSName key, float[] array)(Code)(Java Doc) public void setFieldInt(COSName name, int value)(Code)(Java Doc) public void setFieldMLString(COSName name, String value)(Code)(Java Doc) public void setFieldName(COSName name, String value)(Code)(Java Doc) public void setFieldObject(COSName name, COSBasedObject value)(Code)(Java Doc) public void setFieldString(COSName name, String value)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|