Files
ofbiz-framework/framework/common/webcommon/includes/reportTemplate.fo.ftl
T
2006-08-17 17:38:38 +00:00

68 lines
2.4 KiB
Plaintext

<?xml version="1.0" encoding="UTF-8"?>
<#--
Copyright 2001-2006 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
-->
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="main-page"
page-width="8.5in" page-height="11in"
margin-top="0.4in" margin-bottom="0.4in"
margin-left="0.6in" margin-right="0.4in">
<#-- main body -->
<fo:region-body margin-top="1.2in" margin-bottom="0.4in"/>
<#-- the header -->
<fo:region-before extent="1.2in"/>
<#-- the footer -->
<fo:region-after extent="0.4in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="main-page">
<#-- the header -->
<fo:static-content flow-name="xsl-region-before">
<fo:table>
<fo:table-column column-width="3.5in"/>
<fo:table-column column-width="3in"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
${sections.render("topLeft")}
</fo:table-cell>
<fo:table-cell>
${sections.render("topRight")}
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:static-content>
<#-- the footer -->
<fo:static-content flow-name="xsl-region-after">
<fo:block font-size="10pt" text-align="center" space-before="10pt">
Page <fo:page-number/> of <fo:page-number-citation ref-id="theEnd"/>
</fo:block>
</fo:static-content>
<#-- the body -->
<fo:flow flow-name="xsl-region-body">
${sections.render("body")}
<fo:block id="theEnd"/> <#-- marks the end of the pages and used to identify page-number at the end -->
</fo:flow>
</fo:page-sequence>
</fo:root>