|
|
@@ -37,6 +37,7 @@ import org.apache.commons.logging.LogFactory; |
|
|
|
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; |
|
|
@@ -82,6 +83,8 @@ public final class FopFactory implements ImageContext { |
|
|
|
|
|
|
|
private final ColorSpaceCache colorSpaceCache; |
|
|
|
|
|
|
|
private final SoftMapCache pdfObjectCache = new SoftMapCache(true); |
|
|
|
|
|
|
|
private final FopFactoryConfig config; |
|
|
|
|
|
|
|
private final InternalResourceResolver resolver; |
|
|
@@ -433,4 +436,8 @@ public final class FopFactory implements ImageContext { |
|
|
|
public ColorSpaceCache getColorSpaceCache() { |
|
|
|
return this.colorSpaceCache; |
|
|
|
} |
|
|
|
|
|
|
|
public SoftMapCache getPDFObjectCache() { |
|
|
|
return pdfObjectCache; |
|
|
|
} |
|
|
|
} |