|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.pd.PDObject
de.intarsys.pdf.pd.PDXObject
de.intarsys.pdf.pd.PDForm
public class PDForm
A form object. A form object specifies a reusable graphical object (not an AcroForm).
| Nested Class Summary | |
|---|---|
static class |
PDForm.MetaClass
The meta class implementation |
| Field Summary | |
|---|---|
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_Subtype2
|
static PDForm.MetaClass |
META
The meta class instance |
| Fields inherited from class de.intarsys.pdf.pd.PDXObject |
|---|
CN_Type_XObject, DK_Resources |
| Fields inherited from class de.intarsys.pdf.pd.PDObject |
|---|
DK_Subtype, DK_Type |
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class de.intarsys.pdf.pd.PDXObject |
|---|
cosGetDict, getBytes, isImage, isPostscript, setBytes |
| Methods inherited from class de.intarsys.pdf.pd.PDObject |
|---|
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toString |
| Methods inherited from class de.intarsys.pdf.cos.COSBasedObject |
|---|
changed, cosGetArray, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public 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_Subtype2
public static final COSName DK_Group
| Method Detail |
|---|
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.
isForm in class 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()
COSBasedObject
invalidateCaches in class COSBasedObject
|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||