Hi Everyone.
 
I'm trying to include a text 'note' value in the dynamic running header of my pdf output. Currently, I'm using fo:marker to set the heading value when processing which is retrieved within the fo:region-before. This works fine as there are always only two lines of text so a set width is big enough. Since the text 'note' can vary throughout the document I need to be able to resize the fo:region-before through the use of a xsl:variable. Can you set the value of a xsl:variable to the value of a fo:marker? I've tried with no success -- just a hardcoded variable value works.
 
Thanks.
Devon
 
 
       <fo:simple-page-master master-name="large_footer">
                    <xsl:variable name="size">
                         <xsl:text disable-output-escaping="yes">1.1in</xsl:text>
                    </xsl:variable>
          <fo:region-body margin-top="{$size}" margin-bottom="0.5in"/>
          <fo:region-before overflow="scroll" extent="{$size}"/>
          <fo:region-after extent="0.5in"/>
       </fo:simple-page-master>
-----Original Message-----
From: Dennis Myrén [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 9:48 AM
To: [EMAIL PROTECTED]
Subject: Omit space-before/space-after after page break

Hi.

 

I use FOP to generate a PDF document from FO.

I use space-before/space-after to get space between objects.

When there is not room for an object on the current page, a new page is created and the rendering continues at the new page.

Sometimes this results in objects starting a little further down on the new page than specified by the page margin, because of the space-before/after that I have specified on the current object.

Is it possible to omit any space when rendering continues on a new page?

 

Maybe not well explained, but did you catch it?

 

Shortly, I want space between each object in the PDF, but I always want to start on the same position on each page (page top margin)

 

Regards,

Dennis JD Myrén

Developer

Oslo Kode Bureau

Tel:      (+47) 98 00 11 92

Mail:   [EMAIL PROTECTED]

Web:   www.oslokb.no

 

Reply via email to