public class PDForm extends PDXObject implements IContentStreamProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
PDForm.MetaClass
The meta class implementation
|
| Modifier and Type | Field and Description |
|---|---|
static COSName |
CN_Subtype_Form |
static COSName |
DK_BBox |
static COSName |
DK_FormType |
static COSName |
DK_Group |
static COSName |
DK_Matrix |
static COSName |
DK_OPI |
static COSName |
DK_PieceInfo |
static COSName |
DK_PS |
static COSName |
DK_Ref |
static COSName |
DK_Subtype2 |
static PDForm.MetaClass |
META
The meta class instance
|
CN_Type_XObject, DK_ResourcesDK_Subtype, DK_Type| Modifier and Type | Method and Description |
|---|---|
void |
addMarkedContent(byte[] content)
Add new marked content to the stream.
|
COSDictionary |
cosGetPieceInfo()
The piece info dictionary of the document.
|
COSDictionary |
cosSetPieceInfo(COSDictionary dict)
Set the piece info dictionary of the document.
|
PDApplicationData |
getApplicationData(COSName name) |
CDSRectangle |
getBoundingBox()
The bounding box of the receiver form.
|
CSContent |
getContentStream()
The
CSContent contained in this. |
CDSMatrix |
getMatrix()
The form matrix of the receiver form.
|
PDResources |
getResources()
The resource dictionary of the receiver form.
|
Rectangle2D |
getTransformedBBox()
Compute a box according to the PDF specification that completely
encompasses the transformed bounding box of the form.
|
void |
invalidateCaches()
Invalidate all local caches as the base object may have changed.
|
boolean |
isForm()
true if this is a form. |
void |
setApplicationData(COSName name,
PDApplicationData data) |
void |
setBoundingBox(CDSRectangle rect)
Set the bounding box of the receiver.
|
void |
setContentStream(CSContent content)
Assign the new
CSContent to this. |
void |
setMarkedContent(byte[] content)
Set the new variable content of the stream.
|
void |
setMatrix(CDSMatrix matrix)
Set the matrix of the receiver.
|
void |
setResources(PDResources resources) |
cosGetDict, getBytes, isImage, isPostscript, setBytescosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toStringchanged, cosGetArray, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldStringpublic static final PDForm.MetaClass META
public static final COSName CN_Subtype_Form
public static final COSName DK_BBox
public static final COSName DK_Matrix
public static final COSName DK_PieceInfo
public static final COSName DK_FormType
public static final COSName DK_OPI
public static final COSName DK_PS
public static final COSName DK_Ref
public static final COSName DK_Subtype2
public static final COSName DK_Group
public void setApplicationData(COSName name, PDApplicationData data)
public PDApplicationData getApplicationData(COSName name)
public void setBoundingBox(CDSRectangle rect)
rect - The new bounding box of the receiver.public CDSRectangle getBoundingBox()
public CSContent getContentStream()
IContentStreamProviderCSContent contained in this.getContentStream in interface IContentStreamProviderCSContent contained in this.public void setContentStream(CSContent content)
IContentStreamProviderCSContent to this.setContentStream in interface IContentStreamProvidercontent - The new contentpublic boolean isForm()
PDXObjecttrue if this is a form.public void setMarkedContent(byte[] content)
content - The new variable content of the stream.public void setMatrix(CDSMatrix matrix)
matrix - The new matrix of the receiver.public CDSMatrix getMatrix()
public PDResources getResources()
getResources in interface IResourcesProviderpublic void setResources(PDResources resources)
setResources in interface IResourcesProviderpublic Rectangle2D getTransformedBBox()
public void addMarkedContent(byte[] content)
content - The new variable content of the stream.public COSDictionary cosGetPieceInfo()
public COSDictionary cosSetPieceInfo(COSDictionary dict)
dict - The piece info dictionary of the document.public void invalidateCaches()
COSBasedObjectinvalidateCaches in class COSBasedObjectCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.