Package org.openpdf.renderer.annotation
Class TextMarkupAnnotation
java.lang.Object
org.openpdf.renderer.annotation.PDFAnnotation
org.openpdf.renderer.annotation.MarkupAnnotation
org.openpdf.renderer.annotation.TextMarkupAnnotation
PDF annotation describing a text markup: Highlight, Underline, Squiggle, StrikeOut
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openpdf.renderer.annotation.PDFAnnotation
PDFAnnotation.Flags -
Field Summary
FieldsFields inherited from class org.openpdf.renderer.annotation.PDFAnnotation
GOTO, GOTOE, GOTOR, URI -
Constructor Summary
ConstructorsConstructorDescriptionTextMarkupAnnotation(PDFObject annotObject, AnnotationType annotationType) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGets the highlight painting commands Use either Quads or Appearance Streamprivate voidParse the highlight commandsMethods inherited from class org.openpdf.renderer.annotation.MarkupAnnotation
getBorderStyle, getCurrentAppearance, getOffAppearance, getOnAppearance, getPageCommandsForAnnotation, getPopupAnnotation, getTextLabel, isAppearanceStateOn, parseAP, parseBorderStyleDictionary, switchAppearanceMethods inherited from class org.openpdf.renderer.annotation.PDFAnnotation
createAnnotation, getAnnotationName, getAppearanceState, getContents, getFlags, getModified, getPdfObj, getRect, getScalingTransformation, getSubType, getType, isFlagSet, parseRect, toString
-
Field Details
-
quadPoints
private int[] quadPoints -
highlightCommands
-
-
Constructor Details
-
TextMarkupAnnotation
public TextMarkupAnnotation(PDFObject annotObject, AnnotationType annotationType) throws IOException Constructor- Parameters:
annotObject-- Throws:
IOException
-
-
Method Details
-
parseHighlightCommands
private void parseHighlightCommands()Parse the highlight commands -
getCurrentCommand
Gets the highlight painting commands Use either Quads or Appearance Stream- Overrides:
getCurrentCommandin classMarkupAnnotation
-