I'm sorry again ... as you may have now noticed I am still new to the FOP
objects, and just following the examples. 

However I have modified my code in order to save the FO syntax, which is as
follows:

[code]
%PDF-1.4
%ª«¬­
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
<fo:layout-master-set>
<fo:simple-page-master margin-right="2cm" margin-left="2cm"
margin-bottom="1cm" margin-top="1cm" page-width="21cm" page-height="29.7cm"
master-name="simpleA4">
<fo:region-body margin-bottom="1cm" margin-top="1cm"/>
<fo:region-before extent="2cm"/>
<fo:region-after extent="0.5cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="simpleA4">
<fo:static-content height="8cm" flow-name="xsl-region-before">
<fo:table table-layout="fixed">
<fo:table-column column-width="10cm"/>
<fo:table-column column-width="7cm"/>
<fo:table-body padding-right="0cm" padding-left="0cm" padding-after="0cm"
padding-before="0cm" padding-end="0cm" padding-start="0cm">
<fo:table-row>
<fo:table-cell>
<fo:block space-after="0.5cm" space-before="1cm" font-size="8pt"
text-align="left" height="4cm" width="10cm">
                                                                                
 
                                                                        
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="8pt" text-align="right">
                                                                                
header - 543543, Boss</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block color="#00ff00" space-after="0.5cm" space-before="1cm"
padding="0.2cm" font-size="16pt">
                                                Title
                                        </fo:block>
<fo:block color="#ff0000" space-after="0.5cm" space-before="1cm"
padding="0.2cm" font-size="12pt">
                                                Sub Title
                                        </fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
[/code]

If this is not what you want just tell me and I try to give you what you
need.

Regards,
sim085
--
View this message in context: 
http://www.nabble.com/PDF-reader-can-not-read-generated-file-t1818020.html#a4970973
Sent from the FOP - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to