diff options
author | Adrian Cumiskey <acumiskey@apache.org> | 2008-11-13 16:11:58 +0000 |
---|---|---|
committer | Adrian Cumiskey <acumiskey@apache.org> | 2008-11-13 16:11:58 +0000 |
commit | f637010908d0898b6f7f40843c4bfa2d37daabc0 (patch) | |
tree | 6966dec8cc50e5133d958498859f69b4399e074d /src/java/org/apache/fop/afp/AFPPaintingState.java | |
parent | c4b1cf56cd9fa706a20765ad2078e040eb4c67bc (diff) | |
download | xmlgraphics-fop-f637010908d0898b6f7f40843c4bfa2d37daabc0.tar.gz xmlgraphics-fop-f637010908d0898b6f7f40843c4bfa2d37daabc0.zip |
* PDFImageHandler interface split into ImageHandler and PDFImageHandler.
* Deleted AFPDataObjectInfoProvider and AFPImage*Factory implementations, and abstracted AbstractImageHandlerRegistry from PDFImageHandlerRegistry, creating AFPImageHandlerRegistry and AFPImageHandler so there is a common reuse of image handling implementation between AFP and PDF now.
* RendererContext instantiation is now overridable in PrintRenderer.
* Created AFPRendererContext that is able to provide AFPInfo.
* toString() added to RendererContext for ease of use.
* Removed GraphicsObjectPainterAFP.
* Added package.html for AFP (sub)packages.
* Abstracted AbstractFOPBridgeContext from PDFBridgeContext and provided AFPBridgeContext implementation.
* Abstracted AbstractFOPTextElementBridge from PDFTextElementBridge and provided AFPTextElementBridge implementation.
* Abstracted AbstractFOPImageElementBridge from PDFImageElementBridge and provided AFPImageElementBridge implementation.
* Provided inline image support/handling in AFPGraphics2D for SVG.
* Created NativeImageHandler interface.
* Fix for path iterator filled line drawing in AFPGraphics2D adding coordinate drawing implementations GraphicsLineRelative and GraphicsFilletRelative (Thanks for the patch Jeremias).
* Improved configuration.xml documentation for images mode/native setting in AFP renderer configuration.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@713747 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/afp/AFPPaintingState.java')
-rw-r--r-- | src/java/org/apache/fop/afp/AFPPaintingState.java | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/java/org/apache/fop/afp/AFPPaintingState.java b/src/java/org/apache/fop/afp/AFPPaintingState.java index 60e4812b9..cb78fb36e 100644 --- a/src/java/org/apache/fop/afp/AFPPaintingState.java +++ b/src/java/org/apache/fop/afp/AFPPaintingState.java @@ -21,6 +21,7 @@ package org.apache.fop.afp; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.apache.fop.afp.fonts.AFPPageFonts; import org.apache.fop.util.AbstractPaintingState; /** @@ -42,7 +43,7 @@ public class AFPPaintingState extends org.apache.fop.util.AbstractPaintingState private boolean colorImages = false; /** images are supported in this AFP environment */ - private boolean nativeImages = false; + private boolean nativeImagesSupported = false; /** default value for image depth */ private int bitsPerPixel = 8; @@ -165,10 +166,10 @@ public class AFPPaintingState extends org.apache.fop.util.AbstractPaintingState /** * Sets whether images are natively supported or not in the AFP environment * - * @param nativeImages true if images are natively supported in this AFP environment + * @param nativeImagesSupported true if images are natively supported in this AFP environment */ - public void setNativeImages(boolean nativeImages) { - this.nativeImages = nativeImages; + public void setNativeImagesSupported(boolean nativeImagesSupported) { + this.nativeImagesSupported = nativeImagesSupported; } /** @@ -176,8 +177,8 @@ public class AFPPaintingState extends org.apache.fop.util.AbstractPaintingState * * @return true if images are supported natively in this AFP environment */ - public boolean isNativeImages() { - return this.nativeImages; + public boolean isNativeImagesSupported() { + return this.nativeImagesSupported; } /** |