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 Nguyen, Dung T <du...@boeing.com> on 2002/07/16 21:14:29 UTC

Unsubscribe My email

Unsubscribe

Sincerely your,


Dung T. Nguyen
IS Service Center - PW
253-657-0439


-----Original Message-----
From: J.Pietschmann [mailto:j3322ptm@yahoo.de]
Sent: Tuesday, July 16, 2002 12:07 PM
To: fop-user@xml.apache.org
Subject: Re: right and left pages with different content


Chuck Paussa wrote:
> Oh right. Don't expect FOP to flow the text for you.

Why not? It could be somewhat tricky though.

1. Use a table with two columns, each of the
width of a page.

+--------------+------------------+
   en text      | fr text
   ....         | ....
                | ....
+--------------+-------------------+
  next en sect  | next fr sect
  ...........

2. Render the stuff to the XML area tree.
3. Use XSLT to build a FO tree aganin, this time
with page boundaries
  <fo:block>en text... </fo:block>
  <fo:block>next en sect part 1</fo:block>
  <fo:block break-before="page">fr text...</fo:block>
  <fo:block>next fr sect part 1</fo:block>
  <fo:block break-before="page">next en sect part 2</fo:block>
etc.
Don't forget header+footers etc.

That's based on a rather cursory look at the XML area
tree, have fun to make it actually work...

J.Pietschmann