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


java.lang.Object
   com.lowagie.text.rtf.RtfElement
      com.lowagie.text.rtf.list.RtfList

RtfList
public class RtfList extends RtfElement implements RtfExtendedElement(Code)
The RtfList stores one List. It also provides the methods to write the list declaration and the list data.
version:
   $Id: RtfList.java 2825 2007-06-04 09:15:21Z blowagie $
author:
   Mark Hall (mhall@edu.uni-klu.ac.at)
author:
   Thomas Bickel (tmb99@inode.at)
author:
   Felix Satyaputra (f_satyaputra@yahoo.co.uk)



Constructor Summary
public  RtfList(RtfDocument doc, List list)
     Constructs a new RtfList for the specified List.

Method Summary
protected  voidcorrectIndentation()
     Correct the indentation of this RtfList by adding left/first line indentation from the parent RtfList.
public  intgetListLevel()
    
public  intgetListNumber()
    
public  voidsetInHeader(boolean inHeader)
     Sets whether this RtfList is in a header.
public  voidsetInTable(boolean inTable)
     Sets whether this RtfList is in a table.
public  voidsetListLevel(int listLevel)
     Sets the list level of this RtfList.
public  voidsetListNumber(int listNumber)
    
protected  voidsetParent(RtfList parent)
    
public  byte[]write()
    
public  voidwriteContent(OutputStream result)
    
public  byte[]writeDefinition()
    
public  voidwriteDefinition(OutputStream result)
    
protected  byte[]writeListBeginning()
    
protected  byte[]writeListNumbers()
     Writes only the list number and list level number.


Constructor Detail
RtfList
public RtfList(RtfDocument doc, List list)(Code)
Constructs a new RtfList for the specified List.
Parameters:
  doc - The RtfDocument this RtfList belongs to
Parameters:
  list - The List this RtfList is based on




Method Detail
correctIndentation
protected void correctIndentation()(Code)
Correct the indentation of this RtfList by adding left/first line indentation from the parent RtfList. Also calls correctIndentation on all child RtfLists.



getListLevel
public int getListLevel()(Code)
Gets the list level of this RtfList Returns the list level.



getListNumber
public int getListNumber()(Code)
Gets the id of this list Returns the list number.



setInHeader
public void setInHeader(boolean inHeader)(Code)
Sets whether this RtfList is in a header. Sets the correct inTable setting for all child elements.
Parameters:
  inHeader - True if this RtfList is in a header, false otherwise



setInTable
public void setInTable(boolean inTable)(Code)
Sets whether this RtfList is in a table. Sets the correct inTable setting for all child elements.
Parameters:
  inTable - True if this RtfList is in a table, false otherwise



setListLevel
public void setListLevel(int listLevel)(Code)
Sets the list level of this RtfList. A list level > 0 will unregister this RtfList from the RtfListTable
Parameters:
  listLevel - The list level to set.



setListNumber
public void setListNumber(int listNumber)(Code)
Sets the id of this list
Parameters:
  listNumber - The list number to set.



setParent
protected void setParent(RtfList parent)(Code)
Sets the parent RtfList of this RtfList
Parameters:
  parent - The parent RtfList to use.



write
public byte[] write()(Code)
Writes the content of the RtfList A byte array containing the actual content of the RtfListRtfList.writeContent(OutputStream)



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



writeDefinition
public byte[] writeDefinition()(Code)
Writes the definition part of this list level A byte array containing the definition of this list levelRtfList.writeDefinition(OutputStream)



writeDefinition
public void writeDefinition(OutputStream result) throws IOException(Code)
Writes the definition part of this list level



writeListBeginning
protected byte[] writeListBeginning()(Code)
Writes the initialisation part of the RtfList A byte array containing the initialisation part



writeListNumbers
protected byte[] writeListNumbers()(Code)
Writes only the list number and list level number. The list number and list level number of this RtfList.



Fields inherited from com.lowagie.text.rtf.RtfElement
protected RtfDocument document(Code)(Java Doc)
protected boolean inHeader(Code)(Java Doc)
protected boolean inTable(Code)(Java Doc)

Methods inherited from com.lowagie.text.rtf.RtfElement
public byte[] intToByteArray(int i)(Code)(Java Doc)
public boolean isInTable()(Code)(Java Doc)
public void setInHeader(boolean inHeader)(Code)(Java Doc)
public void setInTable(boolean inTable)(Code)(Java Doc)
public void setRtfDocument(RtfDocument doc)(Code)(Java Doc)
abstract public byte[] write()(Code)(Java Doc)
public void writeContent(OutputStream out) throws IOException(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.