[jira] [Updated] (FOP-2469) [PATCH] auto table layout

2015-06-09 Thread Gregor Berg (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gregor Berg updated FOP-2469:
-
Attachment: 2015-06-09-LM-to-LC-refactoring-update.patch

The older LM-to-LC patch (2015-05-27) was incomplete concerning the correct 
propagation of the new LayoutContext properties - now, the newest LC version 
(2015-06-09) should produce the exact same results as the LayoutManager version 
(2015-05-13).

 [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


 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)


[jira] [Updated] (FOP-2484) org.apache.xmlgraphics.io missing from Maven package

2015-06-09 Thread Jochen Kemnade (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jochen Kemnade updated FOP-2484:

Description: The {{org.apache.xmlgraphics.io}} package seems to be missing 
completely in the 2.0 JAR. This causes {{ClassNotFoundException}}s when trying 
to create a {{org.apache.fop.apps.FopFactoryBuilder}}.  (was: The 
{{org.apache.xmlgraphics.io}} seems to be missing completely in the 2.0 JAR. 
This causes {{ClassNotFoundException}}s when trying to create a 
{{org.apache.fop.apps.FopFactoryBuilder}}.)

 org.apache.xmlgraphics.io missing from Maven package
 

 Key: FOP-2484
 URL: https://issues.apache.org/jira/browse/FOP-2484
 Project: FOP
  Issue Type: Bug
Affects Versions: 2.0
Reporter: Jochen Kemnade

 The {{org.apache.xmlgraphics.io}} package seems to be missing completely in 
 the 2.0 JAR. This causes {{ClassNotFoundException}}s when trying to create a 
 {{org.apache.fop.apps.FopFactoryBuilder}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2484) org.apache.xmlgraphics.io missing from Maven package

2015-06-09 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14579027#comment-14579027
 ] 

simon steiner commented on FOP-2484:


What about adding the xgc jar
https://repository.apache.org/index.html#nexus-search;gav~org.apache.xmlgraphics~~2.0.1~~

 org.apache.xmlgraphics.io missing from Maven package
 

 Key: FOP-2484
 URL: https://issues.apache.org/jira/browse/FOP-2484
 Project: FOP
  Issue Type: Bug
Affects Versions: 2.0
Reporter: Jochen Kemnade

 The {{org.apache.xmlgraphics.io}} package seems to be missing completely in 
 the 2.0 JAR. This causes a {{ClassNotFoundException}} when trying to create a 
 {{org.apache.fop.apps.FopFactoryBuilder}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FOP-2484) org.apache.xmlgraphics.io missing from Maven package

2015-06-09 Thread Jochen Kemnade (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jochen Kemnade updated FOP-2484:

Description: The {{org.apache.xmlgraphics.io}} package seems to be missing 
completely in the 2.0 JAR. This causes a {{ClassNotFoundException}} when trying 
to create a {{org.apache.fop.apps.FopFactoryBuilder}}.  (was: The 
{{org.apache.xmlgraphics.io}} package seems to be missing completely in the 2.0 
JAR. This causes {{ClassNotFoundException}}s when trying to create a 
{{org.apache.fop.apps.FopFactoryBuilder}}.)

 org.apache.xmlgraphics.io missing from Maven package
 

 Key: FOP-2484
 URL: https://issues.apache.org/jira/browse/FOP-2484
 Project: FOP
  Issue Type: Bug
Affects Versions: 2.0
Reporter: Jochen Kemnade

 The {{org.apache.xmlgraphics.io}} package seems to be missing completely in 
 the 2.0 JAR. This causes a {{ClassNotFoundException}} when trying to create a 
 {{org.apache.fop.apps.FopFactoryBuilder}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2469) [PATCH] auto table layout

2015-06-09 Thread Gregor Berg (JIRA)

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

Gregor Berg commented on FOP-2469:
--

Surprisingly, there are not that many LC.newInstance() calls. While I cannot 
judge most of these calls right away, the ones I created can be switched to (an 
extended version of) copyOf() without any (apparent) problems. Apart from that, 
BlockStackingLM’s makeChildLayoutContext() jumps out right away.

 [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


 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)


[jira] [Commented] (FOP-2469) [PATCH] auto table layout

2015-06-09 Thread Gregor Berg (JIRA)

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

Gregor Berg commented on FOP-2469:
--

The TODO related to getMinIPD was initially meant as a reminder that 
hyphenation should be considered for this value as well (in case of TextLMs) - 
the current approach takes only the longest KnuthBox (== the longest word in a 
sequence). In extreme cases (many columns with long _breakable_ words), results 
which incorporate hyphenation are less likely to produce overflows.
Therefore, I like the idea of moving getMinIPD() to KnuthSequences - especially 
for TextLMs which could easily check for viable hyphenations as part of _their_ 
new getMinIPD-determination (well, some special cases remain).

 [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


 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)