From c2ff6ef02e6f05aa540dd9a54d1a0476b41d6c77 Mon Sep 17 00:00:00 2001
From: Jeremias Maerki
Date: Wed, 11 Jun 2008 13:33:20 +0000
Subject: [PATCH] Some notes on RTF and print output.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95@666662 13f79535-47bb-0310-9956-ffa450edef68
---
.../content/xdocs/0.95/output.xml | 28 ++++++++++++++++++
.../content/xdocs/trunk/output.xml | 29 +++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/src/documentation/content/xdocs/0.95/output.xml b/src/documentation/content/xdocs/0.95/output.xml
index 628df1248..2a4654399 100644
--- a/src/documentation/content/xdocs/0.95/output.xml
+++ b/src/documentation/content/xdocs/0.95/output.xml
@@ -703,6 +703,24 @@ out = proc.getOutputStream();]]>
RTF output is currently unmaintained and lacks many features compared to other output
formats. Using other editable formats like Open Document Format, instead of producing XSL-FO
then RTF through FOP, might give better results.
+
+ These are some known restrictions compared to other supported output formats (not a complete list):
+
+
+ -
+ Not supported/implemented:
+
+ - break-before/after (supported by the RTF library but not tied into the RTFHandler)
+ - fo:leader
+ - fo:page-number-citation(-last)
+ - proportional-column-width() and percentages
+ - nested tables (the flatter your FO, the better the results in RTF!)
+ - keeps (supported by the RTF library but not tied into the RTFHandler)
+ - region-start/end (RTF limitation)
+
+
+ - Only a single page-master is supported
+
XML (Area Tree XML)
@@ -735,6 +753,16 @@ out = proc.getOutputStream();]]>
It is possible to directly print the document from the command line.
This is done with the same code that renders to the Java2D/AWT renderer.
+
+ Known issues
+
+ If you run into the problem that the printed output is incomplete on Windows:
+ this often happens to users printing to a PCL printer.
+ There seems to be an incompatibility between Java and certain PCL printer drivers
+ on Windows. Since most network-enabled laser printers support PostScript, try
+ switching to the PostScript printer driver for that printer model.
+
+
Bitmap (TIFF/PNG)
diff --git a/src/documentation/content/xdocs/trunk/output.xml b/src/documentation/content/xdocs/trunk/output.xml
index 628df1248..713168dee 100644
--- a/src/documentation/content/xdocs/trunk/output.xml
+++ b/src/documentation/content/xdocs/trunk/output.xml
@@ -703,6 +703,24 @@ out = proc.getOutputStream();]]>
RTF output is currently unmaintained and lacks many features compared to other output
formats. Using other editable formats like Open Document Format, instead of producing XSL-FO
then RTF through FOP, might give better results.
+
+ These are some known restrictions compared to other supported output formats (not a complete list):
+
+
+ -
+ Not supported/implemented:
+
+ - break-before/after (supported by the RTF library but not tied into the RTFHandler)
+ - fo:leader
+ - fo:page-number-citation(-last)
+ - proportional-column-width() and percentages
+ - nested tables (the flatter your FO, the better the results in RTF!)
+ - keeps (supported by the RTF library but not tied into the RTFHandler)
+ - region-start/end (RTF limitation)
+
+
+ - Only a single page-master is supported
+
XML (Area Tree XML)
@@ -735,6 +753,16 @@ out = proc.getOutputStream();]]>
It is possible to directly print the document from the command line.
This is done with the same code that renders to the Java2D/AWT renderer.
+
+ Known issues
+
+ If you run into the problem that the printed output is incomplete on Windows:
+ this often happens to users printing to a PCL printer.
+ There seems to be an incompatibility between Java and certain PCL printer drivers
+ on Windows. Since most network-enabled laser printers support PostScript, try
+ switching to the PostScript printer driver for that printer model.
+
+
Bitmap (TIFF/PNG)
@@ -886,3 +914,4 @@ out = proc.getOutputStream();]]>
+
--
2.39.5