public interface AFPEventProducer extends EventProducer
Modifier and Type | Interface and Description |
---|---|
static class |
AFPEventProducer.Provider
Provider class for the event producer.
|
Modifier and Type | Method and Description |
---|---|
void |
characterSetEncodingError(Object source,
String charSetName,
String encoding)
A character set encoding error occurred.
|
void |
charactersetMissingMetrics(Object source,
char character,
String charSet)
The characterset is missing metric information for the specified character
|
void |
characterSetNameInvalid(Object source,
String msg)
The character set given has an invalid name.
|
void |
codePageNotFound(Object source,
Exception e)
The code page for an AFP font could not be found.
|
void |
fontConfigMissing(Object source,
String missingConfig,
String location)
A mandatory font configuration node is missing at location.
|
void |
invalidConfiguration(Object source,
Exception e)
This is a generic event for invalid configuration errors.
|
void |
invalidDBFontInSVG(Object source,
String fontFamily)
Double-byte fonts are not currently supported in SVG.
|
void |
resourceEmbeddingError(Object source,
String resourceName,
Exception e)
Triggered when an external resource fails to be embedded.
|
void |
warnDefaultFontSetup(Object source)
Warn about using default font setup.
|
void |
warnMissingDefaultFont(Object source,
String style,
int weight)
Warn about a missing default "any" font configuration.
|
void warnDefaultFontSetup(Object source)
source
- the event sourcevoid warnMissingDefaultFont(Object source, String style, int weight)
source
- the event sourcestyle
- the font styleweight
- the font weightvoid characterSetEncodingError(Object source, String charSetName, String encoding)
source
- the event sourcecharSetName
- the character set nameencoding
- the encodingvoid resourceEmbeddingError(Object source, String resourceName, Exception e)
source
- the event sourceresourceName
- the name of the resource where the error occurrede
- the original exceptionvoid fontConfigMissing(Object source, String missingConfig, String location)
source
- the event sourcemissingConfig
- the expected configuration elementlocation
- the position of the missing element within the config file.void characterSetNameInvalid(Object source, String msg)
source
- the event sourcemsg
- the error messagevoid codePageNotFound(Object source, Exception e)
source
- the event sourcee
- the original exceptionvoid invalidConfiguration(Object source, Exception e)
source
- the event sourcee
- the original exceptionvoid charactersetMissingMetrics(Object source, char character, String charSet)
source
- the event sourcecharacter
- the character with missing metric information.charSet
- the character set containing missing metric informationCopyright © 2025 Apache Software Foundation. All rights reserved.