Examples of PDActionRemoteGoTo


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

{

    @Test
    public void testGoto_OK() throws Exception
    {
        PDActionRemoteGoTo gotoAction = new PDActionRemoteGoTo();
        gotoAction.setD(COSName.getPDFName("ADest"));
        gotoAction.setFile(new PDFileSpecification()
        {
            public COSBase getCOSObject()
            {
                return COSName.getPDFName("ADest");
            }
View Full Code Here

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

    }

    @Test
    public void testGoto_KO_InvalidContent() throws Exception
    {
        PDActionRemoteGoTo gotoAction = new PDActionRemoteGoTo();
        gotoAction.setD(new COSDictionary());
        gotoAction.setFile(new PDFileSpecification()
        {
            public COSBase getCOSObject()
            {
                return COSName.getPDFName("ADest");
            }
View Full Code Here

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

    }

    @Test
    public void testGoto_KO_MissingD() throws Exception
    {
        PDActionRemoteGoTo gotoAction = new PDActionRemoteGoTo();
        gotoAction.setFile(new PDFileSpecification()
        {
            public COSBase getCOSObject()
            {
                return COSName.getPDFName("ADest");
            }
View Full Code Here

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

    }

    @Test
    public void testGoto_KO_MissingF() throws Exception
    {
        PDActionRemoteGoTo gotoAction = new PDActionRemoteGoTo();
        gotoAction.setD(COSName.getPDFName("ADest"));
        valid(gotoAction, false, PreflightConstants.ERROR_ACTION_MISING_KEY);
    }
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.interactive.action.type.PDActionRemoteGoTo

{

    @Test
    public void testGoto_OK() throws Exception
    {
        PDActionRemoteGoTo gotoAction = new PDActionRemoteGoTo();
        gotoAction.setD(COSName.getPDFName("ADest"));
        gotoAction.setFile(new PDFileSpecification()
        {
            public COSBase getCOSObject()
            {
                return COSName.getPDFName("ADest");
            }
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.interactive.action.type.PDActionRemoteGoTo

    }

    @Test
    public void testGoto_KO_InvalidContent() throws Exception
    {
        PDActionRemoteGoTo gotoAction = new PDActionRemoteGoTo();
        gotoAction.setD(new COSDictionary());
        gotoAction.setFile(new PDFileSpecification()
        {
            public COSBase getCOSObject()
            {
                return COSName.getPDFName("ADest");
            }
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.interactive.action.type.PDActionRemoteGoTo

    }

    @Test
    public void testGoto_KO_MissingD() throws Exception
    {
        PDActionRemoteGoTo gotoAction = new PDActionRemoteGoTo();
        gotoAction.setFile(new PDFileSpecification()
        {
            public COSBase getCOSObject()
            {
                return COSName.getPDFName("ADest");
            }
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.interactive.action.type.PDActionRemoteGoTo

    }

    @Test
    public void testGoto_KO_MissingF() throws Exception
    {
        PDActionRemoteGoTo gotoAction = new PDActionRemoteGoTo();
        gotoAction.setD(COSName.getPDFName("ADest"));
        valid(gotoAction, false, PreflightConstants.ERROR_ACTION_MISING_KEY);
    }
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.interactive.action.type.PDActionRemoteGoTo

{

    @Test
    public void testGoto_OK() throws Exception
    {
        PDActionRemoteGoTo gotoAction = new PDActionRemoteGoTo();
        gotoAction.setD(COSName.getPDFName("ADest"));
        gotoAction.setFile(new PDFileSpecification()
        {
            public COSBase getCOSObject()
            {
                return COSName.getPDFName("ADest");
            }
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.interactive.action.type.PDActionRemoteGoTo

    }

    @Test
    public void testGoto_KO_InvalidContent() throws Exception
    {
        PDActionRemoteGoTo gotoAction = new PDActionRemoteGoTo();
        gotoAction.setD(new COSDictionary());
        gotoAction.setFile(new PDFileSpecification()
        {
            public COSBase getCOSObject()
            {
                return COSName.getPDFName("ADest");
            }
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.