Hi,
This seems to be a problem with FOP 0.94. When processing the same FO file with FOP 0.95, I don't see that problem. Try upgrading to version 0.95.

Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]


----- Original Message ----- From: <[EMAIL PROTECTED]>
To: "Docbook-Apps" <[email protected]>
Sent: Thursday, November 13, 2008 1:33 PM
Subject: [docbook-apps] fo:external-graphic in header allign



Hi,

I try to put the external-graphic in header and when I do something like
this(fo/pagesetup.xsl) in header.content:

   <xsl:when test="$position='left'">
       <fo:block>
       some text
       </fo:block>
     </xsl:when>

     <xsl:when test="$position='center'">
       <fo:block>
       Some text
       </fo:block>
     </xsl:when>

     <xsl:when test="$position='right'">
       <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format";
text-align="right">
     <fo:external-graphic content-height="scale-to-fit"
display-align="right"
     height="26mm" width="40mm"
src="xxe-config:../config_ifb/xsl/fo/img/square.png"/>
       </fo:block>
     </xsl:when>

the result is that the 'some text' blocks in left and center position are
on the same lavel and the image is always line below the text. When I have
more text e.g on left position it always moves down the image, which is in
the right position.
I want the image on the right posittion always on top, without the move
when I add new line in left or center.
How can I set the external graphic there to be static and on top of the
right position (right cell in the header table).

I am using Apache FOP 0.94.

Thank you for help in advance.
Jacek


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





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

Reply via email to