com.aspose.slides.pptx
Class TextFrameEx

java.lang.Object
  extended by com.aspose.slides.pptx.TextFrameEx

public final class TextFrameEx
extends java.lang.Object

Represents a TextFrame.


Method Summary
 double getMarginBottom()
          Returns the bottom margin (points) in a TextFrame.
 double getMarginLeft()
          Returns the left margin (points) in a TextFrame.
 double getMarginRight()
          Returns the right margin (points) in a TextFrame.
 double getMarginTop()
          Returns the top margin (points) in a TextFrame.
 ParagraphsEx getParagraphs()
          Returns the list of all paragraphs in a frame.
 PresentationEx getPresentation()
          Returns the parent presentation of a TextFrameEx.
 BaseSlideEx getSlide()
          Returns the parent slide of a TextFrameEx.
 java.lang.String getText()
          Returns the plain text for a TextFrame.
 void setMarginBottom(double value)
          Sets the bottom margin (points) in a TextFrame.
 void setMarginLeft(double value)
          Sets the left margin (points) in a TextFrame.
 void setMarginRight(double value)
          Sets the right margin (points) in a TextFrame.
 void setMarginTop(double value)
          Sets the top margin (points) in a TextFrame.
 void setText(java.lang.String value)
          Sets the plain text for a TextFrame.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getParagraphs

public ParagraphsEx getParagraphs()
Returns the list of all paragraphs in a frame.

Returns:
ParagraphsEx

getText

public java.lang.String getText()
Returns the plain text for a TextFrame.


setText

public void setText(java.lang.String value)
Sets the plain text for a TextFrame.

Parameters:
value -

getMarginLeft

public double getMarginLeft()
Returns the left margin (points) in a TextFrame.


setMarginLeft

public void setMarginLeft(double value)
Sets the left margin (points) in a TextFrame.


getMarginRight

public double getMarginRight()
Returns the right margin (points) in a TextFrame.


setMarginRight

public void setMarginRight(double value)
Sets the right margin (points) in a TextFrame.

Parameters:
value -

getMarginTop

public double getMarginTop()
Returns the top margin (points) in a TextFrame.


setMarginTop

public void setMarginTop(double value)
Sets the top margin (points) in a TextFrame.


getMarginBottom

public double getMarginBottom()
Returns the bottom margin (points) in a TextFrame.


setMarginBottom

public void setMarginBottom(double value)
Sets the bottom margin (points) in a TextFrame.


getSlide

public BaseSlideEx getSlide()
Returns the parent slide of a TextFrameEx.

Returns:
BaseSlideEx

getPresentation

public PresentationEx getPresentation()
Returns the parent presentation of a TextFrameEx.

Returns:
PresentationEx