/** * A flag that can be used by the signature handler or software module to * indicate that this signature was created with unrelease software. * * @return true if the software module or signature handler was a pre release. */ public boolean getPreRelease() { return dictionary.getBoolean(COSName.PRE_RELEASE, false); }
/** * If true, the application was in trusted mode when signing took place. * * @return true if the application was in trusted mode while signing. * default: false */ public boolean getTrustedMode() { return dictionary.getBoolean(COSName.TRUSTED_MODE, false); }
/** * Get the display doc title preference. * * @return the display doc title preference. */ public boolean displayDocTitle() { return prefs.getBoolean( COSName.DISPLAY_DOC_TITLE, false ); }
/** * This will get the alpha source flag (“alpha is shape”), that specifies whether the current * soft mask and alpha constant shall be interpreted as shape values (true) or opacity values * (false). * * @return The alpha source flag. */ public boolean getAlphaSourceFlag() { return dict.getBoolean(COSName.AIS, false); }
@Override public boolean getInterpolate() { return parameters.getBoolean(COSName.I, COSName.INTERPOLATE, false); }
/** * A flag indicating whether to hide the annotation or show it * * @return true if annotation is hidden */ public boolean getH() { return this.action.getBoolean(COSName.H, true); }
/** * Tells if this is a tagged PDF. * * @return true If this is a tagged PDF. */ public boolean isMarked() { return dictionary.getBoolean( "Marked", false ); }
/** * This will tell if the icon should scale to fit the annotation bounds. Default: false * * @return A flag telling if the icon should scale. */ public boolean shouldScaleToFitAnnotation() { return fit.getBoolean(COSName.FB, false); }
/** * Get the toolbar preference. * * @return the toolbar preference. */ public boolean hideToolbar() { return prefs.getBoolean( COSName.HIDE_TOOLBAR, false ); }
/** * Get the menubar preference. * * @return the menubar preference. */ public boolean hideMenubar() { return prefs.getBoolean( COSName.HIDE_MENUBAR, false ); }
/** * Get the fit window preference. * * @return the fit window preference. */ public boolean fitWindow() { return prefs.getBoolean( COSName.FIT_WINDOW, false ); }
@Override public boolean isStencil() { return parameters.getBoolean(COSName.IM, COSName.IMAGE_MASK, false); }
/** * True if the viewing application should construct the appearances of all field widgets. * The default value is false. * * @return the value of NeedAppearances, false if the value isn't set */ public boolean getNeedAppearances() { return dictionary.getBoolean(COSName.NEED_APPEARANCES, false); }
/** * Tells if structure elements use user properties. * * @return A boolean telling if the structure elements use user properties. */ public boolean usesUserProperties() { return dictionary.getBoolean( "UserProperties", false ); }
/** * Tells if this PDF contain 'suspect' tags. See PDF Reference 1.6 * section 10.6 "Logical Structure" for more information about this property. * * @return true if the suspect flag has been set. */ public boolean isSuspect() { return dictionary.getBoolean( "Suspects", false ); }
/** * This will retrieve the initial state of the annotation, open Or closed (default closed). * * @return The initial state, true = open false = closed. */ public boolean getOpen() { return getCOSObject().getBoolean("Open", false); }
/** * This will retrieve whether the text specified by the /Contents or /RC entries shall be * shown as a caption in the appearance of the line. * * @return boolean if the contents shall be shown as a caption (default: false). */ public boolean hasCaption() { return getCOSObject().getBoolean(COSName.CAP, false); }
/** * Returns true if this group is a knockout. A knockout group blends with original backdrop, * a non-knockout group blends with the current backdrop. */ public boolean isKnockout() { return getCOSObject().getBoolean(COSName.K, false); } }
/** * @return true if the area that shall be flown in is rectangular and opaque. Default is false. Only for * {@link PDTransitionStyle#Fly}. */ public boolean isFlyAreaOpaque() { return getCOSObject().getBoolean(COSName.B, false); }
/** * This will retrieve the initial state of the annotation, open Or closed (default closed). * * @return The initial state, true = open false = closed */ public boolean getOpen() { return getCOSObject().getBoolean(COSName.getPDFName("Open"), false); }