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
-
Field Summary
FieldsFields inherited from class org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler
ANGLED_STYLES, ARROW_ANGLE, document, INTERIOR_COLOR_STYLES, SHORT_STYLES
-
Constructor Summary
ConstructorsConstructorDescriptionPDFileAttachmentAppearanceHandler
(PDAnnotation annotation) PDFileAttachmentAppearanceHandler
(PDAnnotation annotation, PDDocument document) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
drawPaperclip
(PDAppearanceContentStream contentStream) Draw a paperclip.void
void
void
Methods inherited from class org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler
addRectDifferences, applyRectDifferences, createCOSStream, drawArrow, drawCircle, drawCircle2, drawDiamond, drawStyle, generateAppearanceStreams, getAnnotation, getAppearance, getColor, getDownAppearance, getNormalAppearanceAsContentStream, getNormalAppearanceAsContentStream, getPaddedRectangle, getRectangle, getRolloverAppearance, handleBorderBox, setOpacity
-
Field Details
-
LOG
private static final org.apache.commons.logging.Log LOG
-
-
Constructor Details
-
PDFileAttachmentAppearanceHandler
-
PDFileAttachmentAppearanceHandler
-
-
Method Details
-
generateNormalAppearance
public void generateNormalAppearance() -
drawPaperclip
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()
-