xsl-list
[Top] [All Lists]

Re: apache fop - formating question

2002-09-17 01:13:41
Hi, Thomas
May be it is not the best way but it works:

<?xml version="1.0" encoding="utf-8"?>

<fo:root font-family="Times Roman" font-size="12pt"
xmlns:fo="http://www.w3.org/1999/XSL/Format";>

<fo:layout-master-set>

<fo:simple-page-master master-name="left"
 margin-top="25pt" margin-bottom="25pt" margin-left="20pt"
margin-right="50pt">
      <fo:region-body
    margin-top="1in" margin-bottom="1in"
  column-count="3" column-gap="0.25in"/>

</fo:simple-page-master>

</fo:layout-master-set>

<fo:page-sequence master-reference="left">
  <fo:flow flow-name="xsl-region-body">
 <fo:block>hi all,
  does anyone know how to format a document with xslt (to produce a pdf
file)
  to do the following.
 </fo:block>
 <fo:block break-before="column"><fo:external-graphic
src="img/xml_feather.gif"/></fo:block>

 <fo:block break-before="column">I have some sentences in a paragraph and
have a picture (an illustration for
 it). </fo:block>
  </fo:flow>
</fo:page-sequence>
</fo:root>

Siarhei Baidun
SaM Solutions Ltd.
s(_dot_)baidun(_at_)sam-solutions(_dot_)net
----- Original Message -----
From: "Thomas Sandor" <tsandor(_at_)rndsoft(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Monday, September 16, 2002 5:29 PM
Subject: [xsl] apache fop - formating question



hi all,

does anyone know how to format a document with xslt (to produce a pdf
file)
to do the following:
I have some sentences in a paragraph and have a picture (an illustration
for
it). what I'd like to do is insert a picture e.g. in the center of the
page
and have the sentences from the paragraph sourround it. (not like 1
sentence, then comes the picture, and the second line comes from far
behind
the bottom of the picture.)

so anyone can help formating this output, please contact me.

cheers,
Thomas


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list