Java Doc for PDPage.java in  » PDF » jPod » de » intarsys » pdf » pd » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » PDF » jPod » de.intarsys.pdf.pd 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.intarsys.pdf.cos.COSBasedObject
      de.intarsys.pdf.pd.PDObject
         de.intarsys.pdf.pd.PDPageNode
            de.intarsys.pdf.pd.PDPage

PDPage
public class PDPage extends PDPageNode implements IAdditionalActionSupport,IContentStreamProvider(Code)
A single concrete page in a PDF document.

Inner Class :public static class MetaClass extends PDPageNode.MetaClass

Field Summary
public static  StringCOPY_SUFFIX
    
final public static  COSNameDK_Annots
    
final public static  COSNameDK_Contents
    
final public static  COSNameDK_CropBox
    
final public static  COSNameDK_MediaBox
    
final public static  COSNameDK_Metadata
    
final public static  COSNameDK_PieceInfo
    
final public static  COSNameDK_Resources
    
final public static  MetaClassMETA
    
final public static  SetPAGE_ACTION_TRIGGERS
    

Constructor Summary
protected  PDPage(COSObject object)
     Create the receiver class from an already defined COSDictionary .

Method Summary
public  voidaddAnnotation(PDAnnotation annot)
     Add a PDAnnotation to the collection of annotations on the receiver page.
public  voidaddContentStream(CSContent contentStream)
     Add a CSContent stream to this.
protected  voidbasicSetResourceDict(COSDictionary resourceDict)
    
protected  voidcollectAnnotations(List annotations)
    
public  voidcosAddContents(COSStream content)
    
public  COSObjectcosGetContents()
    
protected  COSNamecosGetExpectedType()
    
public  COSDictionarycosGetPieceInfo()
     The piece info dictionary of the document.
public  voidcosPrependContents(COSStream content)
     Prepend contents to the pages content.
public  COSObjectcosSetContents(COSObject content)
    
public  COSDictionarycosSetPieceInfo(COSDictionary dict)
     Set the piece info dictionary of the document.
Parameters:
  dict - The piece info dictionary of the document.
public  voiddispose()
    
protected  voidgetAcroFormFields(PDObject parent, List result)
     A collection of all PDAcroFormField s that have PDAnnotation s on the receiver that are children of parent.
public  PDAdditionalActionsgetAdditionalActions()
    
public  ListgetAnnotations()
     Get a list of all PDAnnotation objects that are referenced in this page.
public  PDApplicationDatagetApplicationData(String name)
     The PDApplicationData associated with name on the page.
Parameters:
  name - The name of the PDApplicationData to lookup.
public  CSContentgetContentStream()
     The CSContent defining the visual content of the page.
protected  intgetContentsSize()
    
public  intgetCount()
    
public  PDAnnotationgetFirstAnnotation()
    
public  PDPageNodegetFirstNode()
    
public  PDPagegetFirstPage()
    
public  PDAnnotationgetLastAnnotation()
    
public  PDPageNodegetLastNode()
    
public  PDPagegetLastPage()
    
public  PDAnnotationgetNextAnnotation(PDAnnotation annot)
     The PDAnnotation following the given PDAnnotation annot or null, if annot was the last one in the list or does't exist on this page.
public  PDPagegetNextPage()
     The next page after the receiver.
public  PDPagegetPageAt(int index)
    
public  PDAnnotationgetPreviousAnnotation(PDAnnotation annot)
     Returns the PDAnnotation preceding the given PDAnnotation annot or null, if annot was the first one in the list or does't exist on this page.
public  PDPagegetPreviousPage()
     Get the previous page before the receiver.
public  PDResourcesgetResources()
     return a PDCResourceDict.
public  SetgetSupportedTriggerEvents()
    
protected  voidinitializeFromScratch()
    
public  voidinvalidateCaches()
    
public  booleanisPage()
    
public  voidremoveAnnotation(PDAnnotation annot)
     Remove a PDAnnotation from the page.
public  voidremoveApplicationData(String name)
     Remove the PDApplicationData associated with name from this page.
public  voidsetAdditionalActions(PDAdditionalActions actions)
    
public  voidsetApplicationData(String name, PDApplicationData data)
     Associate a PDApplicationData instance with this using name.
public  voidsetContentStream(CSContent contentStream)
     Assign a new visual appearance to the page.
public  voidsetResources(PDResources resources)
    

Field Detail
COPY_SUFFIX
public static String COPY_SUFFIX(Code)



DK_Annots
final public static COSName DK_Annots(Code)



DK_Contents
final public static COSName DK_Contents(Code)



DK_CropBox
final public static COSName DK_CropBox(Code)



DK_MediaBox
final public static COSName DK_MediaBox(Code)



DK_Metadata
final public static COSName DK_Metadata(Code)



DK_PieceInfo
final public static COSName DK_PieceInfo(Code)



DK_Resources
final public static COSName DK_Resources(Code)



META
final public static MetaClass META(Code)
The meta class instance



PAGE_ACTION_TRIGGERS
final public static Set PAGE_ACTION_TRIGGERS(Code)
supported additional action triggers




Constructor Detail
PDPage
protected PDPage(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




Method Detail
addAnnotation
public void addAnnotation(PDAnnotation annot)(Code)
Add a PDAnnotation to the collection of annotations on the receiver page.
Parameters:
  annot - The PDAnnotation to add to the page.



addContentStream
public void addContentStream(CSContent contentStream)(Code)
Add a CSContent stream to this.
Parameters:
  contentStream - The new CSContent



basicSetResourceDict
protected void basicSetResourceDict(COSDictionary resourceDict)(Code)



collectAnnotations
protected void collectAnnotations(List annotations)(Code)



cosAddContents
public void cosAddContents(COSStream content)(Code)
Append COSStream to the pages content
Parameters:
  content - The COSStream to add to the page



cosGetContents
public COSObject cosGetContents()(Code)
The /Contents entry The /Contents entry



cosGetExpectedType
protected COSName cosGetExpectedType()(Code)



cosGetPieceInfo
public COSDictionary cosGetPieceInfo()(Code)
The piece info dictionary of the document. The piece info dictionary of the document.



cosPrependContents
public void cosPrependContents(COSStream content)(Code)
Prepend contents to the pages content.
Parameters:
  content - The COSStream to add to the page



cosSetContents
public COSObject cosSetContents(COSObject content)(Code)
Set the /Contents for the page
Parameters:
  content - the stream defining the page content The /Contents entry previously associated with this.



cosSetPieceInfo
public COSDictionary cosSetPieceInfo(COSDictionary dict)(Code)
Set the piece info dictionary of the document.
Parameters:
  dict - The piece info dictionary of the document. The /PieceInfo entry previously associated with this.



dispose
public void dispose()(Code)



getAcroFormFields
protected void getAcroFormFields(PDObject parent, List result)(Code)
A collection of all PDAcroFormField s that have PDAnnotation s on the receiver that are children of parent.
Parameters:
  parent - The parent PDAcroForm or PDAcroFormField.
Parameters:
  result - The collection of PDAnnotations collected so far.



getAdditionalActions
public PDAdditionalActions getAdditionalActions()(Code)



getAnnotations
public List getAnnotations()(Code)
Get a list of all PDAnnotation objects that are referenced in this page. A list of all PDAnnotation objects that are referenced inthis page or null if none exist.



getApplicationData
public PDApplicationData getApplicationData(String name)(Code)
The PDApplicationData associated with name on the page.
Parameters:
  name - The name of the PDApplicationData to lookup. The PDApplicationData associated with nameon the page.



getContentStream
public CSContent getContentStream()(Code)
The CSContent defining the visual content of the page. The CSContent defining the visual content of the page.



getContentsSize
protected int getContentsSize()(Code)



getCount
public int getCount()(Code)



getFirstAnnotation
public PDAnnotation getFirstAnnotation()(Code)
The first PDAnnotation on the page or null



getFirstNode
public PDPageNode getFirstNode()(Code)



getFirstPage
public PDPage getFirstPage()(Code)



getLastAnnotation
public PDAnnotation getLastAnnotation()(Code)
The last PDAnnotation on the page or null



getLastNode
public PDPageNode getLastNode()(Code)



getLastPage
public PDPage getLastPage()(Code)



getNextAnnotation
public PDAnnotation getNextAnnotation(PDAnnotation annot)(Code)
The PDAnnotation following the given PDAnnotation annot or null, if annot was the last one in the list or does't exist on this page.
Parameters:
  annot - a PDAnnotation a PDAnnotation or null



getNextPage
public PDPage getNextPage()(Code)
The next page after the receiver. The next page after the receiver.



getPageAt
public PDPage getPageAt(int index)(Code)



getPreviousAnnotation
public PDAnnotation getPreviousAnnotation(PDAnnotation annot)(Code)
Returns the PDAnnotation preceding the given PDAnnotation annot or null, if annot was the first one in the list or does't exist on this page.
Parameters:
  annot - a PDAnnotation a PDAnnotation or null



getPreviousPage
public PDPage getPreviousPage()(Code)
Get the previous page before the receiver. Get the previous page before the receiver.



getResources
public PDResources getResources()(Code)
return a PDCResourceDict. this is a wrapper around a COSDictionary that handles Resource specific details. the resource dict as a PDCResourceDict



getSupportedTriggerEvents
public Set getSupportedTriggerEvents()(Code)



initializeFromScratch
protected void initializeFromScratch()(Code)



invalidateCaches
public void invalidateCaches()(Code)



isPage
public boolean isPage()(Code)



removeAnnotation
public void removeAnnotation(PDAnnotation annot)(Code)
Remove a PDAnnotation from the page.
Parameters:
  annot - The PDAnnotation to remove from the page.



removeApplicationData
public void removeApplicationData(String name)(Code)
Remove the PDApplicationData associated with name from this page.
Parameters:
  name - The name of the application data object to be removed.



setAdditionalActions
public void setAdditionalActions(PDAdditionalActions actions)(Code)



setApplicationData
public void setApplicationData(String name, PDApplicationData data)(Code)
Associate a PDApplicationData instance with this using name.
Parameters:
  name - The name for the PDApplicationData instance withinthis.
Parameters:
  data - The PDApplicationData instance.



setContentStream
public void setContentStream(CSContent contentStream)(Code)
Assign a new visual appearance to the page.
Parameters:
  contentStream - The new visual appearance.



setResources
public void setResources(PDResources resources)(Code)



Fields inherited from de.intarsys.pdf.pd.PDPageNode
final public static COSName CN_Type_Page(Code)(Java Doc)
final public static COSName DK_Pages(Code)(Java Doc)
final public static COSName DK_Parent(Code)(Java Doc)
final public static COSName DK_Rotate(Code)(Java Doc)
final public static MetaClass META(Code)(Java Doc)

Methods inherited from de.intarsys.pdf.pd.PDPageNode
abstract protected void collectAnnotations(List annotations)(Code)(Java Doc)
public void dispose()(Code)(Java Doc)
abstract public int getCount()(Code)(Java Doc)
public CDSRectangle getCropBox()(Code)(Java Doc)
public PDAnnotation getFirstAnnotation()(Code)(Java Doc)
abstract public PDPageNode getFirstNode()(Code)(Java Doc)
abstract public PDPage getFirstPage()(Code)(Java Doc)
public PDObject getGenericParent()(Code)(Java Doc)
public PDAnnotation getLastAnnotation()(Code)(Java Doc)
abstract public PDPageNode getLastNode()(Code)(Java Doc)
public PDPage getLastPage()(Code)(Java Doc)
public CDSRectangle getMediaBox()(Code)(Java Doc)
public PDPageNode getNextNode()(Code)(Java Doc)
public int getNodeIndex()(Code)(Java Doc)
public PDPage getPageAt(int index)(Code)(Java Doc)
public PDPageTree getParent()(Code)(Java Doc)
public PDPageNode getPreviousNode()(Code)(Java Doc)
public int getRotate()(Code)(Java Doc)
public void invalidateCaches()(Code)(Java Doc)
abstract public boolean isPage()(Code)(Java Doc)
public void setCropBox(CDSRectangle rect)(Code)(Java Doc)
public void setGenericParent(PDObject newParent)(Code)(Java Doc)
public void setMediaBox(CDSRectangle rect)(Code)(Java Doc)
protected void setParent(PDPageTree parent)(Code)(Java Doc)
public void setRotate(int rotate)(Code)(Java Doc)

Fields inherited from de.intarsys.pdf.pd.PDObject
final public static COSName DK_Subtype(Code)(Java Doc)
final public static COSName DK_Type(Code)(Java Doc)
final public static MetaClass META(Code)(Java Doc)

Methods inherited from de.intarsys.pdf.pd.PDObject
protected COSName cosGetExpectedSubtype()(Code)(Java Doc)
protected COSName cosGetExpectedType()(Code)(Java Doc)
public COSObject cosGetFieldDescendant(COSName name)(Code)(Java Doc)
public COSObject cosGetFieldInheritable(COSName name)(Code)(Java Doc)
public COSObject cosGetFieldInherited(COSName name)(Code)(Java Doc)
final public COSName cosGetSubtype()(Code)(Java Doc)
final public COSName cosGetType()(Code)(Java Doc)
public COSObject cosRemoveFieldInheritable(COSName name)(Code)(Java Doc)
public COSObject cosSetFieldInheritable(COSName name, COSObject cosObj)(Code)(Java Doc)
final public COSName cosSetSubtype(COSName newType)(Code)(Java Doc)
final public COSName cosSetType(COSName newType)(Code)(Java Doc)
public PDDocument getDoc()(Code)(Java Doc)
public List getGenericChildren()(Code)(Java Doc)
public PDObject getGenericParent()(Code)(Java Doc)
protected List getPDObjects(COSName key, COSBasedObject.MetaClass metaclass, boolean addListener)(Code)(Java Doc)
protected void initializeFromScratch()(Code)(Java Doc)
public void setGenericParent(PDObject parent)(Code)(Java Doc)
protected void setPDObjects(COSName key, List list)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from de.intarsys.pdf.cos.COSBasedObject
final public static MetaClass META(Code)(Java Doc)

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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.