[ https://issues.apache.org/jira/browse/FOP-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16518644#comment-16518644 ]
Petter Reinholdtsen commented on FOP-2469: ------------------------------------------ Using the document mentioned above, and running "sed -i 's/ colwidth="[0-9]*\*"// ' docbook/0*.xml" to get rid of all preset colwidth, I discovered what I suspect is a bug in the patch. The table column headers seem to be ignored when deciding the width of the table column. I saw several tables where the header texts where on top of each other, because a column did not have any data, and its width was very small, causing the header text to flow into the next column. Oversight? > [PATCH] auto table layout > ------------------------- > > Key: FOP-2469 > URL: https://issues.apache.org/jira/browse/FOP-2469 > Project: FOP > Issue Type: Bug > Components: layout/unqualified > Affects Versions: trunk > Environment: Windows 7, JDK 7 > Reporter: Gregor Berg > Assignee: Andreas L. Delmelle > Priority: Major > Attachments: 2015-05-13-auto-table-layout.patch, > 2015-05-27-LM-to-LC-refactoring.patch, > 2015-06-09-LM-to-LC-refactoring-update.patch, FOP-2469_20150621.patch, > FOP2469-auto-table-layout.xml, resize-all-but-static-spanned-columns.xml, > resize-spanned-columns.xml, warning-only-static-columns-are-spanned.xml > > > Hi, > this is a patch which enables table-layout=auto. It is quite robust, it can > not only handle linebreaks and pagebreaks, but it also copes with auto tables > in fixed tables in auto tables. > Essentially, it is the patch of issue FOP-2450 adapted to the trunk version > of FOP. > Best regards, > Gregor -- This message was sent by Atlassian JIRA (v7.6.3#76005)