Hello,
We are using FOP in
a project for generating various documents and reports from xml data
in PDF format. We also need to generate RTF. Recently we
tried the 0.92 fop version in order to address the RTF output goal and we
encounter some problems whith this version:
First, the PDF renderer seems to have some
problems in printing diacritics, which previously, the 0.20 FOP
version was correctly displaying.
Second, the RTF renderer produce nice
results but with two shortcomings :
- the estimating of last page (e.g for
displaying Page 5 of Last Page) it doesn't work
- it doesn't recognize the first page (or the
header from the first page) from a definition which works fine with PDF
renderer, so the title of the report is
missing :
<fo:layout-master-set>
<fo:simple-page-master master-name="simpleA4" page-height="21cm" page-width="29.7cm" margin-top="1.5cm" margin-bottom="0cm" margin-left="1cm" margin-right="1cm"> <fo:region-body margin-bottom="12mm"/> <fo:region-after extent="10mm"/> </fo:simple-page-master> <fo:simple-page-master master-name="firstpage" page-height="21.7cm" page-width="29.7cm" margin-top="1.5cm" margin-bottom="0cm" margin-left="1cm" margin-right="1cm"> <fo:region-body margin-top="12mm" margin-bottom="15mm"/> <fo:region-before region-name="firstheader" extent="10mm"/> <fo:region-after extent="10mm"/> </fo:simple-page-master> <fo:page-sequence-master master-name="all"> <fo:repeatable-page-master-alternatives> <fo:conditional-page-master-reference master-reference="firstpage" page-position="first"/> <fo:conditional-page-master-reference master-reference="simpleA4" page-position="rest"/> </fo:repeatable-page-master-alternatives> </fo:page-sequence-master> </fo:layout-master-set> Somebody else have encounter these
problems?
Thanks for any hints
|