[ 
https://issues.apache.org/jira/browse/FOP-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14551034#comment-14551034
 ] 

Andreas L. Delmelle commented on FOP-2469:
------------------------------------------

Side-note - 
Reading that (rather old) Wiki page again, with Jeremias' brain-dump (his 
words, not mine ;)), it just so happens that in my local sandbox, I am 
currently toying with that split in line-layout he is referring to.
The problem Jeremias mentions has led to an implementation for changing page 
IPD that is actually suboptimal. No complaints on those who did the 
implementation, mind you. It is actually quite a feat that that someone managed 
to implement it in the first place. R-E-S-P-E-C-T! :)

However, as a result, if you have a page-sequence with alternating page-masters 
with different margins, then (assuming no forced breaks) due to the fact that 
line-breaking is not really interrupted, the process will go roughly as:

- perform line-breaking for all 40 pages
- start page-breaking, and notice that available IPD changes after the first 
page
- throw away every computed break after that first page, and restart from the 
second
- perform line-breaking for 39 pages
- start page-breaking, and notice that available IPD changes after the second 
page
- throw away ... and restart from the third page
- perform line-breaking for 38 pages
etc.

> [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
(v6.3.4#6332)

Reply via email to