Next in thread → Next in month →

Re: [docbook-apps] fo:external-graphic in header allign

From
Bob Stayton <>
Date
2008-11-13T22:02:19+00:00
ID
00f901c945db$75474850$6a00a8c0@pazu
Thread
Re: [docbook-apps] fo:external-graphic in header allign
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



----- Original Message ----- 
From: <>
To: "Docbook-Apps" <>
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: 
> For additional commands, e-mail: 
>
>
>
Next in thread → Next in month →