[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] dynamic header height in region-before
Hello,
I'm back again with a question regarding XSL FO. I create the FO dynamically via XSLT and it has following document structure: <fo:root> <fo:layout-master-set> <fo:simple-page-master master-name="simple1" page-height="210mm" page-width="297mm" margin-right="20mm" margin-left="20mm" margin-bottom="15mm" margin-top="15mm"> <fo:region-before display-align="before" extent="10mm"/> <fo:region-body margin-top="10mm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="simple1"> ... some content ... </fo:page-sequence> </fo:root> In the region-before I have a <fo:block/>, which is filled with some dynamically created text. In some cases the text is longer than the one line and it must be wrapped - but this hidden because of the little extension of region-before (10mm). If I set it to 20 mm the text wraps correctly, but it goes into the region-body, what I don't want to have. Of course I can set margin-top for region-body to 20mm too, but than I have in most cases to much space between the text in the header and region-body. So it would be nice to have a dynamic region-before height (@extent). Or region-body simply starts there where region-before ends. I used region-before, because this header should be printed out on every page. Is there any solution or workaround? For example having the text in region-body, but printing it also on every page? Regards, Joerg -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 joerg.heinicke@xxxxxxxxx www.virbus.de XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|