RealObjects PDFreactor Manual Version 5.1.5812.2

RealObjects GmbH


Table of Contents

Introduction
How Does PDFreactor Work?
I. Installation
1. The PDFreactor Service
2. Jetty
3. PHP Requirements
4. .NET Requirements
5. Perl/Python/Ruby Requirements
II. Integrating PDFreactor
1. Using the Java library
1.1. Using PDFreactor in a Servlet
1.2. Logging
2. Using PHP
3. Using .NET
4. Using Python
5. Using Perl
6. Using Ruby
7. Using the Command Line Interface
III. Input Formats
1. XML + CSS
2. XHTML/HTML + CSS
3. Compound Formats
3.1. Images
3.2. SVG
3.3. Barcode
3.4. MathML
3.5. QR Code
3.6. Object and Embed
IV. PDF Specific Features
1. Bookmarks
2. Links
3. Metadata
4. Interactive PDF Forms
5. Tagged PDF
6. PDF/A Conformance
7. PDF Page Boxes
8. Printer Marks
9. Print Dialog Prompt
10. PDF Compression
11. Encryption and Restrictions
12. Page Preview Images
13. Viewer Preferences
14. Merging PDFs
15. Digital Signing
16. Font Embedding
V. CSS and Paged Media
1. Generated Content
2. Counters
3. Page Selectors
4. Named Pages
5. Page Breaks
6. Widows and Orphans
7. Page Layout
8. Page Margin Boxes
9. Multi-Column Layout
10. Footnotes
11. Named Strings
12. Cross-references
13. Leaders
14. Table of Contents
15. Shrink-to-Fit
15.1. The property -ro-scale-content
15.2. The method setPixelsPerInchShrinkToFit
16. Hyphenation
17. Page Order
18. Pages Per Sheet
19. Booklet
20. Pixels per Inch
VI. PDFreactor Cookbook
1. How Do I Set the License Key?
2. How Do I Generate Page Numbers?
3. How Do I Create Numbered Headings?
4. How Do I Create Running Table Headers?
5. How Do I Create Pages in Landscape Format?
6. How Do I Print Tables at the Full Width of Pages?
7. How Do I Set CSS & XSLT Stylesheets?
8. How Do I Handle Relative References?
9. How Do I Set Styles for Print or Screen Only?
10. Automatic Resizing of Form Controls
11. How Do I Set Colors in CSS?
12. How Do I Resize Background Images?
13. How Do I Create Rounded Corners?
14. How Do I Place an Image in the Header?
15. How Do I Add a Line Break to Generated Content?
16. How Do I Use XHTML in Headers and Footers?
17. How Do I Create a Document With a Text Direction of Right-to-Left?
18. How Do I Save Memory if a Document Refers to Many or Very Large Image Files?
19. How can I determin programatically that content fits into its pages
20. How can I retrieve the number of pages of a converted document programatically?
21. How Do I Access Resources That Are Secured via Basic or Digest Authentication?
22. How can I set request headers and cookies for the outgoing connections of PDFreactor?
A. CSS Support
1. CSS Properties
2. Proprietary CSS Extensions
3. Preliminary CSS Level 3 Properties
4. CSS Pseudo-elements and -classes
5. Supported Page Size Formats
6. Supported length units
7. Hyphenation Dictionaries
8. CSS Color Keywords
9. Counter and List Style Types
B. The Command Line Interface
1. Quick Introduction to the Command Line Interface
2. Advanced Command Line Options
2.1. Displaying Information about the Rendering Process
2.2. Applying External Stylesheets
C. Fonts
1. Required Fonts
2. Default Font Mapping
3. Platform Specific Font Installation
3.1. Windows
3.2. Linux
3.3. Mac OS X
4. The Font Cache Mechanism
5. Controlling the Font Registration and Caching Mechanism
5.1. Command Line Options
5.2. Java API Options
5.3. Automatic Font Fallback
D. Support

List of Tables

IV.1. PDF/A conformance requirements
IV.2. List of methods to disable restrictions
IV.3. List of Viewer Preferences
VI.1. The first one specifies what to analyze:
VI.2. The second one specifies how to analyze:
A.1. Supported CSS properties
A.2. Proprietary CSS extensions
A.3. CSS Level 3 Properties
A.4. Supported Pseudo-elements/-classes
A.5. Key words for the supported A series formats, based on DIN 476/ISO 216, and their corresponding oversize formats
A.6. CSS Key words for the supported B series formats
A.7. Key words for the supported C series formats
A.8. Key words for supported international page formats
A.9. Supported length units
A.10. Supported hyphenation dictionaries
A.11. Supported Color Keywords
A.12. Supported counter and List Style Types
C.1. Default font mapping