Class PDFileAttachmentAppearanceHandler

    • Field Detail

      • LOG

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

      • PDFileAttachmentAppearanceHandler

        public PDFileAttachmentAppearanceHandler​(PDAnnotation annotation)
      • PDFileAttachmentAppearanceHandler

        public PDFileAttachmentAppearanceHandler​(PDAnnotation annotation,
                                                 PDDocument document)
    • Method Detail

      • generateNormalAppearance

        public void generateNormalAppearance()
      • drawPaperclip

        private void drawPaperclip​(PDAppearanceContentStream contentStream)
                            throws java.io.IOException
        Draw a paperclip. Shape is from Iconscout (Apache licensed).
        Parameters:
        contentStream -
        Throws:
        java.io.IOException
      • drawPushPin

        private void drawPushPin​(PDAppearanceContentStream contentStream)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • drawGraph

        private void drawGraph​(PDAppearanceContentStream contentStream)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • drawTag

        private void drawTag​(PDAppearanceContentStream contentStream)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • generateRolloverAppearance

        public void generateRolloverAppearance()
      • generateDownAppearance

        public void generateDownAppearance()