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


java.lang.Object
   com.lowagie.text.rtf.document.RtfDocumentSettings

RtfDocumentSettings
public class RtfDocumentSettings (Code)
The RtfDocumentSettings contains output specific settings. These settings modify how the actual document is then generated and some settings may mean that some RTF readers can't read the document or render it wrongly.
version:
   $Id: RtfDocumentSettings.java 2776 2007-05-23 20:01:40Z hallm $
author:
   Mark Hall (mhall@edu.uni-klu.ac.at)
author:
   Thomas Bickel (tmb99@inode.at)



Constructor Summary
public  RtfDocumentSettings(RtfDocument document)
     Constructs a new RtfDocumentSettings object.

Method Summary
public  intgetDataCacheStyle()
     Gets the current data cache style.
public  booleanisAlwaysGenerateSoftLinebreaks()
     Gets whether all linebreaks inside Chunks are generated as soft linebreaks.
public  booleanisAlwaysUseUnicode()
     Gets whether all characters bigger than 'z' are represented as unicode.
public  booleanisImagePDFConformance()
     Gets the current setting on image PDF conformance.
public  booleanisOutputDebugLineBreaks()
     Gets whether to output the line breaks for increased rtf document readability.
public  booleanisOutputTableRowDefinitionAfter()
     Gets whether the table row definition should also be written after the cell content.
public  booleanisWriteImageScalingInformation()
     Gets whether to write scaling information for images.
public  voidregisterParagraphStyle(RtfParagraphStyle rtfParagraphStyle)
     Registers the RtfParagraphStyle for further use in the document.
public  voidsetAlwaysGenerateSoftLinebreaks(boolean alwaysGenerateSoftLinebreaks)
     Sets whether to always generate soft linebreaks.
public  voidsetAlwaysUseUnicode(boolean alwaysUseUnicode)
     Sets whether to represent all characters bigger than 'z' as unicode.
public  voidsetDataCacheStyle(int dataCacheStyle)
     Sets the data cache style.
public  voidsetImagePDFConformance(boolean imagePDFConformance)
     Sets the image PDF conformance setting.
public  voidsetOptionsForMSWord2000And97()
     Set the options required for RTF documents to display correctly in MS Word 2000 and MS Word 97.
public  voidsetOptionsForMSWordForMac()
     Set the options required for RTF documents to display correctly in MS Word for Mac.
public  voidsetOptionsForMSWordXP()
     Set the options required for RTF documents to display correctly in MS Word XP (2002).
public  voidsetOptionsForOpenOfficeOrg()
     Set the options required for RTF documents to display correctly in OpenOffice.Org Writer.
public  voidsetOutputDebugLineBreaks(boolean outputDebugLineBreaks)
     Sets whether to output the line breaks for increased rtf document readability.
public  voidsetOutputTableRowDefinitionAfter(boolean outputTableRowDefinitionAfter)
     Sets whether the table row definition should also be written after the cell content.
public  voidsetWriteImageScalingInformation(boolean writeImageScalingInformation)
     Sets whether image scaling information should be written.


Constructor Detail
RtfDocumentSettings
public RtfDocumentSettings(RtfDocument document)(Code)
Constructs a new RtfDocumentSettings object.
Parameters:
  document - The RtfDocument this RtfDocumentSettings belong to.




Method Detail
getDataCacheStyle
public int getDataCacheStyle()(Code)
Gets the current data cache style. The current data cache style.



isAlwaysGenerateSoftLinebreaks
public boolean isAlwaysGenerateSoftLinebreaks()(Code)
Gets whether all linebreaks inside Chunks are generated as soft linebreaks. True if soft linebreaks are generated, false for hard linebreaks.



isAlwaysUseUnicode
public boolean isAlwaysUseUnicode()(Code)
Gets whether all characters bigger than 'z' are represented as unicode. True if unicode representation is used, false otherwise.



isImagePDFConformance
public boolean isImagePDFConformance()(Code)
Gets the current setting on image PDF conformance. The current image PDF conformance.



isOutputDebugLineBreaks
public boolean isOutputDebugLineBreaks()(Code)
Gets whether to output the line breaks for increased rtf document readability. Whether to output line breaks.



isOutputTableRowDefinitionAfter
public boolean isOutputTableRowDefinitionAfter()(Code)
Gets whether the table row definition should also be written after the cell content. Returns the outputTableRowDefinitionAfter.



isWriteImageScalingInformation
public boolean isWriteImageScalingInformation()(Code)
Gets whether to write scaling information for images. Whether to write scaling information for images.



registerParagraphStyle
public void registerParagraphStyle(RtfParagraphStyle rtfParagraphStyle)(Code)
Registers the RtfParagraphStyle for further use in the document. This does not need to be done for the default styles in the RtfParagraphStyle object. Those are added automatically.
Parameters:
  rtfParagraphStyle - The RtfParagraphStyle to register.



setAlwaysGenerateSoftLinebreaks
public void setAlwaysGenerateSoftLinebreaks(boolean alwaysGenerateSoftLinebreaks)(Code)
Sets whether to always generate soft linebreaks.
Parameters:
  alwaysGenerateSoftLinebreaks - Whether to always generate soft linebreaks.



setAlwaysUseUnicode
public void setAlwaysUseUnicode(boolean alwaysUseUnicode)(Code)
Sets whether to represent all characters bigger than 'z' as unicode.
Parameters:
  alwaysUseUnicode - True to use unicode representation, false otherwise.



setDataCacheStyle
public void setDataCacheStyle(int dataCacheStyle)(Code)
Sets the data cache style. This controls where the document is cached during generation. Two cache styles are supported:
  • RtfDataCache.CACHE_MEMORY: The document is cached in memory. This is fast, but places a limit on how big the document can get before causing OutOfMemoryExceptions.
  • RtfDataCache.CACHE_DISK: The document is cached on disk. This is slower than the CACHE_MEMORY setting, but the document size is now only constrained by the amount of free disk space.

Parameters:
  dataCacheStyle - The data cache style to set. Valid constants can be foundin RtfDataCache.
See Also:   com.lowagie.text.rtf.document.output.RtfDataCache



setImagePDFConformance
public void setImagePDFConformance(boolean imagePDFConformance)(Code)
Sets the image PDF conformance setting. By default images will be added as if they were displayed with 72dpi. Set this to false if images should be generated with the Word default DPI setting.
Parameters:
  imagePDFConformance - True if PDF equivalence is desired, falsefor the default Word display.



setOptionsForMSWord2000And97
public void setOptionsForMSWord2000And97()(Code)
Set the options required for RTF documents to display correctly in MS Word 2000 and MS Word 97. Sets outputTableRowDefinitionAfter = true and writeImageScalingInformation = true.



setOptionsForMSWordForMac
public void setOptionsForMSWordForMac()(Code)
Set the options required for RTF documents to display correctly in MS Word for Mac. Sets writeImageScalingInformation = true.



setOptionsForMSWordXP
public void setOptionsForMSWordXP()(Code)
Set the options required for RTF documents to display correctly in MS Word XP (2002). Sets writeImageScalingInformation = false.



setOptionsForOpenOfficeOrg
public void setOptionsForOpenOfficeOrg()(Code)
Set the options required for RTF documents to display correctly in OpenOffice.Org Writer. Sets outputTableRowDefinitionAfter = false.



setOutputDebugLineBreaks
public void setOutputDebugLineBreaks(boolean outputDebugLineBreaks)(Code)
Sets whether to output the line breaks for increased rtf document readability. Some line breaks may be added where the rtf specification demands it.
Parameters:
  outputDebugLineBreaks - The outputDebugLineBreaks to set.



setOutputTableRowDefinitionAfter
public void setOutputTableRowDefinitionAfter(boolean outputTableRowDefinitionAfter)(Code)
Sets whether the table row definition should also be written after the cell content. This is recommended to be set to true if you need Word2000 compatiblity and false if the document should be opened in OpenOffice.org Writer.
Parameters:
  outputTableRowDefinitionAfter - The outputTableRowDefinitionAfter to set.



setWriteImageScalingInformation
public void setWriteImageScalingInformation(boolean writeImageScalingInformation)(Code)
Sets whether image scaling information should be written. This needs to be set to true MS Word 2000, MS Word 97 and Word for Mac.
Parameters:
  writeImageScalingInformation - Whether to write image scaling information.



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.