[
https://issues.apache.org/jira/browse/FOP-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Glenn Adams updated FOP-46:
---------------------------
Attachment: fop-46-example.xml
Description:
maxHeight in xml-fop\src\org\apache\fop\layout\Area.java appears to be
improperly calculated when it intreprets the amount of page remaining when
working with tables. For now, I am band-aiding the problem by simply adding a
constant to maxHeight in order to get my particular table-rich document to
work.
The attached fo test document (fop-46-example.xml) illustrates this.
was:
maxHeight in xml-fop\src\org\apache\fop\layout\Area.java appears to be
improperly calculated when it intreprets the amount of page remaining when
working with tables. For now, I am band-aiding the problem by simply adding a
constant to maxHeight in order to get my particular table-rich document to
work.
the following fo test document illustrates this:
<?xml version="1.0" encoding="utf-8"?>
<!-- example for a simple fo file. At the beginning the page layout is set.
Below fo:root there is always
- a single fo:layout-master-set which defines one or more page layouts
- an optional fo:declarations
- and a sequence of one or more fo:page-sequences containing the text and
formatting instructions
-->
<root xmlns="http://www.w3.org/1999/XSL/Format">
<layout-master-set>
<!-- layout-master-set defines in its children the page layout:
the pagination and layout specifications
- page-masters: have the role of describing the intended subdivisions
of a page and the geometry of these subdivisions
In this case there is only a simple-page-master which
defines the
layout for all pages of the text
-->
<!-- layout information -->
<simple-page-master master-name="simple"
page-height="29.7cm"
page-width="21cm"
margin-top="1cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
<region-body margin-top="3cm"/>
<region-before extent="3cm"/>
<region-after extent="1.5cm"/>
</simple-page-master>
</layout-master-set>
<!-- end: defines page layout -->
<!-- start page-sequence
here comes the text (contained in flow objects)
the page-sequence can contain different flows
the attribute value of master-name refers to the page layout
which is to be used to layout the text contained in this
page-sequence-->
<page-sequence master-name="simple">
<!-- start flow
each flow is targeted
at one (and only one) of the following:
xsl-region-body (usually: normal text)
xsl-region-before (usually: header)
xsl-region-after (usually: footer)
xsl-region-start (usually: left margin)
xsl-region-end (usually: right margin)
['usually' applies here to languages with left-right and top-down
writing direction like English]
in this case there is only one target: xsl-region-body
-->
<flow flow-name="xsl-region-body">
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 0
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 0
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 0
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 0
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 1
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 1
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 1
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 1
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 2
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 2
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 2
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 2
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 3
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 3
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 3
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 3
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 4
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 4
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 4
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 4
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 5
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 5
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 5
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 5
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 6
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 6
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 6
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 6
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 7
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 7
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 7
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 7
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 8
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 8
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 8
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 8
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 9
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 9
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 9
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 9
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 10
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 10
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 10
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 10
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 11
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 11
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 11
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 11
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 12
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 12
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 12
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 12
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 13
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 13
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 13
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 13
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 14
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 14
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 14
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 14
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 15
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 15
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 15
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 15
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 16
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 16
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 16
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 16
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 17
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 17
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 17
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 17
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 18
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 18
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 18
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 18
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 19
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 19
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 19
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 19
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 20
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 20
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 20
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 20
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 21
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 21
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 21
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 21
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 22
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 22
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 22
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 22
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 23
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 23
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 23
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 23
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 24
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 24
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 24
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 24
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 25
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 25
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 25
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 25
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 26
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 26
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 26
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 26
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 27
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 27
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 27
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 27
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 28
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 28
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 28
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 28
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 29
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 29
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 29
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 29
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 30
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 30
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 30
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 30
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 31
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 31
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 31
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 31
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 32
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 32
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 32
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 32
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 33
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 33
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 33
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 33
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 34
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 34
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 34
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 34
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 35
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 35
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 35
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 35
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 36
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 36
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 36
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 36
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 37
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 37
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 37
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 37
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 38
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 38
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 38
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 38
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 39
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 39
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 39
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 39
</block>
</table-cell>
</table-row>
</table-body>
</table>
<table>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-column column-width="40mm"/>
<table-body>
<table-row border-style="solid"
border-width="1pt">
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start"
padding-
after="2mm">
line 40
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 40
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 40
</block>
</table-cell>
<table-cell>
<block font-
size="14pt"
font-family="sans-
serif"
font-
weight="bold"
text-align="start">
line 40
</block>
</table-cell>
</table-row>
</table-body>
</table>
</flow> <!-- closes the flow element-->
</page-sequence> <!-- closes the page-sequence -->
</root>
Priority: Blocker
Move example document from description to attachment.
> incorrect page breaks using tables leaving large amounts of white space
> -----------------------------------------------------------------------
>
> Key: FOP-46
> URL: https://issues.apache.org/jira/browse/FOP-46
> Project: FOP
> Issue Type: Bug
> Components: renderer/pdf
> Affects Versions: 0.17
> Environment: Operating System: other
> Platform: PC
> Reporter: Matthew Weiss
> Assignee: Glenn Adams
> Priority: Blocker
> Attachments: fop-46-example.xml
>
>
> maxHeight in xml-fop\src\org\apache\fop\layout\Area.java appears to be
> improperly calculated when it intreprets the amount of page remaining when
> working with tables. For now, I am band-aiding the problem by simply adding a
> constant to maxHeight in order to get my particular table-rich document to
> work.
> The attached fo test document (fop-46-example.xml) illustrates this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
