Pascal Sancho wrote:
>
> Hi,
>
> You should apply them on fo:external-graphic: i-p-d and b-p-d replacing
> respectively width and height.
> fo:block b-p-d depends on its content if defaulting to 'auto'.
>
> content-* should have 'scale-to-fit' or equivalent value.
>
> You can leave fo:external-graphic/@i-p-d as '100%', that's ok.
>
Hi Pascal,
Thank you, still doesn't work...
As suggested before, here is a smallest sample XML:
<?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 top="10mm" left="0mm" width="215.9mm" height="269.4mm"
margin-top="0mm" margin-left="0mm" margin-right="0mm" margin-bottom="0mm">
<fo:external-graphic src="url(Images/MASTER_CMS-1500-v4.gif)"
content-height="269.4mm" content-width="215.9mm" scaling="uniform"
block-progression-dimension.maximum="269.4mm"
block-progression-dimension.optimum="269.4mm"
inline-progression-dimension="100%" />
</fo:block>
<fo:block-container absolute-position="absolute"
top="4.753550465282748746mm" left="102.14mm" content-width="scale-to-fit"
content-height="scale-to-fit" scaling="uniform" width="100%" height="100%"
margin-top="0mm" margin-left="0mm" margin-right="0mm" margin-bottom="0mm"
font-size="10pt">
<fo:block font-weight="bold"
space-after="0em">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</fo:block>
</fo:block-container>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root> http://old.nabble.com/file/p32805321/MASTER.gif MASTER.gif
I attached a sample gif file also. I would really appreciate if you could
help me here.
--
View this message in context:
http://old.nabble.com/Background-image-tp32788696p32805321.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]