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 class  PDFEventProducer.Provider
      Provider class for the event producer.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void incorrectEncryptionLength​(java.lang.Object source, int originalValue, int correctedValue)
      The encryption length must be a multiple of 8 between 40 and 128.
      void nonFullyResolvedLinkTargets​(java.lang.Object source, int count)
      Some link targets haven't been fully resolved.
      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.
      void unknownLanguage​(java.lang.Object source, java.lang.String location)
      The language of a piece of text is unknown.
      void unpairedSurrogate​(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 source
        count - 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 source
        type - custom structure type
        fallback - 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 source
        originalValue - requested encryption length
        correctedValue - 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 source
        location - 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