Java Doc for PDAcroForm.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.PDAcroFormNode
            de.intarsys.pdf.pd.PDAcroForm

PDAcroForm
public class PDAcroForm extends PDAcroFormNode (Code)
The logical AcroForm hosted in a PDF document.

Inner Class :public static class MetaClass extends PDAcroFormNode.MetaClass

Field Summary
final public static  COSNameDK_CO
     The name of the CalculationOrder entry.
final public static  COSNameDK_Fields
     The name of the fields entry.
final public static  COSNameDK_NeedAppearances
     The name of the NeedApperances entry.
final public static  COSNameDK_SigFlags
     The name of the SignatureFlags entry.
final public static  COSNameDK_XFA
     The name of the XFAResources entry.
final public static  MetaClassMETA
    

Constructor Summary
protected  PDAcroForm(COSObject object)
    

Method Summary
public  voidaddField(PDAcroFormField field)
    
protected  voidcheckFields()
    
public  COSObjectcosGetXfa()
     The /XFA entry of this.
protected  voidcosSetSigFlags(int newFlags)
    
public  PDAcroFormgetAcroForm()
    
public  ListgetCalculationOrder()
     A collection containing the PDAcroFormField objects in their calculation order or null if no /C events are defined.
public  PDResourcesgetDefaultResources()
     The default resource dictionary.
public  ListgetFields()
     A list of all direct PDAcroFormField instances associated with this object.
public  ListgetGenericChildren()
    
public  booleangetNeedAppearances()
     true if /NeedAppearances is set for this form.
public  AcroFormSigFlagsgetSigFlags()
     The flags associated with an AcroForm.
public  voidinvalidateCaches()
    
public  booleanisSignatureExists()
     true if this form has a signature field.
public  booleanisSigned()
     true if this form has a signed signature field.
protected  voidreconstruct(PDDocument doc)
     This method scans the document for all WidgetAnnotation objects.

This is done because some writer do not create a correct list of all PDAcroFormField objects in the AcroForm.

public  booleanremoveField(PDAcroFormField field)
    
protected  voidsetCalculationOrder(List newCalculationOrder)
    
public  voidsetDefaultResources(PDResources newResources)
     Assign the default resource dictionary to be used with the form.
public  voidsetGenericParent(PDObject parent)
    
public  voidsetNeedAppearances(boolean newNeedAppearances)
     Set the /NeedAppearances field for the form.
public  StringtoString()
    

Field Detail
DK_CO
final public static COSName DK_CO(Code)
The name of the CalculationOrder entry.



DK_Fields
final public static COSName DK_Fields(Code)
The name of the fields entry.



DK_NeedAppearances
final public static COSName DK_NeedAppearances(Code)
The name of the NeedApperances entry.



DK_SigFlags
final public static COSName DK_SigFlags(Code)
The name of the SignatureFlags entry.

For a list of possible flags:


See Also:   de.intarsys.pdf.pd.AcroFormSigFlags



DK_XFA
final public static COSName DK_XFA(Code)
The name of the XFAResources entry.



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




Constructor Detail
PDAcroForm
protected PDAcroForm(COSObject object)(Code)




Method Detail
addField
public void addField(PDAcroFormField field)(Code)



checkFields
protected void checkFields()(Code)



cosGetXfa
public COSObject cosGetXfa()(Code)
The /XFA entry of this. The /XFA entry of this.



cosSetSigFlags
protected void cosSetSigFlags(int newFlags)(Code)



getAcroForm
public PDAcroForm getAcroForm()(Code)



getCalculationOrder
public List getCalculationOrder()(Code)
A collection containing the PDAcroFormField objects in their calculation order or null if no /C events are defined. A collection containing the PDAcroFormField objects in theircalculation order or null if no /C events are defined.



getDefaultResources
public PDResources getDefaultResources()(Code)
The default resource dictionary.

With 1.5 this is no longer supported as an entry in field dictionaries, only in the form itself.

The default resource dictionary.



getFields
public List getFields()(Code)
A list of all direct PDAcroFormField instances associated with this object. A list of all direct PDAcroFormField instances associatedwith this object.



getGenericChildren
public List getGenericChildren()(Code)



getNeedAppearances
public boolean getNeedAppearances()(Code)
true if /NeedAppearances is set for this form. true if /NeedAppearances is set for this form.



getSigFlags
public AcroFormSigFlags getSigFlags()(Code)
The flags associated with an AcroForm. The flags associated with an AcroForm.



invalidateCaches
public void invalidateCaches()(Code)



isSignatureExists
public boolean isSignatureExists()(Code)
true if this form has a signature field. This is NOT the same as the flag in the SigFlags entry but may be used to compute this entry. true if this form has a signature field.



isSigned
public boolean isSigned()(Code)
true if this form has a signed signature field. true if this form has a signed signature field.



reconstruct
protected void reconstruct(PDDocument doc)(Code)
This method scans the document for all WidgetAnnotation objects.

This is done because some writer do not create a correct list of all PDAcroFormField objects in the AcroForm. In the case that the list of children is empty, we go and search ourselve for candidates...


Parameters:
  doc - The document to reconstruct.



removeField
public boolean removeField(PDAcroFormField field)(Code)



setCalculationOrder
protected void setCalculationOrder(List newCalculationOrder)(Code)



setDefaultResources
public void setDefaultResources(PDResources newResources)(Code)
Assign the default resource dictionary to be used with the form.
Parameters:
  newResources - The new default resource dictionary.



setGenericParent
public void setGenericParent(PDObject parent)(Code)



setNeedAppearances
public void setNeedAppearances(boolean newNeedAppearances)(Code)
Set the /NeedAppearances field for the form. When true, a viewer application is required to re-create the visual appearances for the fields.
Parameters:
  newNeedAppearances - The new state for /NewwdAppearances



toString
public String toString()(Code)



Fields inherited from de.intarsys.pdf.pd.PDAcroFormNode
final public static COSName DK_DA(Code)(Java Doc)
final public static COSName DK_DR(Code)(Java Doc)
final public static COSName DK_Encoding(Code)(Java Doc)
final public static COSName DK_Font(Code)(Java Doc)
final public static COSName DK_Q(Code)(Java Doc)
final public static MetaClass META(Code)(Java Doc)

Methods inherited from de.intarsys.pdf.pd.PDAcroFormNode
abstract public void addField(PDAcroFormField field)(Code)(Java Doc)
protected PDAcroFormField basicGetField(String name, boolean canonical)(Code)(Java Doc)
public static String canonicalize(String name)(Code)(Java Doc)
protected List collectLeafFields(List result)(Code)(Java Doc)
public List collectLeafFields()(Code)(Java Doc)
abstract public PDAcroForm getAcroForm()(Code)(Java Doc)
public PDAnnotation getAnnotation(int index)(Code)(Java Doc)
public List getAnnotations()(Code)(Java Doc)
protected List getAnnotations(List annotations)(Code)(Java Doc)
protected DefaultAppearance getDefaultAppearance()(Code)(Java Doc)
public CSContent getDefaultAppearanceContent()(Code)(Java Doc)
public PDFont getDefaultAppearanceFont()(Code)(Java Doc)
public float[] getDefaultAppearanceFontColor()(Code)(Java Doc)
public COSName getDefaultAppearanceFontName()(Code)(Java Doc)
public float getDefaultAppearanceFontSize()(Code)(Java Doc)
public PDAcroFormField getField(String path)(Code)(Java Doc)
public PDAcroFormField getField(String name, boolean canonicalName)(Code)(Java Doc)
public int getQuadding()(Code)(Java Doc)
public void invalidateCaches()(Code)(Java Doc)
abstract public boolean removeField(PDAcroFormField field)(Code)(Java Doc)
protected void setDefaultAppearance(DefaultAppearance defaultAppearanceParser)(Code)(Java Doc)
public void setDefaultAppearanceContent(CSContent pContent)(Code)(Java Doc)
public void setDefaultAppearanceFont(PDFont font)(Code)(Java Doc)
public void setDefaultAppearanceFontColor(float[] color)(Code)(Java Doc)
public void setDefaultAppearanceFontSize(float size)(Code)(Java Doc)
public void setQuadding(int quadding)(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.