Java Doc for PDAcroFormNode.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) 


de.intarsys.pdf.pd.PDObject
   de.intarsys.pdf.pd.PDAcroFormNode

All known Subclasses:   de.intarsys.pdf.pd.PDAcroFormField,  de.intarsys.pdf.pd.PDAcroForm,
PDAcroFormNode
abstract public class PDAcroFormNode extends PDObject (Code)
Abstract superclass to factor out commons between AcroForm and AcroForm field.

Inner Class :public static class MetaClass extends PDObject.MetaClass

Field Summary
final public static  COSNameDK_DA
     The name for the DefaultAppereance entry.
final public static  COSNameDK_DR
     The name for the default resources.
final public static  COSNameDK_Encoding
     The name for the Encoding.
final public static  COSNameDK_Font
     The name for the fonts.
final public static  COSNameDK_Q
     The name for the Quadding entry.
final public static  MetaClassMETA
    

Constructor Summary
protected  PDAcroFormNode(COSObject object)
    

Method Summary
abstract public  voidaddField(PDAcroFormField field)
     Insert a PDAcroFormField in the receiver node.
protected  PDAcroFormFieldbasicGetField(String name, boolean canonical)
    
public static  Stringcanonicalize(String name)
     Create a canonical form of the field name.
Parameters:
  name - The field name to be converted.
protected  ListcollectLeafFields(List result)
    
public  ListcollectLeafFields()
     The list of all final nodes (fields) within this node.
abstract public  PDAcroFormgetAcroForm()
     The PDAcroForm for this node.
public  PDAnnotationgetAnnotation(int index)
     Get an annotation from the tree beyond this identified by index.
public  ListgetAnnotations()
     A list of all annotations in the tree beyond this.
protected  ListgetAnnotations(List annotations)
     Recursively collect all annotations in the tree beyond this.
Parameters:
  annotations - The annotations collected so far.
protected  DefaultAppearancegetDefaultAppearance()
    
public  CSContentgetDefaultAppearanceContent()
     The CSContent fragment defining the default appearance to be used for variable text fields.
public  PDFontgetDefaultAppearanceFont()
     The font object defined by the default appearance.
public  float[]getDefaultAppearanceFontColor()
     The font color defined by the default appearance.
public  COSNamegetDefaultAppearanceFontName()
     The font name used by the default appearance to select a font from the resources.
public  floatgetDefaultAppearanceFontSize()
    
public  PDAcroFormFieldgetField(String path)
     The sub-node identified by path.
public  PDAcroFormFieldgetField(String name, boolean canonicalName)
     The sub-node identified by path.
public  intgetQuadding()
     The justification of variable text within the field.
public  voidinvalidateCaches()
    
abstract public  booleanremoveField(PDAcroFormField field)
     Remove a PDAcroFormField from the receiver.
Parameters:
  field - The field to remove.
protected  voidsetDefaultAppearance(DefaultAppearance defaultAppearanceParser)
    
public  voidsetDefaultAppearanceContent(CSContent pContent)
     Set the content stream fragment to be used as the default appearance with variable text fields.
public  voidsetDefaultAppearanceFont(PDFont font)
     Set the font to be used as the default font in variable text fields.
public  voidsetDefaultAppearanceFontColor(float[] color)
     Set the font color to be used as the default font color in variable text fields.
public  voidsetDefaultAppearanceFontSize(float size)
     Set the font size to be used as the default font size in variable text fields.
public  voidsetQuadding(int quadding)
     Set the justification of variable text within the field.

Field Detail
DK_DA
final public static COSName DK_DA(Code)
The name for the DefaultAppereance entry.



DK_DR
final public static COSName DK_DR(Code)
The name for the default resources.



DK_Encoding
final public static COSName DK_Encoding(Code)
The name for the Encoding.



DK_Font
final public static COSName DK_Font(Code)
The name for the fonts.



DK_Q
final public static COSName DK_Q(Code)
The name for the Quadding entry.



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




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




Method Detail
addField
abstract public void addField(PDAcroFormField field)(Code)
Insert a PDAcroFormField in the receiver node.
Parameters:
  field - The field to be inserted.



basicGetField
protected PDAcroFormField basicGetField(String name, boolean canonical)(Code)



canonicalize
public static String canonicalize(String name)(Code)
Create a canonical form of the field name.
Parameters:
  name - The field name to be converted. The canonical for of the field name.



collectLeafFields
protected List collectLeafFields(List result)(Code)



collectLeafFields
public List collectLeafFields()(Code)
The list of all final nodes (fields) within this node. The list of all final nodes (fields) within this node.



getAcroForm
abstract public PDAcroForm getAcroForm()(Code)
The PDAcroForm for this node. The PDAcroForm for this node.



getAnnotation
public PDAnnotation getAnnotation(int index)(Code)
Get an annotation from the tree beyond this identified by index. An annotation from the tree beyond this identifiedby index.



getAnnotations
public List getAnnotations()(Code)
A list of all annotations in the tree beyond this. A list of all annotations in the tree beyond this.



getAnnotations
protected List getAnnotations(List annotations)(Code)
Recursively collect all annotations in the tree beyond this.
Parameters:
  annotations - The annotations collected so far. The enhanced list of annotations for this subtree.



getDefaultAppearance
protected DefaultAppearance getDefaultAppearance()(Code)



getDefaultAppearanceContent
public CSContent getDefaultAppearanceContent()(Code)
The CSContent fragment defining the default appearance to be used for variable text fields. The CSContent fragment defining the default appearance tobe used for variable text fields.



getDefaultAppearanceFont
public PDFont getDefaultAppearanceFont()(Code)
The font object defined by the default appearance. The font object defined by the default appearance.



getDefaultAppearanceFontColor
public float[] getDefaultAppearanceFontColor()(Code)
The font color defined by the default appearance. The font color defined by the default appearance.



getDefaultAppearanceFontName
public COSName getDefaultAppearanceFontName()(Code)
The font name used by the default appearance to select a font from the resources. The font name used by the default appearance to select a fontfrom the resources.



getDefaultAppearanceFontSize
public float getDefaultAppearanceFontSize()(Code)
The font size defined by the default appearance, The font size defined by the default appearance,



getField
public PDAcroFormField getField(String path)(Code)
The sub-node identified by path. The path may be a navigation path containing multiple segments separated by a ".", each segment identifying a sub node in the node found so far.

The navigation starts at this and the first path segment is matched against the node's children. Example:
AcroForm | + Field1 | + Group1 | + FieldA | + FieldB When requesting the form itself, Field1 is addressed form.getField("Field1"); FieldA can be looked up form.getField("Group1.FieldA"); or group = form.getField("Group1"); group.getField("FieldA");
Parameters:
  path - The navigation path to the field. The sub-node identified by path.




getField
public PDAcroFormField getField(String name, boolean canonicalName)(Code)
The sub-node identified by path. The path may be a navigation path containing multiple segments separated by a ".", each segment identifying a sub node in the node found so far. If canonicalName is true, the name will be transformed to a canonical format before lookup.
Parameters:
  name - The navigation path to the field.
Parameters:
  canonicalName - Flag if lookup uses canonical form. The sub-node identified by path



getQuadding
public int getQuadding()(Code)
The justification of variable text within the field.
  • 0
  • left (default)
  • 1
  • centered
  • 2
  • right
An int representing the intended quadding for this field



invalidateCaches
public void invalidateCaches()(Code)



removeField
abstract public boolean removeField(PDAcroFormField field)(Code)
Remove a PDAcroFormField from the receiver.
Parameters:
  field - The field to remove. true if field was removed.



setDefaultAppearance
protected void setDefaultAppearance(DefaultAppearance defaultAppearanceParser)(Code)



setDefaultAppearanceContent
public void setDefaultAppearanceContent(CSContent pContent)(Code)
Set the content stream fragment to be used as the default appearance with variable text fields.
Parameters:
  pContent - The new default appearance content.



setDefaultAppearanceFont
public void setDefaultAppearanceFont(PDFont font)(Code)
Set the font to be used as the default font in variable text fields.
Parameters:
  font - The font to be used as the default font in variable textfields.



setDefaultAppearanceFontColor
public void setDefaultAppearanceFontColor(float[] color)(Code)
Set the font color to be used as the default font color in variable text fields.
Parameters:
  color - The font color to be used as the default font color invariable text fields.



setDefaultAppearanceFontSize
public void setDefaultAppearanceFontSize(float size)(Code)
Set the font size to be used as the default font size in variable text fields.
Parameters:
  size - The font size to be used as the default font size in variabletext fields.



setQuadding
public void setQuadding(int quadding)(Code)
Set the justification of variable text within the field.
Parameters:
  quadding - THe new quadding value



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)

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