FO.NET don't create a footnote-separator

Oct 16, 2009 at 5:41 PM

I'm having problem with FO.NET because I need use footnote-separator but I'm having error.
The code is:

<fo:layout-master-set>
    <fo:simple-page-master axf:background-color="#85DAE7" page-height="140mm" page-width="210mm" margin-top="10mm" margin-left="20mm" margin-right="20mm" margin-bottom="10mm" master-name="PageMaster">
      <fo:region-before extent="15mm"/>
      <fo:region-body column-count="2" margin-top="20mm" margin-left="0mm" margin-right="0mm" margin-bottom="20mm"/>
      <fo:region-after extent="15mm"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  
  <fo:page-sequence master-reference="PageMaster">

    <fo:static-content flow-name="footnote-separator">
      <fo:block>
        <fo:leader leader-pattern="rule" leader-length="100%"/>
      </fo:block>
    </fo:static-content>


The error message:

System.SystemException: region-name 'footnote-separator' doesn't exist in the layout-master-set.
   at Fonet.FonetDriver.FireFonetError(String message)
   at Fonet.Fo.Pagination.PageSequence.AddFlow(Flow flow)
   at Fonet.Fo.Flow.Flow..ctor(FObj parent, PropertyList propertyList)
   at Fonet.Fo.Flow.StaticContent..ctor(FObj parent, PropertyList propertyList)
   at Fonet.Fo.Flow.StaticContent.Maker.Make(FObj parent, PropertyList propertyList)
   at Fonet.Fo.FOTreeBuilder.StartElement(String uri, String localName, Attributes attlist)
   at Fonet.Fo.FOTreeBuilder.Parse(XmlReader reader)

and if try set the footnote in layout-master-set I'm have another error.
My code:

<fo:layout-master-set>
    <fo:simple-page-master axf:background-color="#85DAE7" page-height="140mm" page-width="210mm" margin-top="10mm" margin-left="20mm" margin-right="20mm" margin-bottom="10mm" master-name="PageMaster">
      <fo:region-before extent="15mm"/>
      <fo:region-body column-count="2" margin-top="20mm" margin-left="0mm" margin-right="0mm" margin-bottom="20mm"/>
      <fo:region-after extent="15mm"/>
      <fo:footnote-separator extent="5mm"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  
  <fo:page-sequence master-reference="PageMaster">

    <fo:static-content flow-name="footnote-separator">
      <fo:block>
        <fo:leader leader-pattern="rule" leader-length="100%"/>
      </fo:block>
    </fo:static-content>



error message:
System.SystemException: Unknown formatting object http://www.w3.org/1999/XSL/Format^footnote-separator
  at Fonet.FonetDriver.FireFonetError(String message)
  at Fonet.Fo.FOTreeBuilder.StartElement(String uri, String localName, Attributes attlist)
  at Fonet.Fo.FOTreeBuilder.Parse(XmlReader reader)

Someone can help me please?

Regards, Thk!

 

Aug 15, 2014 at 3:48 PM
Was this issue ever resolved?
Has anyone successfully used the static-content xsl-footnote-separator
<fo:static-content flow-name="xsl-footnote-separator"/>
Oct 15, 2014 at 10:40 PM
Able to get footer to work
<fo:layout-master-set>
    <fo:simple-page-master master-name="all" page-width="8.5in" page-height="11in"  margin-left="0in" margin-right="0in">
      <fo:region-body  margin-top=".40in" margin-bottom=".10in"   margin-right="0in"   margin-left="0in"  />
      <fo:region-after padding="6pt" region-name="xsl-region-after"  extent="0.5in"/>
    </fo:simple-page-master>

    <fo:page-sequence-master  master-name="PDF">
      <fo:repeatable-page-master-reference master-name="all" />
    </fo:page-sequence-master>

  </fo:layout-master-set>
within <fo:page-sequence master-reference="all"> before adding your <fo:flow flow-name=""> you will add your footer. so it looks as follows:

<fo:page-sequence master-reference="all">
    <fo:static-content flow-name="xsl-region-after">
      <fo:block  >
        <fo:inline>
          <xsl:value-of select="$variable"></xsl:value-of> <fo:leader leader-pattern="space" leader-length="455pt" />
          <fo:page-number>page</fo:page-number>
        </fo:inline>
      </fo:block>
    </fo:static-content>

    <fo:flow flow-name="xsl-region-body" > .....

     </fo:flow>
</fo:page-sequence>