[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: apache fop - formating question

Subject: Re: apache fop - formating question
From: "Siarhei Baidun" <s.baidun@xxxxxxxxxxxxxxxxx>
Date: Tue, 17 Sep 2002 11:13:41 +0300
fop utf 8
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.baidun@xxxxxxxxxxxxxxxxx
----- Original Message -----
From: "Thomas Sandor" <tsandor@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, September 16, 2002 5:29 PM
Subject:  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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.