- From: Dariusch Bagheri <Dariusch.Bagheri@gwi-ag.com>
- Date: Wed, 10 Oct 2001 17:35:00 +0200
- To: "'www-xsl-fo@w3c.org'" <www-xsl-fo@w3c.org>
- Message-ID: <53811A2271D0D41194120002B31FD38B99537F@exch01trier.trier.orbis-net.de>
Hi Fabio, I tried this possibility too. But the header will be repeated on every page (see attachment). Static content is repeated on every page in a page-sequence element, this conforms to the specs. Anyhow, i would prefer a 'clean' solution without any tricks. This is an every day problem in formatting and to solve it should be (relative) easy. Meanwhile i reread the specs and found that blocks generate block-areas while block-containers do not, they generate viewport/reference ports. Stacking rules apply only to block-areas. What do you think about the idea "block-container in a block" (even though fop cannot cope with this)? Then those blocks could be properly stacked. regards dariusch > -----Ursprüngliche Nachricht----- > Von: Giannetti, Fabio [mailto:Fabio_Giannetti@hplb.hpl.hp.com] > Gesendet: Mittwoch, 10. Oktober 2001 16:34 > An: 'www-xsl-fo@w3c.org' > Betreff: RE: stacking > > > Hi Dariusch, > why don't you try to generate a sequence with a > different first page > and put the address in the header. > I try to better explain the idea ... with some ASCII art ... > > |---------------| > | (header) | > | | > |address | > |---------------| > |text | > | (body) | > | | > > In this way you don't have to specify any space before > because the rendering > is inside separate areas, a static one (the header) and a > flow one (the > body). The second page (that can be repeated) will not > contain the address > > |---------------| > | (header) | > | | > |---------------| > |flowed text | > | (body) | > | | > > Hope this will help .... Fabio > > > -----Original Message----- > > From: Dariusch Bagheri [mailto:Dariusch.Bagheri@gwi-ag.com] > > Sent: 10 October 2001 12:38 > > To: 'www-xsl-fo@w3c.org' > > Subject: AW: stacking > > > > > > Hi Fabio, > > > > your solution works on the first page but the text will have a > > space-before="4.1cm" on every new page! Multiply the lines in > > the block and > > you will see. > > > > I experimented with different attributes but couldn't get > it right. I > > finally came across the possibility of putting the > > block-container into the > > block and leaving the rest to the rendering process, which, > > as i thought, > > would apply the stacking strategies mentioned in "4.2.5 Stacking > > Constraints" (XSL Ver. 1, 28.8.2001). But fop quits the > > process with errors > > and i am not sure, wether this is a bug or my > > misinterpretation of the xsl > > specs. > > > > regards > > dariusch > > >
Attachments
- application/octet-stream attachment: stacking2.fo
Received on Wednesday, 10 October 2001 11:33:56 UTC