Java Doc for Element.java in  » PDF » pdf-itext » com » lowagie » text » 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 » pdf itext » com.lowagie.text 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.lowagie.text.Element

All known Subclasses:   com.lowagie.text.Chunk,  com.lowagie.text.pdf.MultiColumnText,  com.lowagie.text.MarkedObject,  com.lowagie.text.pdf.PdfPTable,  com.lowagie.text.Rectangle,  com.lowagie.text.Row,  com.lowagie.text.Annotation,  com.lowagie.text.Meta,
Element
public interface Element (Code)
Interface for a text element.

Remark: I looked at the interface javax.swing.text.Element, but I decided to write my own text-classes for two reasons:

  1. The javax.swing.text-classes may be very generic, I think they are overkill: they are to heavy for what they have to do.
  2. A lot of people using iText (formerly known as rugPdf), still use JDK1.1.x. I try to keep the Java2 requirements limited to the Collection classes (I think they're really great). However, if I use the javax.swing.text classes, it will become very difficult to downgrade rugPdf.

See Also:   Anchor
See Also:   Cell
See Also:   Chapter
See Also:   Chunk
See Also:   Header
See Also:   Image
See Also:   Jpeg
See Also:   List
See Also:   ListItem
See Also:   Meta
See Also:   Paragraph
See Also:   Phrase
See Also:   Rectangle
See Also:   Row
See Also:   Section
See Also:   Table


Field Summary
final public static  intALIGN_BASELINE
     A possible value for vertical alignment.
final public static  intALIGN_BOTTOM
     A possible value for vertical alignment.
final public static  intALIGN_CENTER
     A possible value for paragraph alignment.
final public static  intALIGN_JUSTIFIED
     A possible value for paragraph alignment.
final public static  intALIGN_JUSTIFIED_ALL
     Does the same as ALIGN_JUSTIFIED but the last line is also spread out.
final public static  intALIGN_LEFT
     A possible value for paragraph alignment.
final public static  intALIGN_MIDDLE
     A possible value for vertical alignment.
final public static  intALIGN_RIGHT
     A possible value for paragraph alignment.
final public static  intALIGN_TOP
     A possible value for vertical alignment.
final public static  intALIGN_UNDEFINED
     A possible value for paragraph alignment.
final public static  intANCHOR
    
final public static  intANNOTATION
     This is a possible type of Element.
final public static  intAUTHOR
     This is a possible type of Element .
final public static  intCCITTG3_1D
    
final public static  intCCITTG3_2D
    
final public static  intCCITTG4
    
final public static  intCCITT_BLACKIS1
    
final public static  intCCITT_ENCODEDBYTEALIGN
     A flag indicating whether the filter expects extra 0-bits before each encoded line so that the line begins on a byte boundary.
final public static  intCCITT_ENDOFBLOCK
     A flag indicating whether the filter expects the encoded data to be terminated by an end-of-block pattern, overriding the Rows parameter.
final public static  intCCITT_ENDOFLINE
     A flag indicating whether end-of-line bit patterns are required to be present in the encoding.
final public static  intCELL
     This is a possible type of Element.
final public static  intCHAPTER
    
final public static  intCHUNK
     This is a possible type of Element.
final public static  intCREATIONDATE
     This is a possible type of Element .
final public static  intCREATOR
     This is a possible type of Element .
final public static  intHEADER
     This is a possible type of Element.
final public static  intIMGRAW
     This is a possible type of Element.
final public static  intIMGTEMPLATE
     This is a possible type of Element.
final public static  intJPEG
     This is a possible type of Element.
final public static  intKEYWORDS
     This is a possible type of Element.
final public static  intLIST
    
final public static  intLISTITEM
    
final public static  intMARKED
     This is a possible type of Element.
final public static  intMULTI_COLUMN_TEXT
     This is a possible type of Element.
final public static  intPARAGRAPH
     This is a possible type of Element.
final public static  intPHRASE
     This is a possible type of Element.
final public static  intPRODUCER
     This is a possible type of Element .
final public static  intPTABLE
     This is a possible type of Element.
final public static  intRECTANGLE
     This is a possible type of Element.
final public static  intROW
     This is a possible type of Element.
final public static  intSECTION
    
final public static  intSUBJECT
     This is a possible type of Element.
final public static  intTABLE
     This is a possible type of Element.
final public static  intTITLE
     This is a possible type of Element.


Method Summary
public  ArrayListgetChunks()
     Gets all the chunks in this element.
public  booleanprocess(ElementListener listener)
     Processes the element by adding it (or the different parts) to an ElementListener.
public  StringtoString()
     Gets the content of the text element.
public  inttype()
     Gets the type of the text element.

Field Detail
ALIGN_BASELINE
final public static int ALIGN_BASELINE(Code)
A possible value for vertical alignment.



ALIGN_BOTTOM
final public static int ALIGN_BOTTOM(Code)
A possible value for vertical alignment.



ALIGN_CENTER
final public static int ALIGN_CENTER(Code)
A possible value for paragraph alignment. This specifies that the text is aligned to the center and extra whitespace should be placed equally on the left and right.



ALIGN_JUSTIFIED
final public static int ALIGN_JUSTIFIED(Code)
A possible value for paragraph alignment. This specifies that extra whitespace should be spread out through the rows of the paragraph with the text lined up with the left and right indent except on the last line which should be aligned to the left.



ALIGN_JUSTIFIED_ALL
final public static int ALIGN_JUSTIFIED_ALL(Code)
Does the same as ALIGN_JUSTIFIED but the last line is also spread out.



ALIGN_LEFT
final public static int ALIGN_LEFT(Code)
A possible value for paragraph alignment. This specifies that the text is aligned to the left indent and extra whitespace should be placed on the right.



ALIGN_MIDDLE
final public static int ALIGN_MIDDLE(Code)
A possible value for vertical alignment.



ALIGN_RIGHT
final public static int ALIGN_RIGHT(Code)
A possible value for paragraph alignment. This specifies that the text is aligned to the right indent and extra whitespace should be placed on the left.



ALIGN_TOP
final public static int ALIGN_TOP(Code)
A possible value for vertical alignment.



ALIGN_UNDEFINED
final public static int ALIGN_UNDEFINED(Code)
A possible value for paragraph alignment. This specifies that the text is aligned to the left indent and extra whitespace should be placed on the right.



ANCHOR
final public static int ANCHOR(Code)
This is a possible type of Element



ANNOTATION
final public static int ANNOTATION(Code)
This is a possible type of Element.



AUTHOR
final public static int AUTHOR(Code)
This is a possible type of Element .



CCITTG3_1D
final public static int CCITTG3_1D(Code)
Pure one-dimensional encoding (Group 3, 1-D)



CCITTG3_2D
final public static int CCITTG3_2D(Code)
Mixed one- and two-dimensional encoding (Group 3, 2-D)



CCITTG4
final public static int CCITTG4(Code)
Pure two-dimensional encoding (Group 4)



CCITT_BLACKIS1
final public static int CCITT_BLACKIS1(Code)
A flag indicating whether 1-bits are to be interpreted as black pixels and 0-bits as white pixels,



CCITT_ENCODEDBYTEALIGN
final public static int CCITT_ENCODEDBYTEALIGN(Code)
A flag indicating whether the filter expects extra 0-bits before each encoded line so that the line begins on a byte boundary.



CCITT_ENDOFBLOCK
final public static int CCITT_ENDOFBLOCK(Code)
A flag indicating whether the filter expects the encoded data to be terminated by an end-of-block pattern, overriding the Rows parameter. The use of this flag will set the key /EndOfBlock to false.



CCITT_ENDOFLINE
final public static int CCITT_ENDOFLINE(Code)
A flag indicating whether end-of-line bit patterns are required to be present in the encoding.



CELL
final public static int CELL(Code)
This is a possible type of Element.



CHAPTER
final public static int CHAPTER(Code)
This is a possible type of Element



CHUNK
final public static int CHUNK(Code)
This is a possible type of Element.



CREATIONDATE
final public static int CREATIONDATE(Code)
This is a possible type of Element .



CREATOR
final public static int CREATOR(Code)
This is a possible type of Element .



HEADER
final public static int HEADER(Code)
This is a possible type of Element.



IMGRAW
final public static int IMGRAW(Code)
This is a possible type of Element.



IMGTEMPLATE
final public static int IMGTEMPLATE(Code)
This is a possible type of Element.



JPEG
final public static int JPEG(Code)
This is a possible type of Element.



KEYWORDS
final public static int KEYWORDS(Code)
This is a possible type of Element.



LIST
final public static int LIST(Code)
This is a possible type of Element



LISTITEM
final public static int LISTITEM(Code)
This is a possible type of Element



MARKED
final public static int MARKED(Code)
This is a possible type of Element.



MULTI_COLUMN_TEXT
final public static int MULTI_COLUMN_TEXT(Code)
This is a possible type of Element.



PARAGRAPH
final public static int PARAGRAPH(Code)
This is a possible type of Element.



PHRASE
final public static int PHRASE(Code)
This is a possible type of Element.



PRODUCER
final public static int PRODUCER(Code)
This is a possible type of Element .



PTABLE
final public static int PTABLE(Code)
This is a possible type of Element.



RECTANGLE
final public static int RECTANGLE(Code)
This is a possible type of Element.



ROW
final public static int ROW(Code)
This is a possible type of Element.



SECTION
final public static int SECTION(Code)
This is a possible type of Element



SUBJECT
final public static int SUBJECT(Code)
This is a possible type of Element.



TABLE
final public static int TABLE(Code)
This is a possible type of Element.



TITLE
final public static int TITLE(Code)
This is a possible type of Element.





Method Detail
getChunks
public ArrayList getChunks()(Code)
Gets all the chunks in this element. an ArrayList



process
public boolean process(ElementListener listener)(Code)
Processes the element by adding it (or the different parts) to an ElementListener.
Parameters:
  listener - an ElementListener true if the element was processed successfully



toString
public String toString()(Code)
Gets the content of the text element. a type



type
public int type()(Code)
Gets the type of the text element. a type



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