[xep-support] Controlling a continued line

From: Harvey, Paul <Paul_Harvey@omb.eop.gov>
Date: Tue Feb 03 2009 - 13:29:27 PST

Hi,

 

This is simplified, but we have something like this in a large template:

It displays a "continued" line when there is a page break in the middle
of the output of an "account".

For example, if account/header is "Offshore Drilling" it will output
"Offshore Drilling-continued"

 

Currently this outputs a continued line at every page break when
outputting an account, even if there's no more data to display for a
particular account.

Is there away, perhaps through other renderx extensions, to tell renderx
not to output the header if there is infact no additional text to
display on the next page?

 

Thanks

 

<xsl:template match="account">

...

<fo:table table-omit-header-at-break="false"
rx:table-display-header-before="even-page"
rx:table-omit-initial-header="true">

  <fo:table-header>

    <fo:table-row>

      <fo:table-cell>

        <fo:marker marker-class-name=" header">

          <fo:inline><xsl:value-of
select="normalize-space(header)"/></fo:inline>

          <fo:inline>&#x2014;Continued</fo:inline>

        </fo:marker>

      </fo:table-cell>

    </fo:table-row>

  </fo:table-header>

</fo:table>

...

</xsl:template>

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Tue Feb 3 14:06:49 2009

This archive was generated by hypermail 2.1.8 : Tue Feb 03 2009 - 14:06:55 PST