Top Fields Constructors Methods
org.apache.pdfbox.pdmodel.interactive.annotation.handlers

public Class PDTextAppearanceHandler

extends PDAbstractAppearanceHandler
Class Inheritance
Imports
java.awt.geom.AffineTransform, .GeneralPath, .PathIterator, java.io.IOException, java.util.HashSet, .List, .Set, org.apache.commons.logging.Log, .LogFactory, org.apache.pdfbox.cos.COSName, org.apache.pdfbox.pdmodel.PDAppearanceContentStream, .PDDocument, org.apache.pdfbox.pdmodel.common.PDRectangle, org.apache.pdfbox.pdmodel.font.PDType1Font, .Standard14Fonts, .Standard14Fonts.FontName, org.apache.pdfbox.pdmodel.graphics.blend.BlendMode, org.apache.pdfbox.pdmodel.graphics.color.PDColor, org.apache.pdfbox.pdmodel.graphics.state.PDExtendedGraphicsState, org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation, .PDAnnotationText, org.apache.pdfbox.util.Matrix

Author
Tilman Hausherr

Field Summary

Modifier and TypeField and Description
private static final Log
private static final Set<String>
Inherited from org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler:
ANGLED_STYLESARROW_ANGLEdocumentINTERIOR_COLOR_STYLESSHORT_STYLES

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
private void
addPath(final PDAppearanceContentStream contentStream, GeneralPath path)

private PDRectangle
adjustRectAndBBox(PDAnnotationText annotation, float width, float height)

private void
drawCheck(PDAnnotationText annotation, final PDAppearanceContentStream contentStream)

private void
drawCircles(PDAnnotationText annotation, final PDAppearanceContentStream contentStream)

private void
drawComment(PDAnnotationText annotation, final PDAppearanceContentStream contentStream)

private void
drawCross(PDAnnotationText annotation, final PDAppearanceContentStream contentStream)

private void
private void
drawHelp(PDAnnotationText annotation, final PDAppearanceContentStream contentStream)

private void
drawInsert(PDAnnotationText annotation, final PDAppearanceContentStream contentStream)

private void
drawKey(PDAnnotationText annotation, final PDAppearanceContentStream contentStream)

private void
private void
drawNote(PDAnnotationText annotation, final PDAppearanceContentStream contentStream)

private void
drawParagraph(PDAnnotationText annotation, final PDAppearanceContentStream contentStream)

private void
private void
private void
drawStar(PDAnnotationText annotation, final PDAppearanceContentStream contentStream)

private void
drawUpArrow(PDAnnotationText annotation, final PDAppearanceContentStream contentStream)

private void
public void
public void
public void
Inherited from org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler:
addRectDifferencesapplyRectDifferencescreateCOSStreamdrawArrowdrawCircledrawCircle2drawDiamonddrawStylegetAnnotationgetAppearancegetColorgetDefaultFontgetDownAppearancegetNormalAppearanceAsContentStreamgetNormalAppearanceAsContentStreamgetPaddedRectanglegetRectanglegetRolloverAppearancehandleBorderBoxsetOpacity

Field Detail

LOGback to summary
private static final Log LOG
SUPPORTED_NAMESback to summary
private static final Set<String> SUPPORTED_NAMES

Constructor Detail

PDTextAppearanceHandlerback to summary
public PDTextAppearanceHandler(PDAnnotation annotation)
PDTextAppearanceHandlerback to summary
public PDTextAppearanceHandler(PDAnnotation annotation, PDDocument document)

Method Detail

addPathback to summary
private void addPath(final PDAppearanceContentStream contentStream, GeneralPath path) throws IOException
adjustRectAndBBoxback to summary
private PDRectangle adjustRectAndBBox(PDAnnotationText annotation, float width, float height)
drawCheckback to summary
private void drawCheck(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
drawCirclesback to summary
private void drawCircles(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
drawCommentback to summary
private void drawComment(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
drawCrossback to summary
private void drawCross(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
drawCrossHairsback to summary
private void drawCrossHairs(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
drawHelpback to summary
private void drawHelp(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
drawInsertback to summary
private void drawInsert(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
drawKeyback to summary
private void drawKey(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
drawNewParagraphback to summary
private void drawNewParagraph(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
drawNoteback to summary
private void drawNote(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
drawParagraphback to summary
private void drawParagraph(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
drawRightArrowback to summary
private void drawRightArrow(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
drawRightPointerback to summary
private void drawRightPointer(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
drawStarback to summary
private void drawStar(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
drawUpArrowback to summary
private void drawUpArrow(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
drawUpLeftArrowback to summary
private void drawUpLeftArrow(PDAnnotationText annotation, final PDAppearanceContentStream contentStream) throws IOException
generateDownAppearanceback to summary
public void generateDownAppearance()

Implements org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAppearanceHandler.generateDownAppearance.

Annotations
@Override
generateNormalAppearanceback to summary
public void generateNormalAppearance()

Implements org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAppearanceHandler.generateNormalAppearance.

Annotations
@Override
generateRolloverAppearanceback to summary
public void generateRolloverAppearance()

Implements org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAppearanceHandler.generateRolloverAppearance.

Annotations
@Override