Package org.apache.fop.svg
Interface SVGEventProducer
- All Superinterfaces:
EventProducer
Event producer interface for SVG-related events.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
Provider class for the event producer. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Alert during SVG processing.void
bitmapWithTransparency
(Object source, Object pdfProfile, String uri) SVG references a bitmap image that contains transparency while it is not allowed.void
Error during SVG processing.void
Info during SVG processing.void
svgNotBuilt
(Object source, Exception e, String uri) SVG graphic could not be built due to an exception.void
svgRenderingError
(Object source, Exception e, String uri) SVG graphic could not be rendered due to an exception.void
transparencyIgnored
(Object source, Object pdfProfile, String uri) Transparency has been ignored due to restrictions from the PDF profile being used.
-
Method Details
-
error
Error during SVG processing. Either message or e must be set.- Parameters:
source
- the event sourcemessage
- the error message (or null)e
- the exception (or null)
-
alert
Alert during SVG processing.- Parameters:
source
- the event sourcemessage
- the error message
-
info
Info during SVG processing.- Parameters:
source
- the event sourcemessage
- the error message
-
svgNotBuilt
SVG graphic could not be built due to an exception.- Parameters:
source
- the event sourcee
- the original exceptionuri
- the URI of the SVG graphic
-
svgRenderingError
SVG graphic could not be rendered due to an exception.- Parameters:
source
- the event sourcee
- the original exceptionuri
- the URI of the SVG graphic
-
transparencyIgnored
Transparency has been ignored due to restrictions from the PDF profile being used.- Parameters:
source
- the event sourcepdfProfile
- the PDF profileuri
- the image URI, if available
-
bitmapWithTransparency
SVG references a bitmap image that contains transparency while it is not allowed.- Parameters:
source
- the event sourcepdfProfile
- the PDF profile that disallows transparencyuri
- the image URI, if available
-