import org.apache.xmlgraphics.image.loader.ImageManager;
import org.apache.xmlgraphics.image.loader.ImageSessionContext;
import org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext;
+import org.apache.xmlgraphics.image.loader.util.SoftMapCache;
import org.apache.xmlgraphics.util.UnitConv;
import org.apache.fop.Version;
public Map<String, String> getHyphenationPatternNames() {
return factory.getHyphenationPatternNames();
}
+
+ public SoftMapCache getPDFObjectCache() {
+ return factory.getPDFObjectCache();
+ }
}
import org.apache.xmlgraphics.image.loader.ImageContext;
import org.apache.xmlgraphics.image.loader.ImageManager;
import org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.FallbackResolver;
+import org.apache.xmlgraphics.image.loader.util.SoftMapCache;
import org.apache.xmlgraphics.util.UnitConv;
import org.apache.fop.apps.io.InternalResourceResolver;
private final ColorSpaceCache colorSpaceCache;
+ private final SoftMapCache pdfObjectCache = new SoftMapCache(true);
+
private final FopFactoryConfig config;
private final InternalResourceResolver resolver;
public ColorSpaceCache getColorSpaceCache() {
return this.colorSpaceCache;
}
+
+ public SoftMapCache getPDFObjectCache() {
+ return pdfObjectCache;
+ }
}