Gregor Berg commented on FOP-2469:

You are right. While I initially tried to work around the Layoutcontext, this 
is exactly the kind of information which should be kept 'as context'. However, 
after refactoring the other three methods, it turns out to be not quite as 
straightforward; some methods return different values depending on which 'mode' 
their container is in, without any explicit Layoutcontext whatsoever. I'll have 
to look into this later, but simply replacing these methods won't work.
Concerning documentation: I tried to use the fop wiki (i.e. 
https://wiki.apache.org/xmlgraphics-fop/AutoTableLayout), but I require 
permissions to edit anything. Could you please grant me access to the wiki? 
Account: GregorBerg

> [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
>             Fix For: trunk
>         Attachments: 2015-05-13-auto-table-layout.patch, 
> FOP2469-auto-table-layout.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

Reply via email to