Package org.apache.fop.render.pdf
Interface PDFEventProducer
public interface PDFEventProducer
Event producer interface for events generated by the PDF renderer.
PDFEventProducer.xml should include a message for all event-raising methods.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
Provider class for the event producer. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 pagesvoid
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.
-
Method Details
-
nonFullyResolvedLinkTargets
Some link targets haven't been fully resolved.- Parameters:
source
- the event sourcecount
- the number of unresolved links- Event severity level:
- WARN
-
nonStandardStructureType
Custom structure type is not standard as per the PDF reference.- Parameters:
source
- the event sourcetype
- custom structure typefallback
- default structure type used as a fallback- Event severity level:
- WARN
-
incorrectEncryptionLength
The encryption length must be a multiple of 8 between 40 and 128.- Parameters:
source
- the event sourceoriginalValue
- requested encryption lengthcorrectedValue
- corrected encryption length- Event severity level:
- WARN
-
unknownLanguage
The language of a piece of text is unknown.- Parameters:
source
- the event sourcelocation
- location in the source FO file, if any
-
unpairedSurrogate
Unicode char map ended with an unpaired surrogate.- Parameters:
source
- the event source- Event severity level:
- ERROR
-
languageChanged
The language was changed between pages- Parameters:
source
- the event sourceoldLang
- current languagenewLang
- new language- Event severity level:
- WARN
-