aboutsummaryrefslogtreecommitdiffstats
path: root/src/java-1.4
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-12-13 20:41:28 +0000
committerJeremias Maerki <jeremias@apache.org>2005-12-13 20:41:28 +0000
commit6f265f63de6154d9225d92e0f496dfc362b2006c (patch)
treedb6625910179ba9e7cdc7d78a87b8d0ffeba7d07 /src/java-1.4
parentb45765ff3c9cc5deed81c299a203b221af0dbb6d (diff)
downloadxmlgraphics-fop-6f265f63de6154d9225d92e0f496dfc362b2006c.tar.gz
xmlgraphics-fop-6f265f63de6154d9225d92e0f496dfc362b2006c.zip
Restored PNG support for RTF output and fixed two bugs related to image handling (an NPE and an invalid "==" comparison on Strings).
Added a default implementation for loading the raw image. Used by most FopImage implementations. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356612 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java-1.4')
-rw-r--r--src/java-1.4/org/apache/fop/image/ImageIOImage.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java-1.4/org/apache/fop/image/ImageIOImage.java b/src/java-1.4/org/apache/fop/image/ImageIOImage.java
index 111011918..3dddc05ad 100644
--- a/src/java-1.4/org/apache/fop/image/ImageIOImage.java
+++ b/src/java-1.4/org/apache/fop/image/ImageIOImage.java
@@ -153,5 +153,10 @@ public class ImageIOImage extends AbstractFopImage {
return true;
}
+ /** @see org.apache.fop.image.AbstractFopImage#loadOriginalData() */
+ protected boolean loadOriginalData() {
+ return loadDefaultOriginalData();
+ }
+
}