Class PDAbstractAppearanceHandler

java.lang.Object
org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler
All Implemented Interfaces:
PDAppearanceHandler
Direct Known Subclasses:
PDCaretAppearanceHandler, PDCircleAppearanceHandler, PDFileAttachmentAppearanceHandler, PDFreeTextAppearanceHandler, PDHighlightAppearanceHandler, PDInkAppearanceHandler, PDLineAppearanceHandler, PDLinkAppearanceHandler, PDPolygonAppearanceHandler, PDPolylineAppearanceHandler, PDSoundAppearanceHandler, PDSquareAppearanceHandler, PDSquigglyAppearanceHandler, PDStrikeoutAppearanceHandler, PDTextAppearanceHandler, PDUnderlineAppearanceHandler

public abstract class PDAbstractAppearanceHandler extends Object implements PDAppearanceHandler
Generic handler to generate the fields appearance. Individual handler will provide specific implementations for different field types.
  • Field Details

    • document

      protected PDDocument document
    • SHORT_STYLES

      protected static final Set<String> SHORT_STYLES
      Line ending styles where the line has to be drawn shorter (minus line width).
    • INTERIOR_COLOR_STYLES

      protected static final Set<String> INTERIOR_COLOR_STYLES
      Line ending styles where there is an interior color.
    • ANGLED_STYLES

      protected static final Set<String> ANGLED_STYLES
      Line ending styles where the shape changes its angle, e.g. arrows.
  • Constructor Details

    • PDAbstractAppearanceHandler

      public PDAbstractAppearanceHandler(PDAnnotation annotation)
    • PDAbstractAppearanceHandler

      public PDAbstractAppearanceHandler(PDAnnotation annotation, PDDocument document)
  • Method Details