Package org.apache.poi.xslf.usermodel

Examples of org.apache.poi.xslf.usermodel.XMLSlideShow.createSlide()


    XMLSlideShow ppt = new XMLSlideShow(new FileInputStream("data/presentation.pptx"));

    //add slides
      ppt.createSlide();
      ppt.createSlide();
      ppt.createSlide();

      XSLFSlide[] slides = ppt.getSlides();
      ppt.setSlideOrder(slides[0], 4);
     
      //save changes in a file
View Full Code Here


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

    
      // assign a hyperlink to a text run
      XSLFTextBox shape = slide.createTextBox();
      XSLFTextRun r = shape.addNewTextParagraph().addNewTextRun();
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.