xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Jordan <bi...@hmonline.com>
Subject Only getting one page of a multi-page output
Date Mon, 02 May 2005 19:26:11 GMT
Hello all,

I have a simple stylesheet that outputs the contents of a single tag to 
a page.  When the contents of the tag fit on a single page, everything 
is fine.  When the tag contents are too much to fit on one page, the 
output contains only the first page.  How can I get multipage output?  
My stylesheet follows:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  <fo:layout-master-set>
    <fo:simple-page-master master-name="pagemaster1" 
page-height="792.0pt" page-width="612.0pt">
      <fo:region-body margin-left="10pt" margin-top="10pt" 
margin-bottom="10pt" margin-right="10pt">
      </fo:region-body>
      <fo:region-before extent="10pt" precedence="true"/>
      <fo:region-after extent="10pt" precedence="true"/>
      <fo:region-start extent="10pt" precedence="false"/>
      <fo:region-end extent="10pt" precedence="false"/>
    </fo:simple-page-master>
    <fo:page-sequence-master master-name="note-pages">
        <fo:repeatable-page-master-reference 
master-reference="pagemaster1" maximum-repeats="10"/>
    </fo:page-sequence-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="note-pages">
    <fo:flow flow-name="xsl-region-body">
    <fo:block/>

<!-- Note -->

<fo:block-container position="absolute" top="30pt" left="10pt" 
height="772.0pt" width="592.0pt" border-width="1.0pt" 
display-align="before">
<fo:block span="none" white-space-collapse="false"  color="#000000" 
font-family="Courier" font-size="10.0pt" font-weight="bold" 
text-align="start">
<xsl:value-of disable-output-escaping="no" select="note:body"/>
</fo:block>
</fo:block-container>


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

Thanks,

Bill

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message