You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Gregor Berg (JIRA)" <ji...@apache.org> on 2015/03/05 16:24:38 UTC
[jira] [Comment Edited] (FOP-2450) [PATCH] preprocessing for
table-layout="auto"
[ https://issues.apache.org/jira/browse/FOP-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14338188#comment-14338188 ]
Gregor Berg edited comment on FOP-2450 at 3/5/15 3:23 PM:
----------------------------------------------------------
*V3* (2015-03-05-auto-fop-1_1v3.patch):
- user is warned in case the sum of minimum widths of a table's columns is bigger than the available space (i.e.: the table cannot help but overflow the page border)
*V2* (2015-02-26-auto-fop-1_1v2.patch):
- tables contained in other tables propagate their width requirements (fixes main problem of V1)
- for now, at least one specific type of ExternalGraphic propagates a suitable width requirement
- removed redundant code
was (Author: gberg):
*V2* (2015-02-26-auto-fop-1_1v2.patch):
- tables contained in other tables propagate their width requirements (fixes main problem of V1)
- for now, at least one specific type of ExternalGraphic propagates a suitable width requirement
- removed redundant code
> [PATCH] preprocessing for table-layout="auto"
> ---------------------------------------------
>
> Key: FOP-2450
> URL: https://issues.apache.org/jira/browse/FOP-2450
> Project: Fop
> Issue Type: New Feature
> Components: fo/unqualified
> Affects Versions: 1.1
> Environment: tested on Win7 (JDK 7) and Mac OS 10.9 (JDK8)
> Reporter: Gregor Berg
> Labels: patch
> Fix For: 1.1
>
> Attachments: 2015-02-20-fop-1_1v1.patch, 2015-02-26-auto-fop-1_1v2.patch, 2015-03-05-auto-fop-1_1v3.patch, auto-table-in-fixed-table-in-auto-table.xml, auto-table-in-fixed-table-in-auto-table.xml.pdf, resize-all-but-static-spanned-columns.pdf, resize-all-but-static-spanned-columns.xml
>
>
> Hi everybody,
> I had some time to work on the table-layout="auto" feature.
> Inspired by the postprocessing done in issue FOP-1226, I tried to propagate the computed values up the rendering process. Finally, I decided to opt for preprocessing and what can I tell you - it works, even for auto tables in fixed tables in auto tables (see attached xml files).
> Since I was mainly focused on the kind of tables found at my employer, I would like to get your feedback on how well this patch does for other users' tables.
> If you deem the effort worthwhile, I would try to port this patch into the trunk version - currently, it only applies to the tagged version 1.1.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)