Examples of XSLFTextBox


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

  public static void main(String[] args) throws Exception
  {
    XMLSlideShow ppt = new XMLSlideShow();
      XSLFSlide slide = ppt.createSlide();

      XSLFTextBox shape = slide.createTextBox();
      XSLFTextParagraph p = shape.addNewTextParagraph();

      XSLFTextRun r1 = p.addNewTextRun();
      r1.setText("The");
      r1.setFontColor(Color.blue);
      r1.setFontSize(24);
View Full Code Here

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

    XMLSlideShow ppt = new XMLSlideShow();
      XSLFSlide slide = ppt.createSlide();

    
      // 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
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.