Package org.apache.fop.render.pdf
Interface PDFEventProducer
-
- All Superinterfaces:
EventProducer
public interface PDFEventProducer extends EventProducer
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 Classes Modifier and Type Interface Description static classPDFEventProducer.ProviderProvider class for the event producer.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidincorrectEncryptionLength(java.lang.Object source, int originalValue, int correctedValue)The encryption length must be a multiple of 8 between 40 and 128.voidlanguageChanged(java.lang.Object source, java.lang.Object oldLang, java.lang.String newLang)The language was changed between pagesvoidnonFullyResolvedLinkTargets(java.lang.Object source, int count)Some link targets haven't been fully resolved.voidnonStandardStructureType(java.lang.Object source, java.lang.String type, java.lang.String fallback)Custom structure type is not standard as per the PDF reference.voidunknownLanguage(java.lang.Object source, java.lang.String location)The language of a piece of text is unknown.voidunpairedSurrogate(java.lang.Object source)Unicode char map ended with an unpaired surrogate.
-
-
-
Method Detail
-
nonFullyResolvedLinkTargets
void nonFullyResolvedLinkTargets(java.lang.Object source, int count)Some link targets haven't been fully resolved.- Parameters:
source- the event sourcecount- the number of unresolved links
-
nonStandardStructureType
void nonStandardStructureType(java.lang.Object source, java.lang.String type, java.lang.String fallback)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
-
incorrectEncryptionLength
void incorrectEncryptionLength(java.lang.Object source, int originalValue, int correctedValue)The encryption length must be a multiple of 8 between 40 and 128.- Parameters:
source- the event sourceoriginalValue- requested encryption lengthcorrectedValue- corrected encryption length
-
unknownLanguage
void unknownLanguage(java.lang.Object source, java.lang.String location)The language of a piece of text is unknown.- Parameters:
source- the event sourcelocation- location in the source FO file, if any
-
unpairedSurrogate
void unpairedSurrogate(java.lang.Object source)
Unicode char map ended with an unpaired surrogate.- Parameters:
source- the event source
-
languageChanged
void languageChanged(java.lang.Object source, java.lang.Object oldLang, java.lang.String newLang)The language was changed between pages- Parameters:
source- the event sourceoldLang- current languagenewLang- new language
-
-