[ https://issues.apache.org/jira/browse/FOP-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17738709#comment-17738709 ]
Alexander Dyuzhev commented on FOP-3134: ---------------------------------------- >From [6.7.3 fo:table|https://www.w3.org/TR/xsl/#fo_table]: "The table content is divided into a header (optional), footer (optional), and one or more bodies. Properties specify if the headers and footers should be repeated at a break in the table. Each of these parts occupies one or more rows in the table grid." I.e. the table footers repeating isn't mandatory requirement. > Long table footer overflows the page > ------------------------------------ > > Key: FOP-3134 > URL: https://issues.apache.org/jira/browse/FOP-3134 > Project: FOP > Issue Type: Bug > Affects Versions: 2.5, 2.6, 2.8 > Reporter: Alexander Dyuzhev > Priority: Major > Attachments: image-2023-06-15-20-02-26-537.png, > image-2023-06-15-20-08-39-315.png, long_table_footer.fix.fo, > long_table_footer.fo, long_table_footer.pdf, long_table_footer_fix.pdf > > > I have a simple XSL-FO with the table with multi rows footer - > [^long_table_footer.fo] > The resulted PDF [^long_table_footer.pdf] is wrong: > - big empty space on the 1st page > - table footer doesn't fit to the 2nd page > !image-2023-06-15-20-02-26-537.png! > To fix it _visually_ I can move the long table footer into the separate table > [^long_table_footer.fix.fo], and the resulted PDF > [^long_table_footer_fix.pdf] looks as expected: > !image-2023-06-15-20-08-39-315.png! > BUT I have to generate the PDF/UA with the structure tags tree, and the table > should be one with footer. > The links to the issues: > * > [https://stackoverflow.com/questions/41625388/table-footer-doesnt-page-break-using-apache-fop] > * > [https://github.com/metanorma/metanorma-iso/issues/1001#issuecomment-1593341473] -- This message was sent by Atlassian Jira (v8.20.10#820010)