- From: Victor Vishnyakov <tch_@mail.ru>
- Date: Thu, 24 Feb 2005 18:48:12 +0200
- To: <www-xsl-fo@w3.org>
The general technique is to use separate fo:page-sequence for each document. Reference all of them to the same fo:page-sequence-master if you want the same layout for each document. Use different masters if different layouts are required. See example here: http://xslfo-zone.com/examples/xsl-fo/pagination-and-layout/multiple-documen ts-combined.jsp Best Regards, Victor Vishnyakov http://xslfo-zone.com/ > -----Original Message----- > From: www-xsl-fo-request@w3.org > [mailto:www-xsl-fo-request@w3.org] On Behalf Of Geoffroy de Menten > Sent: Wednesday, February 23, 2005 4:58 PM > To: www-xsl-fo@w3.org > Subject: Multiple clients on the same report > > > Hi, > > I have a problem that look simple but we cannot find a solution. > I am using a XML creator (programmed in java) and an XSL-FO > stylesheet. > > We would like to have a report with a different first page > layout (margin are changed), then all the same layout. But > this behaviour must be repeatable because more than one > client is printed at a time. > The number of clients and the number of page for one client > is variable. > > So it should look like (only one PDF) : (only an example, > should work for any number of client/ any number of pages/client) > > <First page layout>client1 header (p1) > <Rest layout>client1 body (p2) > <Rest layout>client1 body (p3) > <First page layout>client2 header (p4) > <Rest layout>client2 body (p5) > <Rest layout>client2 body (p6) > <Rest layout>client2 body (p7) > <First page layout>client3 header (p8) > <Rest layout>client3 body (p9) > > For the moment, no problem to have a different layout for the > first page, but how can I repeat it for the other clients ? > > Thanks in advance, > Geoffroy de Menten - Fortisbank > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail - Find what you need with new enhanced search. > Learn more. > --0-1125413794-1109170668=:72398 > Content-Type: text/html; charset=iso-8859-1 > Content-Transfer-Encoding: 8bit > > <DIV> > <DIV>Hi,<BR> <BR>I have a problem that look simple but > we cannot find a solution.<BR>I am using a XML creator > (programmed in java) and an XSL-FO > stylesheet.<BR> <BR>We would like to have a report with > a different first page layout (margin are changed), then all > the same layout. But this behaviour must be repeatable > because more than one client is printed at a time. <BR>The > number of clients and the number of page for one client is > variable.<BR> <BR>So it should look like (only one PDF) > : (only an example, should work for any number of client/ any > number of pages/client)<BR> <BR><First page > layout>client1 header (p1)<BR><Rest > layout>client1 body (p2)<BR><Rest > layout>client1 body (p3)<BR><First page > layout>client2 header (p4)<BR><Rest > layout>client2 body (p5)<BR><Rest > layout>client2 body (p6)<BR><Rest > layout>client2 body (p7)<BR><First page > layout>client3 header (p8)<BR><Rest > layout>client3 body (p9)<BR> <BR>For the > moment, no problem to have a different layout for the first > page, but how can I repeat it for the other clients > ?<BR> <BR>Thanks in advance,<BR>Geoffroy de Menten - > Fortisbank</DIV></DIV><p> > <hr size=1>Do you Yahoo!?<br> > Yahoo! Mail - Find what you need with new enhanced search. <a > href="http://us.rd.yahoo.com/evt=29917/*http://info.mail.yahoo > .com/mail_250">Learn more.</a> > --0-1125413794-1109170668=:72398-- > > > >
Received on Thursday, 24 February 2005 16:40:16 UTC