|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL-FO - Region-Body overflowing into Region-After
At 2005-07-31 20:16 +0000, craig webber wrote:
The content in my Region-Body is "overflowing" over or into the Region-Afteron, where the page numbers are. Can anybody see what I'm doing wrong? Code below, thanks Craig. You need margins on your body region to limit its extent from occupying the same space on the page as the extents of your perimeter regions. I'm guessing from your not having specified a margin-bottom that your use of margin-top above is to separate your content of your page 2cm from the content of your header. You need 3cm for your header and 2cm for the above (if I've guessed correctly), and you need a bottom margin of at least 1cm to miss the after region: <fo:region-body margin-top="5cm" margin-bottom="1cm"/> <fo:region-before extent="3cm"/> <fo:region-after extent="1cm"/> </fo:simple-page-master> </fo:layout-master-set> XSL-FO does not implicitly shrink the body region to make room for the extents of perimeter regions. In fact, that they overlap is a critically important aspect of the UBL stylesheets that I've made available free on my web site: I draw the form borders as a full-page-sized region-before, and then overlay the form content in the region-body on top of the drawn form. This gives me the ability to implement continuation pages with a single flow, and is *not* a typical use of perimeter regions, so I'm not mentioning this as a recommended approach, only that the design given to us for XSL-FO accommodates what I need to do. I hope this helps. . . . . . . . . Ken
|
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
|

Cart








