Package org.apache.poi.hslf.record

Examples of org.apache.poi.hslf.record.SlideAtom


     *
     * @return <code>true</code> if the slide draws master sheet objects,
     * <code>false</code> otherwise
     */
    public boolean getFollowMasterObjects(){
        SlideAtom sa = getSlideRecord().getSlideAtom();
        return sa.getFollowMasterObjects();
    }
View Full Code Here


   */
  public void setNotes(Notes notes) {
  _notes = notes;

  // Update the Slide Atom's ID of where to point to
  SlideAtom sa = _slide.getSlideAtom();

  if(notes == null) {
    // Set to 0
    sa.setNotesID(0);
  } else {
    // Set to the value from the notes' sheet id
    sa.setNotesID(notes._getSheetNumber());
  }
  }
View Full Code Here

   */
  public void setNotes(Notes notes) {
    _notes = notes;

    // Update the Slide Atom's ID of where to point to
    SlideAtom sa = getSlideRecord().getSlideAtom();

    if(notes == null) {
      // Set to 0
      sa.setNotesID(0);
    } else {
      // Set to the value from the notes' sheet id
      sa.setNotesID(notes._getSheetNumber());
    }
  }
View Full Code Here

     *
     * @return the master sheet associated with this slide.
     */
     public MasterSheet getMasterSheet(){
        SlideMaster[] master = getSlideShow().getSlidesMasters();
        SlideAtom sa = getSlideRecord().getSlideAtom();
        int masterId = sa.getMasterID();
        MasterSheet sheet = null;
        for (int i = 0; i < master.length; i++) {
            if (masterId == master[i]._getSheetNumber()) {
                sheet = master[i];
                break;
View Full Code Here

    /**
     * Change Master of this slide.
     */
    public void setMasterSheet(MasterSheet master){
        SlideAtom sa = getSlideRecord().getSlideAtom();
        int sheetNo = master._getSheetNumber();
        sa.setMasterID(sheetNo);
    }
View Full Code Here

     *
     * @param flag  <code>true</code> if the slide follows master,
     * <code>false</code> otherwise
     */
    public void setFollowMasterBackground(boolean flag){
        SlideAtom sa = getSlideRecord().getSlideAtom();
        sa.setFollowMasterBackground(flag);
    }
View Full Code Here

     *
     * @return <code>true</code> if the slide follows master background,
     * <code>false</code> otherwise
     */
    public boolean getFollowMasterBackground(){
        SlideAtom sa = getSlideRecord().getSlideAtom();
        return sa.getFollowMasterBackground();
    }
View Full Code Here

     *
     * @param flag  <code>true</code> if the slide draws master sheet objects,
     * <code>false</code> otherwise
     */
    public void setFollowMasterObjects(boolean flag){
        SlideAtom sa = getSlideRecord().getSlideAtom();
        sa.setFollowMasterObjects(flag);
    }
View Full Code Here

     *
     * @return <code>true</code> if the slide follows master color scheme,
     * <code>false</code> otherwise
     */
    public boolean getFollowMasterScheme(){
        SlideAtom sa = getSlideRecord().getSlideAtom();
        return sa.getFollowMasterScheme();
    }
View Full Code Here

     *
     * @param flag  <code>true</code> if the slide draws master color scheme,
     * <code>false</code> otherwise
     */
    public void setFollowMasterScheme(boolean flag){
        SlideAtom sa = getSlideRecord().getSlideAtom();
        sa.setFollowMasterScheme(flag);
    }
View Full Code Here

TOP

Related Classes of org.apache.poi.hslf.record.SlideAtom

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.