Package org.apache.poi.hslf.model

Examples of org.apache.poi.hslf.model.SlideMaster


  /**
   * Tests getting and setting the font size on rich and non
   *  rich text runs
   */
  public void testFontSize() throws Exception {
    SlideMaster master;
        Slide slideOne = ss.getSlides()[0];
    TextRun[] textRuns = slideOne.getTextRuns();
    RichTextRun rtr = textRuns[0].getRichTextRuns()[0];
   
    Slide slideOneR = ssRichB.getSlides()[0];
View Full Code Here


    SlideShow ppt = new SlideShow();
   
    //add first slide
      Slide s1 = ppt.createSlide();
     
      SlideMaster master = ppt.getSlidesMasters()[0];

      Fill fill = master.getBackground().getFill();
      int idx = ppt.addPicture(new File("data/background.jpg"), Picture.JPEG);
      fill.setFillType(Fill.FILL_PICTURE);
      fill.setPictureData(idx);
     
      //save changes in a file
View Full Code Here

TOP

Related Classes of org.apache.poi.hslf.model.SlideMaster

Copyright © 2018 www.massapicom. 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.