com.aspose.slides
Class MainMaster

java.lang.Object
  extended by com.aspose.slides.Slide
      extended by com.aspose.slides.MainMaster
All Implemented Interfaces:
ISlide

public final class MainMaster
extends Slide

Represents the main master slide in a presentation.


Field Summary
protected  PPTMainMaster m_master
           
 
Fields inherited from class com.aspose.slides.Slide
m_background, m_doc, m_drawing, m_notes, m_parent, m_pholders, m_satom, m_shapes, m_slide, m_SlideTransition, m_tags
 
Constructor Summary
protected MainMaster()
           
protected MainMaster(Presentation parent)
          Creates new MainMaster - called by Presentation to create a slide from scratch.
protected MainMaster(Presentation parent, PPTMainMaster master)
          Creates a PPTSlide representing the given Slide object.
 
Method Summary
protected  Slide clone(Presentation pres)
           
 java.lang.String getName()
          Returns the name of a master.
 long getSlideId()
          Returns the Id of a slide.
protected  java.util.ArrayList getSubFrames()
           
 void setName(java.lang.String value)
          Sets the name of a master.
protected  void setSlideId(long val)
           
 
Methods inherited from class com.aspose.slides.Slide
addNotes, addNotes, changeIdBase, changeIdBase, changeMaster, changeMaster, deleteSpContainer, findRootSpContainers, findShape, getBackground, getDoc, getHeaderFooter, getLayout, getMasterId, getNotes, getParent, getPlaceholders, getPPDrawing, getPPTSlide, getSchemeColor, getShapes, getSlideAtom, getSlideComments, getSlidePosition, getSlideShowTransition, getTags, getThumbnail, getThumbnail, getThumbnail, getThumbnail, getThumbnail, getThumbnail, isFollowMasterBackground, isFollowMasterObjects, isFollowMasterScheme, isMasterSlide, saveToSVG, setDoc, setFollowMasterBackground, setFollowMasterObjects, setFollowMasterScheme, setMasterId, setPPDrawing, setPPTSlide, setSchemeColor, setSlideAtom, setSlidePosition, updateDefaultMasterText, updateParagraphs, updateShapeSizes, updateTextColors, zOrder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_master

protected PPTMainMaster m_master
Constructor Detail

MainMaster

protected MainMaster()

MainMaster

protected MainMaster(Presentation parent)
Creates new MainMaster - called by Presentation to create a slide from scratch. You should not be calling this from application code (its protected anyhow).

Parameters:
parent - Presentation object associated with the slide.

MainMaster

protected MainMaster(Presentation parent,
                     PPTMainMaster master)
              throws PptReadException
Creates a PPTSlide representing the given Slide object. Should only be called by PPTPresentation when reading in an exisiting file.

Parameters:
parent -
master -
Throws:
PptReadException
Method Detail

getSlideId

public long getSlideId()
Returns the Id of a slide.

Specified by:
getSlideId in interface ISlide
Overrides:
getSlideId in class Slide
Returns:
The slide Id.

setSlideId

protected void setSlideId(long val)
Overrides:
setSlideId in class Slide

getSubFrames

protected java.util.ArrayList getSubFrames()
Overrides:
getSubFrames in class Slide

clone

protected Slide clone(Presentation pres)
               throws java.io.IOException,
                      PptReadException
Overrides:
clone in class Slide
Parameters:
pres - the target presentation.
Returns:
The new slide object.
Throws:
java.io.IOException
PptReadException

getName

public java.lang.String getName()
Returns the name of a master.

Specified by:
getName in interface ISlide
Overrides:
getName in class Slide
Returns:
the name of a master.

setName

public void setName(java.lang.String value)
Sets the name of a master.

Specified by:
setName in interface ISlide
Overrides:
setName in class Slide
Parameters:
value - the name of a master.