| |
|
| java.lang.Object de.intarsys.pdf.cos.COSBasedObject de.intarsys.pdf.pd.PDObject de.intarsys.pdf.pd.PDPageNode
All known Subclasses: de.intarsys.pdf.pd.PDPageTree, de.intarsys.pdf.pd.PDPage,
PDPageNode | abstract public class PDPageNode extends PDObject (Code) | | An abstract superclass for pages and page tree nodes
|
META | final public static MetaClass META(Code) | | The meta class instance
|
PDPageNode | protected PDPageNode(COSObject object)(Code) | | Create the receiver class from an already defined
COSDictionary .
NEVER use the constructor directly.
Parameters: object - the PDDocument containing the new object |
collectAnnotations | abstract protected void collectAnnotations(List annotations)(Code) | | |
dispose | public void dispose()(Code) | | |
getCount | abstract public int getCount()(Code) | | The total number of pages represented by this node.
The total number of pages represented by this node. |
getCropBox | public CDSRectangle getCropBox()(Code) | | The rectangle in user space coordinates defining the visible region of
the page. User space is measured in 1/72 inch initially
The rectangle in user space coordinates defining the visibleregion of the page |
getFirstNode | abstract public PDPageNode getFirstNode()(Code) | | Get the first node within the receiver or the receiver if it is not a
collection (page tree).
This may return null if the receiver is an empty collection.
Get the first node within the receiver or the receiver if it isnot a collection (page tree). |
getFirstPage | abstract public PDPage getFirstPage()(Code) | | Get the first page (leaf node) within the receiver hierarchy.
Get the first page (leaf node) within the receiver hierarchy. |
getLastNode | abstract public PDPageNode getLastNode()(Code) | | Get the last node within the receiver or the receiver if it is not a
collection (page tree).
This may return null if the receiver is an empty collection.
Get the last node within the receiver or the receiver if it isnot a collection (page tree). |
getLastPage | public PDPage getLastPage()(Code) | | Get the last page (leaf node) within the receiver hierarchy.
Get the last page (leaf node) within the receiver hierarchy. |
getMediaBox | public CDSRectangle getMediaBox()(Code) | | The rectangle in user space coordinates defining the physical page
boundaries. user space is measured in 1/72 inch initially
The rectangle in user space coordinates defining the physicalpage boundaries |
getNextNode | public PDPageNode getNextNode()(Code) | | Get the next node after the receiver.
Get the next node after the receiver. |
getNodeIndex | public int getNodeIndex()(Code) | | The zero based index of this within the document.
The zero based index of this within the document. |
getPageAt | public PDPage getPageAt(int index)(Code) | | The page at index within the receivers subtree.
Parameters: index - The page index The page at index within the receivers subtree. |
getParent | public PDPageTree getParent()(Code) | | The parent node if available. The root tree node of the document has no
parent.
The parent node if available. |
getPreviousNode | public PDPageNode getPreviousNode()(Code) | | The previous node .
The previous node. |
getRotate | public int getRotate()(Code) | | The number of degrees by which the page should be rotated clockwise when
displayed or printed. The value must be a multiple of 90. Default value:
0.
Notice: the value is inheritable
Rotation as a multiple of 90 |
invalidateCaches | public void invalidateCaches()(Code) | | |
isPage | abstract public boolean isPage()(Code) | | Answer true if this is a single page node.
Answer true if this is a single page node. |
setCropBox | public void setCropBox(CDSRectangle rect)(Code) | | Set the rectangle in user space coordinates defining the visible region
of the page. user space is measured in 1/72 inch initially
Parameters: rect - The rectangle defining the visible page region |
setGenericParent | public void setGenericParent(PDObject newParent)(Code) | | |
setMediaBox | public void setMediaBox(CDSRectangle rect)(Code) | | Set the rectangle in user space coordinates defining the physical page
boundaries. user space is measured in 1/72 inch initially
Parameters: rect - The rectangle defining the physical page boundaries |
setParent | protected void setParent(PDPageTree parent)(Code) | | Sets the parent.
Parameters: parent - The parent to set |
setRotate | public void setRotate(int rotate)(Code) | | The number of degrees by which the page should be rotated clockwise when
displayed or printed. The value must be a multiple of 90. If a value of 0
is set, which is the default, the field will be cleared.
Notice: This object and its children are affected on a change!
Parameters: rotate - A multiple of 90, the value is not checked for a legalvalue |
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)
|
|
|
|