[
https://issues.apache.org/jira/browse/FOP-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas L. Delmelle updated FOP-2469:
-------------------------------------
Attachment: LayoutContext_Tweak.diff
Good stuff, so far...
Added a small patch for you to play with as well. Had an idea for improvement
of handling the propagation of the related flags to child contexts. It should
normally work on your end as is, too, since I kept the same method names.
Only changes are that:
a) the flags have now been aligned with the flag mechanism already present
b) the offspringOf() method uses a more generic propagateFlagsFrom() to extend
on the already propagated treatAsArtifact()
Not included yet:
The latter would allow replacing the newInstance() calls that are followed by
setting both flags with offspringOff() calls. The cases where we do still need
the explicit setter are those where we *don't* want the flag value propagated
to the child context.
> [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
> Fix For: trunk
>
> 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, FOP2469-auto-table-layout.xml,
> LayoutContext_Tweak.diff
>
>
> 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
(v6.3.4#6332)