aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/ResourceEventProducer.java
diff options
context:
space:
mode:
authorLuis Bernardo <lbernardo@apache.org>2013-02-21 00:45:28 +0000
committerLuis Bernardo <lbernardo@apache.org>2013-02-21 00:45:28 +0000
commitd0d7e25d98cd1509e8433782af336e93bb02f1b8 (patch)
tree2d16132a894d9030e83d0c4c48bde02f33c4e924 /src/java/org/apache/fop/ResourceEventProducer.java
parentb7a4ebbacb471c61974fdb39e9c1c02d245603f5 (diff)
downloadxmlgraphics-fop-d0d7e25d98cd1509e8433782af336e93bb02f1b8.tar.gz
xmlgraphics-fop-d0d7e25d98cd1509e8433782af336e93bb02f1b8.zip
FOP-2183: Use event producer when Colour Profile in PNG Image is bad; patch submitted by Simon Steiner
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1448483 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/ResourceEventProducer.java')
-rw-r--r--src/java/org/apache/fop/ResourceEventProducer.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/ResourceEventProducer.java b/src/java/org/apache/fop/ResourceEventProducer.java
index 926b7c92b..18293ff06 100644
--- a/src/java/org/apache/fop/ResourceEventProducer.java
+++ b/src/java/org/apache/fop/ResourceEventProducer.java
@@ -152,4 +152,12 @@ public interface ResourceEventProducer extends EventProducer {
* @event.severity ERROR
*/
void catalogResolverNotCreated(Object source, String message);
+
+ /**
+ * Warning in an image.
+ * @param source the event source
+ * @param message warning
+ * @event.severity WARN
+ */
+ void imageWarning(Object source, String message);
}