aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/extensions/ExtensionElementMapping.java
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2013-11-07 20:49:18 +0000
committerVincent Hennebert <vhennebert@apache.org>2013-11-07 20:49:18 +0000
commit7c9187955e5ae1c8181a52715791e4b61fc977bb (patch)
tree272804e274ce56b5374c6c31b7ade6fc2693ec59 /src/java/org/apache/fop/fo/extensions/ExtensionElementMapping.java
parentfb7bda27d7c52920c6234d0f73dd2e423dce735a (diff)
downloadxmlgraphics-fop-7c9187955e5ae1c8181a52715791e4b61fc977bb.tar.gz
xmlgraphics-fop-7c9187955e5ae1c8181a52715791e4b61fc977bb.zip
Implement whitespace management extension using fo:multi-switch
Patch from 13/10/28 by Seifeddine Dridi, applied with some modifications. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1539809 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/extensions/ExtensionElementMapping.java')
-rw-r--r--src/java/org/apache/fop/fo/extensions/ExtensionElementMapping.java17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/java/org/apache/fop/fo/extensions/ExtensionElementMapping.java b/src/java/org/apache/fop/fo/extensions/ExtensionElementMapping.java
index f6f681acc..6bd90784f 100644
--- a/src/java/org/apache/fop/fo/extensions/ExtensionElementMapping.java
+++ b/src/java/org/apache/fop/fo/extensions/ExtensionElementMapping.java
@@ -50,6 +50,7 @@ public class ExtensionElementMapping extends ElementMapping {
PROPERTY_ATTRIBUTES.add("internal-destination");
PROPERTY_ATTRIBUTES.add("disable-column-balancing");
PROPERTY_ATTRIBUTES.add("fitting-strategy");
+ PROPERTY_ATTRIBUTES.add("auto-toggle");
//These are FOP's extension properties for accessibility
PROPERTY_ATTRIBUTES.add("alt-text");
PROPERTY_ATTRIBUTES.add("header");
@@ -87,8 +88,6 @@ public class ExtensionElementMapping extends ElementMapping {
foObjs.put("label", new UnknownXMLObj.Maker(URI));
foObjs.put("destination", new DestinationMaker());
foObjs.put("external-document", new ExternalDocumentMaker());
- foObjs.put("best-fit", new BestFitMaker());
- foObjs.put("alternative-block", new AlternativeBlockMaker());
}
}
@@ -106,20 +105,6 @@ public class ExtensionElementMapping extends ElementMapping {
}
}
- static class BestFitMaker extends ElementMapping.Maker {
- @Override
- public FONode make(FONode parent) {
- return new BestFit(parent);
- }
- }
-
- static class AlternativeBlockMaker extends ElementMapping.Maker {
- @Override
- public FONode make(FONode parent) {
- return new AlternativeBlock(parent);
- }
- }
-
/** {@inheritDoc} */
@Override
public String getStandardPrefix() {