[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-dev
Subject:    [jira] [Commented] (FOP-2469) [PATCH] auto table layout
From:       "Andreas L. Delmelle (JIRA)" <jira () apache ! org>
Date:       2015-06-17 19:50:01
Message-ID: JIRA.12829530.1431517948000.100614.1434570601180 () Atlassian ! JIRA
[Download RAW message or body]


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

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

Nice read, thanks! :) Should be more than enough to be able to locate it.

In the meantime, interesting observation - Try running the first example \
(FOP2469...xml) against a fresh trunk, with the latest patch applied, and enable \
assertions. 

On my end, this fails with:
{code}
Caused by: java.lang.AssertionError
	at org.apache.fop.layoutmgr.table.TableLayoutManager.setPossibleWidths(TableLayoutManager.java:647)
  at org.apache.fop.layoutmgr.table.ColumnSetup.redistribute(ColumnSetup.java:469)
...
{code}

Without assertions enabled, it comes through nicely, so no problem there. Just seems \
like that method is called while it is -- or at least, it _was_ at some point in your \
thought process ;) -- not expected ( ? )  Could be a consequence of the LM-to-LC \
refactoring.

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic