You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Miroslav Pukhalsky <mi...@dekasoft.com.ua> on 2007/02/23 19:38:30 UTC
Problem with text flow
Hi there
I want to do something like this (see in attachment), but I do not know
how. If I use something like this
<fo:block>
<fo:block>
<xsl:element name="fo:external-graphic">
<xsl:attribute name="src">
<xsl:value-of select="imagepath"/>
</xsl:attribute>
</xsl:element>
</fo:block>
<xsl:value-of select="text"/>
</fo:block>
I have got picture and text under it. If I use something like this
<fo:block>
<xsl:element name="fo:external-graphic">
<xsl:attribute name="src">
<xsl:value-of select="imagepath"/>
</xsl:attribute>
</xsl:element>
<xsl:value-of select="text"/>
</fo:block>
I have got a big blank space between first and other rows.
What can I do for result like on the picture from attach?
Miroslav
Re: Problem with text flow
Posted by Chris Bowditch <bo...@hotmail.com>.
Miroslav Pukhalsky wrote:
> Hi there!
>
> Andreas L Delmelle wrote:
>
>> You would need to place the fo:external-graphic in an fo:float with
>> float="start", IIC.
>>
>> Unfortunately, this is not yet supported by any released FOP version.
>> IIRC, there is a branch that contains a basic implementation for
>> floats, but AFAIK this branch has not yet been merged back into the
>> trunk.
>>
>> No immediate workaround comes to mind.
>>
>
> I tried to use this feature, but got very sad result:
> WARNING: fo:float is not yet implemented.
>
>
> Have anyone other idea?
You could use a table to mimic this layout. But you would have to
manually break the text yourself at the end of the first cell of text (2
column first row in the table). So this solution may not be acceptable
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Problem with text flow
Posted by Miroslav Pukhalsky <mi...@dekasoft.com.ua>.
Hi there!
Andreas L Delmelle wrote:
> You would need to place the fo:external-graphic in an fo:float with
> float="start", IIC.
>
> Unfortunately, this is not yet supported by any released FOP version.
> IIRC, there is a branch that contains a basic implementation for floats,
> but AFAIK this branch has not yet been merged back into the trunk.
>
> No immediate workaround comes to mind.
>
I tried to use this feature, but got very sad result:
WARNING: fo:float is not yet implemented.
Have anyone other idea?
Miroslav
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Problem with text flow
Posted by Andreas L Delmelle <a_...@pandora.be>.
On Feb 23, 2007, at 19:38, Miroslav Pukhalsky wrote:
Hi,
> I want to do something like this (see in attachment), but I do not
> know how.
> <snip />
> What can I do for result like on the picture from attach?
You would need to place the fo:external-graphic in an fo:float with
float="start", IIC.
Unfortunately, this is not yet supported by any released FOP version.
IIRC, there is a branch that contains a basic implementation for
floats, but AFAIK this branch has not yet been merged back into the
trunk.
No immediate workaround comes to mind.
Sorry,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org