com.aspose.slides
Class Notes

java.lang.Object
  extended by com.aspose.slides.Notes
All Implemented Interfaces:
ITextBox

public final class Notes
extends java.lang.Object
implements ITextBox

Represents the notes of a slide.


Method Summary
 int getFrameType()
           
 com.aspose.slides.ppt.LevelStyle getMasterStyle(short depth)
          Returns a LevelStyle from a master slide.
 Paragraphs getParagraphs()
          Returns the list of all paragraphs of the notes.
 Slide getParent()
          Returns the parent slide.
 java.awt.Color getSchemeColor(int index)
          Returns the color of a color scheme of the notes.
 Slide getSlide()
          Returns the parent Slide of the Notes.
 java.lang.String getText()
          Returns the notes as a plain text.
 TextRuler getTextRuler()
          Returns the TextRuler of the Notes.
 boolean isFollowMasterBackground()
          Determines whether the notes follow the notes master background.
 boolean isFollowMasterObjects()
          Determines whether the notes objects follow the notes master objects style.
 boolean isFollowMasterScheme()
          Determines whether the notes follow the notes master color scheme.
 void setFollowMasterBackground(boolean value)
          Sets whether the notes follow the notes master background.
 void setFollowMasterObjects(boolean value)
          Sets whether the notes objects follow the notes master objects style.
 void setFollowMasterScheme(boolean value)
          Sets whether the notes follow the notes master color scheme.
 void setText(java.lang.String value)
          Sets the notes as a plain text.
 void textChanged()
          Recalculates text parameters of the Notes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getParent

public Slide getParent()
Returns the parent slide.


isFollowMasterObjects

public boolean isFollowMasterObjects()
Determines whether the notes objects follow the notes master objects style.

Returns:
true if notes objects follow the notes master objects style.

setFollowMasterObjects

public void setFollowMasterObjects(boolean value)
Sets whether the notes objects follow the notes master objects style.

Parameters:
value - true to force notes objects follow the notes master objects style.

isFollowMasterScheme

public boolean isFollowMasterScheme()
Determines whether the notes follow the notes master color scheme.

Returns:
true if notes follow the notes master color scheme.

setFollowMasterScheme

public void setFollowMasterScheme(boolean value)
Sets whether the notes follow the notes master color scheme.

Parameters:
value - true to force notes follow the notes master color scheme.

isFollowMasterBackground

public boolean isFollowMasterBackground()
Determines whether the notes follow the notes master background.

Returns:
true if notes follow the notes master background.

setFollowMasterBackground

public void setFollowMasterBackground(boolean value)
Sets whether the notes follow the notes master background.

Parameters:
value - true to force notes follow the notes master background.

getText

public java.lang.String getText()
Returns the notes as a plain text.


setText

public void setText(java.lang.String value)
Sets the notes as a plain text.

Parameters:
value - new notes text.

getParagraphs

public Paragraphs getParagraphs()
Returns the list of all paragraphs of the notes.

Specified by:
getParagraphs in interface ITextBox

getSchemeColor

public java.awt.Color getSchemeColor(int index)
Returns the color of a color scheme of the notes.

Parameters:
index - index of a color in a scheme.

getTextRuler

public TextRuler getTextRuler()
Returns the TextRuler of the Notes.

Specified by:
getTextRuler in interface ITextBox

getSlide

public Slide getSlide()
Returns the parent Slide of the Notes.

Specified by:
getSlide in interface ITextBox

getMasterStyle

public com.aspose.slides.ppt.LevelStyle getMasterStyle(short depth)
Returns a LevelStyle from a master slide.

Parameters:
depth - Depth level of text.

getFrameType

public int getFrameType()

textChanged

public void textChanged()
Recalculates text parameters of the Notes.