diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2014-03-17 08:55:22 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2014-03-17 08:55:22 +0000 |
commit | aa09fc131c1cc8278486293cef5b3fc72f6ebac2 (patch) | |
tree | b5d5e04e59fe58935d4c4752b47259a53a3f1c11 /src/java/org/apache/fop/fo/flow/MultiSwitch.java | |
parent | 5073488dbca84e0696834f30bb087a0f9c97d3a5 (diff) | |
download | xmlgraphics-fop-aa09fc131c1cc8278486293cef5b3fc72f6ebac2.tar.gz xmlgraphics-fop-aa09fc131c1cc8278486293cef5b3fc72f6ebac2.zip |
Handle the case where dynamic content is in the middle of a page, selecting the first variant
Patch by Seifeddine Dridi, applied with some modifications
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1578270 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/MultiSwitch.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/MultiSwitch.java | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/java/org/apache/fop/fo/flow/MultiSwitch.java b/src/java/org/apache/fop/fo/flow/MultiSwitch.java index 4197b8675..6c4333cff 100644 --- a/src/java/org/apache/fop/fo/flow/MultiSwitch.java +++ b/src/java/org/apache/fop/fo/flow/MultiSwitch.java @@ -68,22 +68,6 @@ public class MultiSwitch extends FObj { super.endOfNode(); } - @Override - public void finalizeNode() throws FOPException { - if (autoToggle.equals("best-fit")) { - // Nothing to do in this case - setCurrentlyVisibleNode(null); - } else { - FONodeIterator nodeIter = getChildNodes(); - while (nodeIter.hasNext()) { - MultiCase multiCase = (MultiCase) nodeIter.next(); - if (multiCase.hasToggle()) { - multiCase.getHandler().filter(this); - } - } - } - } - /** * {@inheritDoc} * <br>XSL Content Model: (multi-case+) |