On 12/02/2017 12:50 PM, Tim Butterworth wrote:
I am using the XMLMind server to generate a DOCx format file (sample attached).On the front cover of the document, I wish for the ‘text’ (currently appearing on page 2) to ‘overlay’ on top of the front cover image. The definition for that section of the document as I have is like this: <fo:page-sequence master-reference="frontcover"> <fo:flow flow-name="xsl-region-body" font-size="11pt" margin-top="0.3cm" font-family="Calibri"> <fo:block-container absolute-position="absolute" top="0cm" left="0cm"> <fo:block z-index="1"> <fo:external-graphic z-index="1" content-width="21cm" content-height="29.7cm" src="{data/coverimage}"/> </fo:block> <fo:block z-index="2" color="black"> <xsl:value-of select="/data/countrynameucase"/>: <xsl:value-of select="/data/tripname"/> </fo:block> <fo:block z-index="2" color="black" margin-top="0.7cm" font-family="Calibri" font-size="18pt"> <xsl:value-of select="/data/leadname"/> </fo:block> </fo:block-container> </fo:flow> </fo:page-sequence> I have attempted many different ways to achieve this - and I was hoping that the x-index property would have worked for me? But it seems to not be doing what it should. Do you have any suggestions as to what may work?
--> Property z-index is not supported. See http://www.xmlmind.com/foconverter/conformance.html (search for "z-index").
--> Adding a background image (e.g. "data/coverimage") to your "frontcover" page-master (not to the flow) should allow you to achieve what you want.
How to do this is documented here: 4.10. Adding a watermark to the generated document http://www.xmlmind.com/foconverter/_distrib/doc/user/implementation.html#watermark -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support

