Java Doc for JRPdfExporterParameter.java in  » Report » jasperreports-2.0.1 » net » sf » jasperreports » engine » export » 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 » Report » jasperreports 2.0.1 » net.sf.jasperreports.engine.export 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sf.jasperreports.engine.JRExporterParameter
      net.sf.jasperreports.engine.export.JRPdfExporterParameter

JRPdfExporterParameter
public class JRPdfExporterParameter extends JRExporterParameter (Code)
Contains parameters useful for export in PDF format.

The PDF exporter can send data to an output stream or a file on disk. The engine looks among the export parameters in order to find the selected output type in this order: OUTPUT_STREAM, OUTPUT_FILE, OUTPUT_FILE_NAME.


author:
   Teodor Danciu (teodord@users.sourceforge.net)
version:
   $Id: JRPdfExporterParameter.java 1827 2007-08-24 13:54:20Z teodord $



Field Summary
final public static  JRPdfExporterParameterFORCE_LINEBREAK_POLICY
     Flag that decides whether the PDF exporter should use a com.lowagie.text.SplitCharacter SplitCharacter implementation which ensures that report texts are broken into lines by iText in the same manner as done by the fill process.

The default line-breaking logic differs from AWT (which is used during the report fill) to iText (used by the PDF exporter).

final public static  JRPdfExporterParameterFORCE_SVG_SHAPES
     Flag to force the rendering of SVG images using shapes, on the PDF Graphics2D context. This allows rendering fonts as shapes and avoid font mapping issues that might cause Unicode text not to show up properly, but has the disadvantage of producing larger PDF files. By default, the flag is set to true, mainly due to backward compatibility reasons. To reduce PDF file size for documents containing SVG images such as charts, the flag should be turned to false, and the PDF exporter font mappings should be correctly configured using the JRExporterParameter.FONT_MAP FONT_MAP exporter parameter to ensure proper rendering of text in the SVG. This flag can be set system-wide using the JRPdfExporterParameter.PROPERTY_FORCE_SVG_SHAPES PROPERTY_FORCE_SVG_SHAPES property.
final public static  JRPdfExporterParameterIS_128_BIT_KEY
     A boolean value specifying whether the encryption key is 128 bits.
final public static  JRPdfExporterParameterIS_COMPRESSED
     A boolean value specifying whether the PDF document should be compressed.
final public static  JRPdfExporterParameterIS_CREATING_BATCH_MODE_BOOKMARKS
    
final public static  JRPdfExporterParameterIS_ENCRYPTED
     A boolean value specifying whether the final PDF document should be encrypted.
final public static  JRPdfExporterParameterMETADATA_AUTHOR
     The Author of the PDF document, as String.
final public static  JRPdfExporterParameterMETADATA_CREATOR
     The Creator or Application for the PDF document, as String, defaults to JasperReports.
final public static  JRPdfExporterParameterMETADATA_KEYWORDS
     The Keywords of the PDF document, as comma-separated String.
final public static  JRPdfExporterParameterMETADATA_SUBJECT
     The Subject of the PDF document, as String.
final public static  JRPdfExporterParameterMETADATA_TITLE
     The Title of the PDF document, as String.
final public static  JRPdfExporterParameterOWNER_PASSWORD
     The password belonging to the owner of the document, if it is encrypted.
final public static  JRPdfExporterParameterPDF_JAVASCRIPT
    
final public static  JRPdfExporterParameterPDF_VERSION
     A Character instance representing the version of the generated PDF.
public static  CharacterPDF_VERSION_1_2
    
public static  CharacterPDF_VERSION_1_3
    
public static  CharacterPDF_VERSION_1_4
    
public static  CharacterPDF_VERSION_1_5
    
public static  CharacterPDF_VERSION_1_6
    
final public static  JRPdfExporterParameterPERMISSIONS
     An integer value representing the PDF permissions for the generated document.
final public static  StringPROPERTY_128_BIT_KEY
     Property whose value is used as default state of the JRPdfExporterParameter.IS_128_BIT_KEY IS_128_BIT_KEY export flag.
final public static  StringPROPERTY_COMPRESSED
     Property whose value is used as default state of the JRPdfExporterParameter.IS_COMPRESSED IS_COMPRESSED export flag.
final public static  StringPROPERTY_CREATE_BATCH_MODE_BOOKMARKS
     Property whose value is used as default state of the JRPdfExporterParameter.IS_CREATING_BATCH_MODE_BOOKMARKS IS_CREATING_BATCH_MODE_BOOKMARKS export flag.
final public static  StringPROPERTY_ENCRYPTED
     Property whose value is used as default state of the JRPdfExporterParameter.IS_ENCRYPTED IS_ENCRYPTED export flag.
final public static  StringPROPERTY_FORCE_LINEBREAK_POLICY
     Property that provides a default value for the JRPdfExporterParameter.FORCE_LINEBREAK_POLICY FORCE_LINEBREAK_POLICY PDF exporter parameter.
final public static  StringPROPERTY_FORCE_SVG_SHAPES
     Property that provides a default value for the JRPdfExporterParameter.FORCE_SVG_SHAPES FORCE_SVG_SHAPES PDF exporter parameter.
final public static  StringPROPERTY_OWNER_PASSWORD
     Property whose value is used as default for the JRPdfExporterParameter.OWNER_PASSWORD OWNER_PASSWORD export parameter.
final public static  StringPROPERTY_PDF_JAVASCRIPT
     Property whose value is used as default for the JRPdfExporterParameter.PDF_JAVASCRIPT PDF_JAVASCRIPT export parameter.
final public static  StringPROPERTY_PDF_VERSION
     Property whose value is used as default for the JRPdfExporterParameter.PDF_VERSION PDF_VERSION export parameter.
final public static  StringPROPERTY_USER_PASSWORD
     Property whose value is used as default for the JRPdfExporterParameter.USER_PASSWORD USER_PASSWORD export parameter.
final public static  JRPdfExporterParameterUSER_PASSWORD
     The user password needed to open the document, if it is encrypted.

Constructor Summary
protected  JRPdfExporterParameter(String name)
    


Field Detail
FORCE_LINEBREAK_POLICY
final public static JRPdfExporterParameter FORCE_LINEBREAK_POLICY(Code)
Flag that decides whether the PDF exporter should use a com.lowagie.text.SplitCharacter SplitCharacter implementation which ensures that report texts are broken into lines by iText in the same manner as done by the fill process.

The default line-breaking logic differs from AWT (which is used during the report fill) to iText (used by the PDF exporter). By setting this flag, the logic used by AWT is imposed to iText. The drawback is that the PDF export performance would drop. Because of this, the flag is not set by default.

This flag can be set system-wide using the JRPdfExporterParameter.PROPERTY_FORCE_LINEBREAK_POLICY PROPERTY_FORCE_LINEBREAK_POLICY property. This export parameter overrides the property value.
See Also:   JRPdfExporterParameter.PROPERTY_FORCE_LINEBREAK_POLICY
See Also:   net.sf.jasperreports.engine.util.BreakIteratorSplitCharacter




FORCE_SVG_SHAPES
final public static JRPdfExporterParameter FORCE_SVG_SHAPES(Code)
Flag to force the rendering of SVG images using shapes, on the PDF Graphics2D context. This allows rendering fonts as shapes and avoid font mapping issues that might cause Unicode text not to show up properly, but has the disadvantage of producing larger PDF files. By default, the flag is set to true, mainly due to backward compatibility reasons. To reduce PDF file size for documents containing SVG images such as charts, the flag should be turned to false, and the PDF exporter font mappings should be correctly configured using the JRExporterParameter.FONT_MAP FONT_MAP exporter parameter to ensure proper rendering of text in the SVG. This flag can be set system-wide using the JRPdfExporterParameter.PROPERTY_FORCE_SVG_SHAPES PROPERTY_FORCE_SVG_SHAPES property. This export parameter overrides the property value.
See Also:   JRPdfExporterParameter.PROPERTY_FORCE_SVG_SHAPES
See Also:   net.sf.jasperreports.engine.JRExporterParameter.FONT_MAP



IS_128_BIT_KEY
final public static JRPdfExporterParameter IS_128_BIT_KEY(Code)
A boolean value specifying whether the encryption key is 128 bits.



IS_COMPRESSED
final public static JRPdfExporterParameter IS_COMPRESSED(Code)
A boolean value specifying whether the PDF document should be compressed.



IS_CREATING_BATCH_MODE_BOOKMARKS
final public static JRPdfExporterParameter IS_CREATING_BATCH_MODE_BOOKMARKS(Code)
A boolean value specifying whether the PDF document should contain an outline section



IS_ENCRYPTED
final public static JRPdfExporterParameter IS_ENCRYPTED(Code)
A boolean value specifying whether the final PDF document should be encrypted.



METADATA_AUTHOR
final public static JRPdfExporterParameter METADATA_AUTHOR(Code)
The Author of the PDF document, as String.



METADATA_CREATOR
final public static JRPdfExporterParameter METADATA_CREATOR(Code)
The Creator or Application for the PDF document, as String, defaults to JasperReports.



METADATA_KEYWORDS
final public static JRPdfExporterParameter METADATA_KEYWORDS(Code)
The Keywords of the PDF document, as comma-separated String.



METADATA_SUBJECT
final public static JRPdfExporterParameter METADATA_SUBJECT(Code)
The Subject of the PDF document, as String.



METADATA_TITLE
final public static JRPdfExporterParameter METADATA_TITLE(Code)
The Title of the PDF document, as String.



OWNER_PASSWORD
final public static JRPdfExporterParameter OWNER_PASSWORD(Code)
The password belonging to the owner of the document, if it is encrypted. If the password is null, it will be replaced by a random string.



PDF_JAVASCRIPT
final public static JRPdfExporterParameter PDF_JAVASCRIPT(Code)
The user defined JavaScript piece of code to be inserted in the generated PDF document



PDF_VERSION
final public static JRPdfExporterParameter PDF_VERSION(Code)
A Character instance representing the version of the generated PDF. This class contains predefined constants that can be passed as parameters directly.



PDF_VERSION_1_2
public static Character PDF_VERSION_1_2(Code)



PDF_VERSION_1_3
public static Character PDF_VERSION_1_3(Code)



PDF_VERSION_1_4
public static Character PDF_VERSION_1_4(Code)



PDF_VERSION_1_5
public static Character PDF_VERSION_1_5(Code)



PDF_VERSION_1_6
public static Character PDF_VERSION_1_6(Code)



PERMISSIONS
final public static JRPdfExporterParameter PERMISSIONS(Code)
An integer value representing the PDF permissions for the generated document. The open permissions for the document can be AllowPrinting, AllowModifyContents, AllowCopy, AllowModifyAnnotations, AllowFillIn, AllowScreenReaders, AllowAssembly and AllowDegradedPrinting (these can all be found in the PdfWriter class of iText library). The permissions can be combined by applying bitwise OR to them.



PROPERTY_128_BIT_KEY
final public static String PROPERTY_128_BIT_KEY(Code)
Property whose value is used as default state of the JRPdfExporterParameter.IS_128_BIT_KEY IS_128_BIT_KEY export flag.

This property is by default not set (false).
See Also:   JRProperties




PROPERTY_COMPRESSED
final public static String PROPERTY_COMPRESSED(Code)
Property whose value is used as default state of the JRPdfExporterParameter.IS_COMPRESSED IS_COMPRESSED export flag.

This property is by default not set (false).
See Also:   JRProperties




PROPERTY_CREATE_BATCH_MODE_BOOKMARKS
final public static String PROPERTY_CREATE_BATCH_MODE_BOOKMARKS(Code)
Property whose value is used as default state of the JRPdfExporterParameter.IS_CREATING_BATCH_MODE_BOOKMARKS IS_CREATING_BATCH_MODE_BOOKMARKS export flag.

This property is by default not set (false).
See Also:   JRProperties




PROPERTY_ENCRYPTED
final public static String PROPERTY_ENCRYPTED(Code)
Property whose value is used as default state of the JRPdfExporterParameter.IS_ENCRYPTED IS_ENCRYPTED export flag.

This property is by default not set (false).
See Also:   JRProperties




PROPERTY_FORCE_LINEBREAK_POLICY
final public static String PROPERTY_FORCE_LINEBREAK_POLICY(Code)
Property that provides a default value for the JRPdfExporterParameter.FORCE_LINEBREAK_POLICY FORCE_LINEBREAK_POLICY PDF exporter parameter.
See Also:   JRPdfExporterParameter.FORCE_LINEBREAK_POLICY



PROPERTY_FORCE_SVG_SHAPES
final public static String PROPERTY_FORCE_SVG_SHAPES(Code)
Property that provides a default value for the JRPdfExporterParameter.FORCE_SVG_SHAPES FORCE_SVG_SHAPES PDF exporter parameter.



PROPERTY_OWNER_PASSWORD
final public static String PROPERTY_OWNER_PASSWORD(Code)
Property whose value is used as default for the JRPdfExporterParameter.OWNER_PASSWORD OWNER_PASSWORD export parameter.
See Also:   JRProperties



PROPERTY_PDF_JAVASCRIPT
final public static String PROPERTY_PDF_JAVASCRIPT(Code)
Property whose value is used as default for the JRPdfExporterParameter.PDF_JAVASCRIPT PDF_JAVASCRIPT export parameter.
See Also:   JRProperties



PROPERTY_PDF_VERSION
final public static String PROPERTY_PDF_VERSION(Code)
Property whose value is used as default for the JRPdfExporterParameter.PDF_VERSION PDF_VERSION export parameter. Possible values of the this property are 2, 3, 4, 5 and 6.
See Also:   JRProperties



PROPERTY_USER_PASSWORD
final public static String PROPERTY_USER_PASSWORD(Code)
Property whose value is used as default for the JRPdfExporterParameter.USER_PASSWORD USER_PASSWORD export parameter.
See Also:   JRProperties



USER_PASSWORD
final public static JRPdfExporterParameter USER_PASSWORD(Code)
The user password needed to open the document, if it is encrypted.




Constructor Detail
JRPdfExporterParameter
protected JRPdfExporterParameter(String name)(Code)




Fields inherited from net.sf.jasperreports.engine.JRExporterParameter
final public static JRExporterParameter CHARACTER_ENCODING(Code)(Java Doc)
final public static JRExporterParameter CLASS_LOADER(Code)(Java Doc)
final public static JRExporterParameter END_PAGE_INDEX(Code)(Java Doc)
final public static JRExporterParameter FONT_MAP(Code)(Java Doc)
final public static JRExporterParameter HYPERLINK_PRODUCER_FACTORY(Code)(Java Doc)
final public static JRExporterParameter INPUT_FILE(Code)(Java Doc)
final public static JRExporterParameter INPUT_FILE_NAME(Code)(Java Doc)
final public static JRExporterParameter INPUT_STREAM(Code)(Java Doc)
final public static JRExporterParameter INPUT_URL(Code)(Java Doc)
final public static JRExporterParameter JASPER_PRINT(Code)(Java Doc)
final public static JRExporterParameter JASPER_PRINT_LIST(Code)(Java Doc)
final public static JRExporterParameter OFFSET_X(Code)(Java Doc)
final public static JRExporterParameter OFFSET_Y(Code)(Java Doc)
final public static JRExporterParameter OUTPUT_FILE(Code)(Java Doc)
final public static JRExporterParameter OUTPUT_FILE_NAME(Code)(Java Doc)
final public static JRExporterParameter OUTPUT_STREAM(Code)(Java Doc)
final public static JRExporterParameter OUTPUT_STRING_BUFFER(Code)(Java Doc)
final public static JRExporterParameter OUTPUT_WRITER(Code)(Java Doc)
final public static JRExporterParameter PAGE_INDEX(Code)(Java Doc)
final public static JRExporterParameter PROGRESS_MONITOR(Code)(Java Doc)
final public static String PROPERTY_CHARACTER_ENCODING(Code)(Java Doc)
final public static JRExporterParameter START_PAGE_INDEX(Code)(Java Doc)
final public static JRExporterParameter URL_HANDLER_FACTORY(Code)(Java Doc)

Methods inherited from net.sf.jasperreports.engine.JRExporterParameter
public String toString()(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.