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


com.lowagie.text.HeaderFooter
   com.lowagie.text.rtf.headerfooter.RtfHeaderFooter

RtfHeaderFooter
public class RtfHeaderFooter extends HeaderFooter implements RtfBasicElement(Code)
The RtfHeaderFooter represents one header or footer. This class can be used directly.
version:
   $Id: RtfHeaderFooter.java 2776 2007-05-23 20:01:40Z hallm $
author:
   Mark Hall (mhall@edu.uni-klu.ac.at)
author:
   Thomas Bickel (tmb99@inode.at)


Field Summary
final public static  intDISPLAY_ALL_PAGES
    
final public static  intDISPLAY_FIRST_PAGE
    
final public static  intDISPLAY_LEFT_PAGES
    
final public static  intDISPLAY_RIGHT_PAGES
    
final public static  intTYPE_FOOTER
    
final public static  intTYPE_HEADER
    

Constructor Summary
protected  RtfHeaderFooter(RtfDocument doc, HeaderFooter headerFooter, int type, int displayAt)
     Constructs a RtfHeaderFooter based on a HeaderFooter with a certain type and displayAt location.
protected  RtfHeaderFooter(RtfDocument doc, RtfHeaderFooter headerFooter, int displayAt)
     Constructs a RtfHeaderFooter as a copy of an existing RtfHeaderFooter.
protected  RtfHeaderFooter(RtfDocument doc, HeaderFooter headerFooter)
     Constructs a RtfHeaderFooter for a HeaderFooter.
public  RtfHeaderFooter(Element element)
     Constructs a RtfHeaderFooter for any Element.
public  RtfHeaderFooter(Element[] elements)
     Constructs a RtfHeaderFooter for an array of Elements.

Method Summary
public  voidsetAlignment(int alignment)
     Set the alignment of this RtfHeaderFooter.
public  voidsetDisplayAt(int displayAt)
    
public  voidsetInHeader(boolean inHeader)
    
public  voidsetInTable(boolean inTable)
    
public  voidsetRtfDocument(RtfDocument doc)
    
public  voidsetType(int type)
    
public  byte[]write()
    
public  voidwriteContent(OutputStream result)
    

Field Detail
DISPLAY_ALL_PAGES
final public static int DISPLAY_ALL_PAGES(Code)
Constant for displaying the header/footer on all pages



DISPLAY_FIRST_PAGE
final public static int DISPLAY_FIRST_PAGE(Code)
Constant for displaying the header/footer on the first page



DISPLAY_LEFT_PAGES
final public static int DISPLAY_LEFT_PAGES(Code)
Constant for displaying the header/footer on all left hand pages



DISPLAY_RIGHT_PAGES
final public static int DISPLAY_RIGHT_PAGES(Code)
Constant for displaying the header/footer on all right hand pages



TYPE_FOOTER
final public static int TYPE_FOOTER(Code)
Constant for the footer type



TYPE_HEADER
final public static int TYPE_HEADER(Code)
Constant for the header type




Constructor Detail
RtfHeaderFooter
protected RtfHeaderFooter(RtfDocument doc, HeaderFooter headerFooter, int type, int displayAt)(Code)
Constructs a RtfHeaderFooter based on a HeaderFooter with a certain type and displayAt location. For internal use only.
Parameters:
  doc - The RtfDocument this RtfHeaderFooter belongs to
Parameters:
  headerFooter - The HeaderFooter to base this RtfHeaderFooter on
Parameters:
  type - The type of RtfHeaderFooter
Parameters:
  displayAt - The display location of this RtfHeaderFooter



RtfHeaderFooter
protected RtfHeaderFooter(RtfDocument doc, RtfHeaderFooter headerFooter, int displayAt)(Code)
Constructs a RtfHeaderFooter as a copy of an existing RtfHeaderFooter. For internal use only.
Parameters:
  doc - The RtfDocument this RtfHeaderFooter belongs to
Parameters:
  headerFooter - The RtfHeaderFooter to copy
Parameters:
  displayAt - The display location of this RtfHeaderFooter



RtfHeaderFooter
protected RtfHeaderFooter(RtfDocument doc, HeaderFooter headerFooter)(Code)
Constructs a RtfHeaderFooter for a HeaderFooter.
Parameters:
  doc - The RtfDocument this RtfHeaderFooter belongs to
Parameters:
  headerFooter - The HeaderFooter to base this RtfHeaderFooter on



RtfHeaderFooter
public RtfHeaderFooter(Element element)(Code)
Constructs a RtfHeaderFooter for any Element.
Parameters:
  element - The Element to display as content of this RtfHeaderFooter



RtfHeaderFooter
public RtfHeaderFooter(Element[] elements)(Code)
Constructs a RtfHeaderFooter for an array of Elements.
Parameters:
  elements - The Elements to display as the content of this RtfHeaderFooter.




Method Detail
setAlignment
public void setAlignment(int alignment)(Code)
Set the alignment of this RtfHeaderFooter. Passes the setting on to the contained element.



setDisplayAt
public void setDisplayAt(int displayAt)(Code)
Sets the display location of this RtfHeaderFooter
Parameters:
  displayAt - The display location to use.



setInHeader
public void setInHeader(boolean inHeader)(Code)
Unused
Parameters:
  inHeader -



setInTable
public void setInTable(boolean inTable)(Code)
Unused
Parameters:
  inTable -



setRtfDocument
public void setRtfDocument(RtfDocument doc)(Code)
Sets the RtfDocument this RtfElement belongs to
Parameters:
  doc - The RtfDocument to use



setType
public void setType(int type)(Code)
Sets the type of this RtfHeaderFooter
Parameters:
  type - The type to use.



write
public byte[] write()(Code)
Writes the content of this RtfHeaderFooter A byte array with the content of this RtfHeaderFooterRtfHeaderFooter.writeContent(OutputStream)



writeContent
public void writeContent(OutputStream result) throws IOException(Code)
Writes the content of this RtfHeaderFooter



Methods inherited from com.lowagie.text.HeaderFooter
public int alignment()(Code)(Java Doc)
public Phrase getAfter()(Code)(Java Doc)
public Phrase getBefore()(Code)(Java Doc)
public boolean isNumbered()(Code)(Java Doc)
public Paragraph paragraph()(Code)(Java Doc)
public void setAlignment(int alignment)(Code)(Java Doc)
public void setPageNumber(int pageN)(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.