[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: blank-or-not-blank attribute
tsterlin@xxxxxxxxxxxxxxxxx wrote:
<fo:page-sequence-master master-name="image"> <fo:repeatable-page-master-alternatives> <fo:conditional-page-master-reference master-reference="blankPage" blank-or-not-blank="blank"/> <fo:conditional-page-master-reference master-reference="theImage"/> </fo:repeatable-page-master-alternatives> </fo:page-sequence-master> You've defined a page sequence master that will *accomodate* a blank page, not one that will force one. That is, conditional-page-master-reference is used to associate page masters with particular types of pages: blank or not blank, odd or even, first or not first, last or not last. To force a blank page, simply use an empty fo:block with a break-after="page" property--this will generate a blank page. You can then use the page master as you've defined it to define the characteristics of that blank page. E.g.: <fo:block break-after="page"> <fo:leader leader-pattern="space" leader-length="0pt"/> </fo:block> [This use of fo:leader is the most reliable way to ensure the block is actually processed as some processors will ignore blocks with no non-blank content. If you need an empty block that takes no vertical space, set the line-height to "0pt" for the block.] Cheers, Eliot -- W. Eliot Kimber Professional Services Innodata Isogen 9390 Research Blvd, #410 Austin, TX 78759 (512) 372-8122 eliot@xxxxxxxxxxxxxxxxxxx www.innodata-isogen.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|