Hi, Can someone explain me why the simple xsl-fo code below produces a pdf without header? And moreover, why increasing region-before "extent" attribute to 5.1mm, the header innocently appears. After several attempts I noticed that font-size and line-height could be involved. Is there a reason for this behavior?
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="page" page-height="297mm" page-width="210mm"> <fo:region-body region-name="xsl-region-body" margin-top="10mm"/> <fo:region-before extent="5mm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="page"> <fo:static-content flow-name="xsl-region-before"> <fo:block>header</fo:block> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <fo:block>body</fo:block> </fo:flow> </fo:page-sequence> </fo:root> Regards Valentina Benedetti PS: I'm using FOP 0.20.4. _______________________________________________________________ This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Brainpower. Brainpower also reserves the right to monitor all e-mail communications through its internal and external networks. _______________________________________________________________ This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Brainpower. Brainpower also reserves the right to monitor all e-mail communications through its internal and external networks. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
