Package org.apache.poi.hslf.usermodel

Examples of org.apache.poi.hslf.usermodel.SlideShow.addHyperlink()


        String text = shape.getText();
        Hyperlink link = new Hyperlink();
        link.setAddress("http://www.apache.org");
        link.setTitle(shape.getText());
        int linkId = ppt.addHyperlink(link);

        shape.setHyperlink(linkId, 0, text.length());

        slide.addShape(shape);
View Full Code Here


        String text = shape.getText();
        Hyperlink link = new Hyperlink();
        link.setAddress("http://www.apache.org");
        link.setTitle(shape.getText());
        int linkId = ppt.addHyperlink(link);

        shape.setHyperlink(linkId, 0, text.length());

        slide.addShape(shape);
View Full Code Here

        String text = shape.getText();
        Hyperlink link = new Hyperlink();
        link.setAddress("http://www.apache.org");
        link.setTitle(shape.getText());
        int linkId = ppt.addHyperlink(link);

        shape.setHyperlink(linkId, 0, text.length());

        slide.addShape(shape);
View Full Code Here

        String text = textBox1.getText();
        Hyperlink link = new Hyperlink();
        link.setAddress("http://www.apache.org");
        link.setTitle(textBox1.getText());
        int linkId = ppt.addHyperlink(link);

        // apply link to the text
        textBox1.setHyperlink(linkId, 0, text.length());

        slideA.addShape(textBox1);
View Full Code Here

        textBox2.setText("Go to slide #3");
        textBox2.setAnchor(new Rectangle(100, 300, 200, 50));

        Hyperlink link2 = new Hyperlink();
        link2.setAddress(slideC);
        ppt.addHyperlink(link2);

        // apply link to the whole shape
        textBox2.setHyperlink(link2);

        slideA.addShape(textBox2);
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.