xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r733745 - in /xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop: afp/svg/AFPImageElementBridge.java svg/PDFImageElementBridge.java
Date Mon, 12 Jan 2009 13:34:14 GMT
Author: jeremias
Date: Mon Jan 12 05:34:11 2009
New Revision: 733745

URL: http://svn.apache.org/viewvc?rev=733745&view=rev
Log:
Restrict XML-formats to SVG to stream-line the image loading/conversion process.

Modified:
    xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/afp/svg/AFPImageElementBridge.java
    xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/svg/PDFImageElementBridge.java

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/afp/svg/AFPImageElementBridge.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/afp/svg/AFPImageElementBridge.java?rev=733745&r1=733744&r2=733745&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/afp/svg/AFPImageElementBridge.java
(original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/afp/svg/AFPImageElementBridge.java
Mon Jan 12 05:34:11 2009
@@ -21,6 +21,7 @@
 
 import org.apache.xmlgraphics.image.loader.ImageFlavor;
 
+import org.apache.fop.image.loader.batik.BatikImageFlavors;
 import org.apache.fop.svg.AbstractFOPImageElementBridge;
 
 /**
@@ -32,7 +33,7 @@
                                                                    {//ImageFlavor.RAW_JPEG,
                                                                     //ImageFlavor.RAW_CCITTFAX,
                                                                     ImageFlavor.GRAPHICS2D,
-                                                                    ImageFlavor.XML_DOM};
+                                                                    BatikImageFlavors.SVG_DOM};
 
     /** {@inheritDoc} */
     protected ImageFlavor[] getSupportedFlavours() {

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/svg/PDFImageElementBridge.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/svg/PDFImageElementBridge.java?rev=733745&r1=733744&r2=733745&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/svg/PDFImageElementBridge.java
(original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/svg/PDFImageElementBridge.java
Mon Jan 12 05:34:11 2009
@@ -21,6 +21,8 @@
 
 import org.apache.xmlgraphics.image.loader.ImageFlavor;
 
+import org.apache.fop.image.loader.batik.BatikImageFlavors;
+
 /**
  * PDF Image Element Bridge class for the <image> element when jpeg images.
  *
@@ -37,10 +39,11 @@
                                                {ImageFlavor.RAW_JPEG,
                                                 ImageFlavor.RAW_CCITTFAX,
                                                 ImageFlavor.GRAPHICS2D,
-                                                ImageFlavor.XML_DOM};
+                                                BatikImageFlavors.SVG_DOM};
 
     /** {@inheritDoc} */
     protected ImageFlavor[] getSupportedFlavours() {
         return supportedFlavors;
     }
+
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message