Examples of XSLFHyperlink


Examples of org.apache.poi.xslf.usermodel.XSLFHyperlink

    
      // assign a hyperlink to a text run
      XSLFTextBox shape = slide.createTextBox();
      XSLFTextRun r = shape.addNewTextParagraph().addNewTextRun();
      r.setText("Apache POI");
      XSLFHyperlink link = r.createHyperlink();
      link.setAddress("http://poi.apache.org");
     
      //save changes
      FileOutputStream out = new FileOutputStream("data/Apache_Hyperlink.ppt");
      ppt.write(out);
      out.close();
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.