0

i am trying to put some text beside a photo and i want this text to flow under the image as following. I use FOP 1.0 so i can't really use the float element

enter image description here

I tried to do it with absolute positioning of a block-container but then the text goes under the image, too.

<fo:block >
    <xsl:apply-templates select="//StringValue[@name='myString']/Value/node()" />
<fo:block-container   width="140px" wrap-option="wrap" >
    <fo:block >
        <fo:external-graphic content-height="3.4cm"     
        content-width="5.3cm" scaling="scale-to-fit" src="{//StringValue[@name = 'photo']/Value}" />
    </fo:block>
</fo:block-container>   
</fo:block>

any clues?

MordechayS
  • 1,552
  • 2
  • 19
  • 29
kosta.dani
  • 447
  • 2
  • 11

0 Answers0