| |
|
| java.lang.Object org.pdfbox.pdmodel.graphics.xobject.PDXObject org.pdfbox.pdmodel.graphics.xobject.PDXObjectForm
Method Summary | |
public int | getFormType() This will get the form type, currently 1 is the only form type. | public PDResources | getResources() This will get the resources at this page and not look up the hierarchy. | public void | setFormType(int formType) Set the form type. | public void | setResources(PDResources resources) This will set the resources for this page. |
SUB_TYPE | final public static String SUB_TYPE(Code) | | The XObject subtype.
|
PDXObjectForm | public PDXObjectForm(PDStream formStream)(Code) | | Standard constuctor.
Parameters: formStream - The XObject is passed as a COSStream. |
PDXObjectForm | public PDXObjectForm(COSStream formStream)(Code) | | Standard constuctor.
Parameters: formStream - The XObject is passed as a COSStream. |
getFormType | public int getFormType()(Code) | | This will get the form type, currently 1 is the only form type.
The form type. |
getResources | public PDResources getResources()(Code) | | This will get the resources at this page and not look up the hierarchy.
This attribute is inheritable, and findResources() should probably used.
This will return null if no resources are available at this level.
The resources at this level in the hierarchy. |
setFormType | public void setFormType(int formType)(Code) | | Set the form type.
Parameters: formType - The new form type. |
setResources | public void setResources(PDResources resources)(Code) | | This will set the resources for this page.
Parameters: resources - The new resources for this page. |
|
|
|