diff options
author | Simon Steiner <ssteiner@apache.org> | 2023-11-21 14:15:54 +0000 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2023-11-21 14:15:54 +0000 |
commit | fa9e78ed2ccd890c4eb21f319ea56f9e0545125b (patch) | |
tree | b9732daeb9dc31865d375a9a968093e2a1b1ae2b /fop-core | |
parent | 699b56779e89d45ae8d8ea517bc7cee57e2f4231 (diff) | |
download | xmlgraphics-fop-fa9e78ed2ccd890c4eb21f319ea56f9e0545125b.tar.gz xmlgraphics-fop-fa9e78ed2ccd890c4eb21f319ea56f9e0545125b.zip |
FOP-3161: Resize table only for multicolumn page
Diffstat (limited to 'fop-core')
-rw-r--r-- | fop-core/src/main/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fop-core/src/main/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java b/fop-core/src/main/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java index f1750b226..182f3e8f7 100644 --- a/fop-core/src/main/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java +++ b/fop-core/src/main/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java @@ -318,7 +318,7 @@ public class TableLayoutManager extends SpacedBorderedPaddedBlockLayoutManager } private boolean supportResize(FONode node) { - if (node instanceof AbstractGraphics || contentLM.bodyIter.rowIndex == 1) { + if (node instanceof AbstractGraphics || getPSLM().getPageProvider().getCurrentColumnCount() == 1) { return false; } FONode.FONodeIterator iterator = node.getChildNodes(); |