Class PDFileAttachmentAppearanceHandler

java.lang.Object
org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler
org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDFileAttachmentAppearanceHandler
All Implemented Interfaces:
PDAppearanceHandler

public class PDFileAttachmentAppearanceHandler extends PDAbstractAppearanceHandler
  • Field Details

    • LOG

      private static final org.apache.commons.logging.Log LOG
  • Constructor Details

    • PDFileAttachmentAppearanceHandler

      public PDFileAttachmentAppearanceHandler(PDAnnotation annotation)
    • PDFileAttachmentAppearanceHandler

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

    • generateNormalAppearance

      public void generateNormalAppearance()
    • drawPaperclip

      private void drawPaperclip(PDAppearanceContentStream contentStream) throws IOException
      Draw a paperclip. Shape is from <a href="https://raw.githubusercontent.com/Iconscout/unicons/master/svg/line/paperclip.svg>Iconscout (Apache licensed).
      Parameters:
      contentStream -
      Throws:
      IOException
    • generateRolloverAppearance

      public void generateRolloverAppearance()
    • generateDownAppearance

      public void generateDownAppearance()