- From: Victor Vishnyakov <tch_@mail.ru>
- Date: Tue, 25 Nov 2003 13:54:32 +0200
- To: <flora.fencl@rzb.at>, <www-xsl-fo@w3.org>
- Message-ID: <000001c3b34a$e63f8460$2500a8c0@ISLC.local>
Hi, > thank you very much for your hint. > I also found one of your samples ( from 2003-11-04, listed > below). I thought with this help, I can make it. Ran it, but > i only got a pdf with the first page (out of 5) I use Apache > FOP with Cocoon. Maybe you can give me a second hint. Thanks > and regards, > > Flora > > sample: I've attached various renders( who could cope with this task ) formatting results. My FOP generates "page-sequence-master.5pages.fo.fop.pdf". It's version is 0.20.5. > <?xml version="1.0" encoding="UTF-8"?> > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> > <fo:layout-master-set> > <fo:simple-page-master > page-width="1cm" page-height="3cm" master-name="1stP"> > <fo:region-body > region-name="xsl-region-body" margin-top="1cm"/> > <fo:region-before > region-name="1stBe" extent="1cm"/> > </fo:simple-page-master> > <fo:simple-page-master > page-width="2cm" page-height="3cm" master-name="2ndP"> > <fo:region-body > region-name="xsl-region-body" margin-top="1cm"/> > <fo:region-before > region-name="2ndBe" extent="1cm"/> > </fo:simple-page-master> > <fo:simple-page-master > page-width="3cm" page-height="3cm" master-name="3rdP"> > <fo:region-body > region-name="xsl-region-body" margin-top="1cm"/> > <fo:region-before > region-name="3rdBe" extent="1cm"/> > </fo:simple-page-master> > <fo:simple-page-master > page-width="4cm" page-height="3cm" master-name="4thP"> > <fo:region-body > region-name="xsl-region-body" margin-top="1cm"/> > <fo:region-before > region-name="4thBe" extent="1cm"/> > </fo:simple-page-master> > <fo:simple-page-master > page-width="5cm" page-height="3cm" master-name="5thP"> > <fo:region-body > region-name="xsl-region-body" margin-top="1cm"/> > <fo:region-before > region-name="5thBe" extent="1cm"/> > </fo:simple-page-master> > <fo:page-sequence-master master-name="first"> > > <fo:repeatable-page-master-reference > maximum-repeats="1" master-reference="1stP"/> > > <fo:repeatable-page-master-reference > maximum-repeats="1" master-reference="2ndP"/> > > <fo:repeatable-page-master-reference > maximum-repeats="1" master-reference="3rdP"/> > > <fo:repeatable-page-master-reference > maximum-repeats="1" master-reference="4thP"/> > > <fo:repeatable-page-master-reference > maximum-repeats="1" master-reference="5thP"/> > </fo:page-sequence-master> > </fo:layout-master-set> > > <fo:page-sequence master-reference="first"> > <fo:static-content flow-name="1stBe"> > <fo:block>Data 1</fo:block> > </fo:static-content> > <fo:static-content flow-name="2ndBe"> > <fo:block>Data 2</fo:block> > </fo:static-content> > <fo:static-content flow-name="3rdBe"> > <fo:block>Data 3</fo:block> > </fo:static-content> > <fo:static-content flow-name="4thBe"> > <fo:block>Data 4</fo:block> > </fo:static-content> > <fo:static-content flow-name="5thBe"> > <fo:block>Data 5</fo:block> > </fo:static-content> > <fo:flow flow-name="xsl-region-body"> > <fo:block>Xml2PDF.NET is > the Microsoft .NET Framework based engine for converting > various XML data styled using XSL Formatting Objects to Adobe > PDF. Developed in pure managed C# it brings you full power of > Microsoft .NET environment. The wide selection of licenses > allows you to find the best solution covering your needs. > Xml2PDF.NET is the Microsoft .NET Framework based engine for > converting various XML data styled using XSL Formatting > Objects to Adobe PDF. Developed in pure managed C# it brings > you full power of Microsoft .NET environment. The wide > selection of licenses allows you to find the best solution > covering your needs. Xml2PDF.NET is the Microsoft .NET > Framework based engine for converting various XML data styled > using XSL Formatting Objects to Adobe PDF. Developed in pure > managed C# it brings you full power of Microsoft .NET > environment. The wide selection of licenses allows you to > find the best solution covering your needs.</fo:block> > </fo:flow> > </fo:page-sequence> > </fo:root> > > > > > tch_@mail.ru am 25.11.2003 10:43:55 > > An: flora.fencl@rzb.at, www-xsl-fo@w3.org > Kopie: > Thema: RE: pagenation problem > > > Take a look at > > 6.4.9 fo:repeatable-page-master-reference > > Regards, > Victor Vishnyakov > > > > > I use Apache Fop and have a pagenation problem. > > I have following pages in this order > > a,a,a,b,b,b,b,... > > > > I do know that first there are 3 pages a. > > Then there are n pages b. > > the main difference between page a and b is, > > that page b has no static content. > > Do I need 2 page-sequence? > > if so I don't know how to refer to them. > > In fact I do not have a clue : ( > > I looked for examples, but i did not find a suiting solution. > > > > cheers > > > > Flora > > > > > > "This message and any attachment ("the Message") are > confidential. If you have received the Message in error, > please notify the sender immediately and delete the Message > from your system , any use of the Message is forbidden. > Correspondence via e-mail is primarily for information > purposes. RZB neither makes nor accepts legally binding > statements unless otherwise agreed to the contrary." > > > >
Attachments
- application/pdf attachment: page-sequence-master.5pages.fo.xep.pdf
- application/pdf attachment: page-sequence-master.5pages.fo.altsoft.pdf
- application/pdf attachment: page-sequence-master.5pages.fo.fop.pdf
- text/xml attachment: page-sequence-master.5pages.fo
- application/pdf attachment: page-sequence-master.5pages.fo.fop.pdf
Received on Tuesday, 25 November 2003 06:54:29 UTC