Package org.apache.fop.afp
Interface AFPEventProducer
-
- All Superinterfaces:
EventProducer
public interface AFPEventProducer extends EventProducer
Event producer interface for AFP-specific events.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AFPEventProducer.Provider
Provider class for the event producer.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
characterSetEncodingError(java.lang.Object source, java.lang.String charSetName, java.lang.String encoding)
A character set encoding error occurred.void
charactersetMissingMetrics(java.lang.Object source, char character, java.lang.String charSet)
The characterset is missing metric information for the specified charactervoid
characterSetNameInvalid(java.lang.Object source, java.lang.String msg)
The character set given has an invalid name.void
codePageNotFound(java.lang.Object source, java.lang.Exception e)
The code page for an AFP font could not be found.void
fontConfigMissing(java.lang.Object source, java.lang.String missingConfig, java.lang.String location)
A mandatory font configuration node is missing at location.void
invalidConfiguration(java.lang.Object source, java.lang.Exception e)
This is a generic event for invalid configuration errors.void
invalidDBFontInSVG(java.lang.Object source, java.lang.String fontFamily)
Double-byte fonts are not currently supported in SVG.void
resourceEmbeddingError(java.lang.Object source, java.lang.String resourceName, java.lang.Exception e)
Triggered when an external resource fails to be embedded.void
warnDefaultFontSetup(java.lang.Object source)
Warn about using default font setup.void
warnMissingDefaultFont(java.lang.Object source, java.lang.String style, int weight)
Warn about a missing default "any" font configuration.
-
-
-
Method Detail
-
warnDefaultFontSetup
void warnDefaultFontSetup(java.lang.Object source)
Warn about using default font setup.- Parameters:
source
- the event source
-
warnMissingDefaultFont
void warnMissingDefaultFont(java.lang.Object source, java.lang.String style, int weight)
Warn about a missing default "any" font configuration.- Parameters:
source
- the event sourcestyle
- the font styleweight
- the font weight
-
characterSetEncodingError
void characterSetEncodingError(java.lang.Object source, java.lang.String charSetName, java.lang.String encoding)
A character set encoding error occurred.- Parameters:
source
- the event sourcecharSetName
- the character set nameencoding
- the encoding
-
resourceEmbeddingError
void resourceEmbeddingError(java.lang.Object source, java.lang.String resourceName, java.lang.Exception e)
Triggered when an external resource fails to be embedded.- Parameters:
source
- the event sourceresourceName
- the name of the resource where the error occurrede
- the original exception
-
fontConfigMissing
void fontConfigMissing(java.lang.Object source, java.lang.String missingConfig, java.lang.String location)
A mandatory font configuration node is missing at location.- Parameters:
source
- the event sourcemissingConfig
- the expected configuration elementlocation
- the position of the missing element within the config file.
-
characterSetNameInvalid
void characterSetNameInvalid(java.lang.Object source, java.lang.String msg)
The character set given has an invalid name.- Parameters:
source
- the event sourcemsg
- the error message
-
codePageNotFound
void codePageNotFound(java.lang.Object source, java.lang.Exception e)
The code page for an AFP font could not be found.- Parameters:
source
- the event sourcee
- the original exception
-
invalidConfiguration
void invalidConfiguration(java.lang.Object source, java.lang.Exception e)
This is a generic event for invalid configuration errors.- Parameters:
source
- the event sourcee
- the original exception
-
charactersetMissingMetrics
void charactersetMissingMetrics(java.lang.Object source, char character, java.lang.String charSet)
The characterset is missing metric information for the specified character- Parameters:
source
- the event sourcecharacter
- the character with missing metric information.charSet
- the character set containing missing metric information
-
invalidDBFontInSVG
void invalidDBFontInSVG(java.lang.Object source, java.lang.String fontFamily)
Double-byte fonts are not currently supported in SVG.- Parameters:
source
- the event sourcefontFamily
- name of DB font
-
-