Examples of PDFormFieldAdditionalActions


Examples of org.apache.pdfbox.pdmodel.interactive.action.PDFormFieldAdditionalActions

            }
            else
            {
                widget = (PDAnnotationWidget) next;
            }
            PDFormFieldAdditionalActions actions = null;
            if (field != null)
            {
                actions = field.getActions();
            }
            if (actions != null && actions.getF() != null
                    && widget.getDictionary().getDictionaryObject(COSName.AP) == null)
            {
                // do nothing because the field will be formatted by acrobat
                // when it is opened. See FreedomExpressions.pdf for an example of this.
            }
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.interactive.action.PDFormFieldAdditionalActions

     * @return The actions of the field.
     */
    public PDFormFieldAdditionalActions getActions()
    {
        COSDictionary aa = (COSDictionary) getDictionary().getDictionaryObject(COSName.AA);
        PDFormFieldAdditionalActions retval = null;
        if (aa != null)
        {
            retval = new PDFormFieldAdditionalActions(aa);
        }
        return retval;
    }
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.interactive.action.PDFormFieldAdditionalActions

     * @throws IOException
     */
    protected boolean valideField(PreflightContext ctx, PDField aField) throws IOException
    {
        boolean res = true;
        PDFormFieldAdditionalActions aa = aField.getActions();
        if (aa != null)
        {
            addValidationError(ctx, new ValidationError(ERROR_ACTION_FORBIDDEN_ADDITIONAL_ACTIONS_FIELD,
                    "\"AA\" must not be used in a Field dictionary"));
            res = false;
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.interactive.action.PDFormFieldAdditionalActions

     * @throws IOException
     */
    protected boolean valideField(PreflightContext ctx, PDField aField) throws IOException
    {
        boolean res = true;
        PDFormFieldAdditionalActions aa = aField.getActions();
        if (aa != null)
        {
            addValidationError(ctx, new ValidationError(ERROR_ACTION_FORBIDDEN_ADDITIONAL_ACTIONS_FIELD,
                    "\"AA\" must not be used in a Field dictionary"));
            res = false;
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.interactive.action.PDFormFieldAdditionalActions

            }
            else
            {
                widget = (PDAnnotationWidget)next;
            }
            PDFormFieldAdditionalActions actions = null;
            if( field != null )
            {
                actions = field.getActions();
            }
            if( actions != null &&
                actions.getF() != null &&
                widget.getDictionary().getDictionaryObject( COSName.AP ) ==null)
            {
                //do nothing because the field will be formatted by acrobat
                //when it is opened.  See FreedomExpressions.pdf for an example of this.
            }
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.interactive.action.PDFormFieldAdditionalActions

     * @return The actions of the field.
     */
    public PDFormFieldAdditionalActions getActions()
    {
        COSDictionary aa = (COSDictionary) dictionary.getDictionaryObject(COSName.AA);
        PDFormFieldAdditionalActions retval = null;
        if (aa != null)
        {
            retval = new PDFormFieldAdditionalActions(aa);
        }
        return retval;
    }
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.interactive.action.PDFormFieldAdditionalActions

            }
            else
            {
                widget = (PDAnnotationWidget)next;
            }
            PDFormFieldAdditionalActions actions = null;
            if( field != null )
            {
                actions = field.getActions();
            }
            if( actions != null &&
                actions.getF() != null &&
                widget.getDictionary().getDictionaryObject( COSName.AP ) ==null)
            {
                //do nothing because the field will be formatted by acrobat
                //when it is opened.  See FreedomExpressions.pdf for an example of this.
            }
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.interactive.action.PDFormFieldAdditionalActions

            }
            else
            {
                widget = (PDAnnotationWidget)next;
            }
            PDFormFieldAdditionalActions actions = null;
            if( field != null )
            {
                actions = field.getActions();
            }
            if( actions != null &&
                actions.getF() != null &&
                widget.getDictionary().getDictionaryObject( "AP" ) ==null)
            {
                //do nothing because the field will be formatted by acrobat
                //when it is opened.  See FreedomExpressions.pdf for an example of this.
            }
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.interactive.action.PDFormFieldAdditionalActions

     * @return The actions of the field.
     */
    public PDFormFieldAdditionalActions getActions()
    {
        COSDictionary aa = (COSDictionary)dictionary.getDictionaryObject( COSName.AA );
        PDFormFieldAdditionalActions retval = null;
        if( aa != null )
        {
            retval = new PDFormFieldAdditionalActions( aa );
        }
        return retval;
    }
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.interactive.action.PDFormFieldAdditionalActions

     * @return The actions of the field.
     */
    public PDFormFieldAdditionalActions getActions()
    {
        COSDictionary aa = (COSDictionary)dictionary.getDictionaryObject( COSName.AA );
        PDFormFieldAdditionalActions retval = null;
        if( aa != null )
        {
            retval = new PDFormFieldAdditionalActions( aa );
        }
        return retval;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.