Hi,

I don't understand what is different between what you expect and what you get:
 - data (XXX...) is rendered over the image
 - there is no extra page

From what I can see, the result is OK regarding your XSL-FO.

There are some irregular things in your snippet, but they have no effect on result (see inline coments)

Le 11/11/2011 15:55, gkasper a écrit :



Pascal Sancho wrote:

That should be fixed with things mentionned in other response I made a
few seconds before:
- b-p-d.optimum set with absolute size
- correct typo for "scale-to-fit"


Hi Pascal,
Could you please try this, just generate real PDF at your local machine with
my background image file (attached). I put some text at the bottom of it so
that you can see if image gets cut off or not:
  <?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 page-height="279.4mm" page-width="215.9mm"
margin-top="0mm" margin-bottom="0mm" margin-left="0mm" margin-right="0mm"
master-name="PageMaster">
   <fo:region-body border-style="none" border-width="thin" margin-top="10mm"
margin-left="0mm" margin-right="0mm" margin-bottom="0mm" />
   </fo:simple-page-master>
   </fo:layout-master-set>
  <fo:page-sequence initial-page-number="1" master-reference="PageMaster">
  <fo:flow flow-name="xsl-region-body">
  <fo:block>
  <fo:block font-size="0">
   <fo:external-graphic src="url(MASTER.gif)"
block-progression-dimension.maximum="269.4mm"
block-progression-dimension.optimum="269.4mm"
.optimum equals .maximum: this is the defaults when you don't specify explicitely the .maximum

inline-progression-dimension="100%" content-height="269.4mm"
content-height should be scale-to-fit or scale-down-to-fit

content-width="scale-down-to-fit" scaling="uniform" />
   </fo:block>
  <fo:block-container absolute-position="absolute"
top="4.753550465282748746mm" left="102.14mm"
content-width="scale-down-to-fit" content-height="scale-down-to-fit"
scaling="uniform" font-size="0">
content-* and scaling don't apply to fo:block-container
these properties are for graphics FO.

   <fo:block font-weight="bold" font-size="10pt"
space-after="0em">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</fo:block>
   </fo:block-container>
</fo:block>
   </fo:flow>
   </fo:page-sequence>
   </fo:root>
http://old.nabble.com/file/p32826121/MASTER.gif MASTER.gif
I think I did what you suggested, but it doesn't work...
Could you please just send me the corrected snippet? I really appreciate
your help!

--
Pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to