public interface PDFEventProducer extends EventProducer
Modifier and Type | Interface and Description |
---|---|
static class |
PDFEventProducer.Provider
Provider class for the event producer.
|
Modifier and Type | Method and Description |
---|---|
void |
incorrectEncryptionLength(Object source,
int originalValue,
int correctedValue)
The encryption length must be a multiple of 8 between 40 and 128.
|
void |
languageChanged(Object source,
Object oldLang,
String newLang)
The language was changed between pages
|
void |
nonFullyResolvedLinkTargets(Object source,
int count)
Some link targets haven't been fully resolved.
|
void |
nonStandardStructureType(Object source,
String type,
String fallback)
Custom structure type is not standard as per the PDF reference.
|
void |
unknownLanguage(Object source,
String location)
The language of a piece of text is unknown.
|
void |
unpairedSurrogate(Object source)
Unicode char map ended with an unpaired surrogate.
|
void nonFullyResolvedLinkTargets(Object source, int count)
source
- the event sourcecount
- the number of unresolved linksvoid nonStandardStructureType(Object source, String type, String fallback)
source
- the event sourcetype
- custom structure typefallback
- default structure type used as a fallbackvoid incorrectEncryptionLength(Object source, int originalValue, int correctedValue)
source
- the event sourceoriginalValue
- requested encryption lengthcorrectedValue
- corrected encryption lengthvoid unknownLanguage(Object source, String location)
source
- the event sourcelocation
- location in the source FO file, if anyvoid unpairedSurrogate(Object source)
source
- the event sourceCopyright © 2025 Apache Software Foundation. All rights reserved.