Re: conditional page break

Could you provide a little more detail around the flow-map?


Tony Graham-3 wrote:
> 
> On Tue, Oct 20 2009 15:55:49 +0100, tamsin@anorakgirl.co.uk wrote:
>> I am trying to find a way to conditionally start a new page within a PDF.
>> Basically, if block A fits on one page, even with space remaining, block
>> B
>> should start on a new page. But if block A runs onto the next page, block
>> B
>> should start straight after block A.
> 
> If you are using an XSL 1.1 processor and A is the only thing on its
> page, then you could use a flow map and put A and B in separate flows.
> 
> You could direct A to its page and the second page, and direct B to the
> second page.  If A overflows its page, its flow would continue on the
> second page.
> 
> The fo:layout-master-set would have to have just a
> fo:single-page-master-reference for the first page.
> 
> Regards,
> 
> 
> Tony Graham                         Tony.Graham@MenteithConsulting.com
> Director                                  W3C XSL FO SG Invited Expert
> Menteith Consulting Ltd                               XML Guild member
> XML, XSL and XSLT consulting, programming and training
> Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
> Registered in Ireland - No. 428599   http://www.menteithconsulting.com
>   --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
> xmlroff XSL Formatter                               http://xmlroff.org
> xslide Emacs mode                  http://www.menteith.com/wiki/xslide
> Unicode: A Primer                               urn:isbn:0-7645-4625-2
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/conditional-page-break-tp25979086p26010489.html
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.

Received on Thursday, 22 October 2009 14:07:47 UTC