Package com.compdfkit.core.annotation
Interface CPDFAnnotation.Flags
- Enclosing class:
- CPDFAnnotation
public static interface CPDFAnnotation.Flags
A set of flags specifying various characteristics of the annotation.
ComPDFKit doesn't support all of those flag settings.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIf set, do not display or print the annotation or allow it to interact with the user.static final int[IGNORED] If set, ignore annotation AP stream if there is no handler available.static final intIf set, don’t allow the annotation to be deleted or its properties to be modified, except for `contents`.static final int[IGNORED] If set, don't allow the `contents` of the annotation to be modified by the user.static final int[IGNORED] If set, don't rotate the annotation’s appearance to match the rotation of the page.static final int[IGNORED] I If set, don't display the annotation on the screen.static final int[IGNORED] If set, don't scale the annotation’s appearance to match the magnification of the page.static final int[IGNORED] If set, print the annotation when the page is printed.static final intIf set, don’t allow the annotation to be deleted or its properties to be modified, including `contents`.static final int[IGNORED] If set, invert the interpretation of the `.noView` flag for certain events.
-
Field Details
-
PDFAnnotationFlagInvisible
static final int PDFAnnotationFlagInvisible[IGNORED] If set, ignore annotation AP stream if there is no handler available.- See Also:
-
PDFAnnotationFlagHidden
static final int PDFAnnotationFlagHiddenIf set, do not display or print the annotation or allow it to interact with the user.- See Also:
-
PDFAnnotationFlagPrint
static final int PDFAnnotationFlagPrint[IGNORED] If set, print the annotation when the page is printed.- See Also:
-
PDFAnnotationFlagNoZoom
static final int PDFAnnotationFlagNoZoom[IGNORED] If set, don't scale the annotation’s appearance to match the magnification of the page.- See Also:
-
PDFAnnotationFlagNoRotate
static final int PDFAnnotationFlagNoRotate[IGNORED] If set, don't rotate the annotation’s appearance to match the rotation of the page.- See Also:
-
PDFAnnotationFlagNoView
static final int PDFAnnotationFlagNoView[IGNORED] I If set, don't display the annotation on the screen. (But printing might be allowed)- See Also:
-
PDFAnnotationFlagReadOnly
static final int PDFAnnotationFlagReadOnlyIf set, don’t allow the annotation to be deleted or its properties to be modified, including `contents`. This is ignored for widget annotations (form elements). For widget annotations the `isReadOnly` property of the associated form field should be used instead. This flag only restricts the ComPDFKit UI and does not impact programmatic modification of the annotation.- See Also:
-
PDFAnnotationFlagLocked
static final int PDFAnnotationFlagLockedIf set, don’t allow the annotation to be deleted or its properties to be modified, except for `contents`.- See Also:
-
PDFAnnotationFlagToggleNoView
static final int PDFAnnotationFlagToggleNoView[IGNORED] If set, invert the interpretation of the `.noView` flag for certain events.- See Also:
-
PDFAnnotationFlagLockedContents
static final int PDFAnnotationFlagLockedContents[IGNORED] If set, don't allow the `contents` of the annotation to be modified by the user.- See Also:
-