Class PDTextAppearanceHandler
java.lang.Object
org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler
org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDTextAppearanceHandler
- All Implemented Interfaces:
PDAppearanceHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.apache.commons.logging.LogFields inherited from class org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler
ANGLED_STYLES, ARROW_ANGLE, document, INTERIOR_COLOR_STYLES, SHORT_STYLES -
Constructor Summary
ConstructorsConstructorDescriptionPDTextAppearanceHandler(PDAnnotation annotation) PDTextAppearanceHandler(PDAnnotation annotation, PDDocument document) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddPath(PDAppearanceContentStream contentStream, GeneralPath path) private PDRectangleadjustRectAndBBox(PDAnnotationText annotation, float width, float height) private voiddrawCheck(PDAnnotationText annotation, PDAppearanceContentStream contentStream) private voiddrawCircles(PDAnnotationText annotation, PDAppearanceContentStream contentStream) private voiddrawComment(PDAnnotationText annotation, PDAppearanceContentStream contentStream) private voiddrawCross(PDAnnotationText annotation, PDAppearanceContentStream contentStream) private voiddrawCrossHairs(PDAnnotationText annotation, PDAppearanceContentStream contentStream) private voiddrawHelp(PDAnnotationText annotation, PDAppearanceContentStream contentStream) private voiddrawInsert(PDAnnotationText annotation, PDAppearanceContentStream contentStream) private voiddrawKey(PDAnnotationText annotation, PDAppearanceContentStream contentStream) private voiddrawNewParagraph(PDAnnotationText annotation, PDAppearanceContentStream contentStream) private voiddrawNote(PDAnnotationText annotation, PDAppearanceContentStream contentStream) private voiddrawParagraph(PDAnnotationText annotation, PDAppearanceContentStream contentStream) private voiddrawRightArrow(PDAnnotationText annotation, PDAppearanceContentStream contentStream) private voiddrawRightPointer(PDAnnotationText annotation, PDAppearanceContentStream contentStream) private voiddrawStar(PDAnnotationText annotation, PDAppearanceContentStream contentStream) private voiddrawUpArrow(PDAnnotationText annotation, PDAppearanceContentStream contentStream) private voiddrawUpLeftArrow(PDAnnotationText annotation, PDAppearanceContentStream contentStream) voidvoidvoidMethods 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 -
SUPPORTED_NAMES
-
-
Constructor Details
-
PDTextAppearanceHandler
-
PDTextAppearanceHandler
-
-
Method Details
-
generateNormalAppearance
public void generateNormalAppearance() -
adjustRectAndBBox
-
drawNote
private void drawNote(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
drawCircles
private void drawCircles(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
drawInsert
private void drawInsert(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
drawCross
private void drawCross(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
drawHelp
private void drawHelp(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
drawParagraph
private void drawParagraph(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
drawNewParagraph
private void drawNewParagraph(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
drawStar
private void drawStar(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
drawCheck
private void drawCheck(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
drawRightPointer
private void drawRightPointer(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
drawCrossHairs
private void drawCrossHairs(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
drawUpArrow
private void drawUpArrow(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
drawUpLeftArrow
private void drawUpLeftArrow(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
drawRightArrow
private void drawRightArrow(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
drawComment
private void drawComment(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
drawKey
private void drawKey(PDAnnotationText annotation, PDAppearanceContentStream contentStream) throws IOException - Throws:
IOException
-
addPath
- Throws:
IOException
-
generateRolloverAppearance
public void generateRolloverAppearance() -
generateDownAppearance
public void generateDownAppearance()
-