|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Paragraph
public final class Paragraph
Represents a paragraph of text.
Constructor Summary | |
---|---|
Paragraph()
Initializes a new instance of the Paragraph class with default properties. |
|
Paragraph(Paragraph para)
Copy constructor that initializes a new instance of a Paragraph class. |
Method Summary | |
---|---|
IParagraphFormatEffectiveData |
createParagraphFormatEffective()
Creates immutable object which contains effective paragraph formatting properties with the inheritance applied. |
IParagraphFormat |
getParagraphFormat()
Returns the formatting object for this paragraph. |
IPortionCollection |
getPortions()
Returns the collection of a text portions. |
IPresentation |
getPresentation()
Returns the parent presentation of a paragraph. |
IBaseSlide |
getSlide()
Returns the parent slide of a paragraph. |
java.lang.String |
getText()
Gets or sets the the plain text of a paragraph. |
void |
setText(java.lang.String value)
|
void |
subscribe(com.aspose.slides.IObserver observer)
|
void |
unsubscribe(com.aspose.slides.IObserver observer)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Paragraph()
Initializes a new instance of the Paragraph class with default properties.
public Paragraph(Paragraph para)
Copy constructor that initializes a new instance of a Paragraph class.
Method Detail |
---|
public IPortionCollection getPortions()
Returns the collection of a text portions.
Read-only PortionCollection
.
getPortions
in interface IParagraph
public IParagraphFormat getParagraphFormat()
Returns the formatting object for this paragraph.
Read-only ParagraphFormat
.
The formatting object contains the formatting parameters defined for the current paragraph only, inherited data is not applied.
In order to get the effective values including inherited ones use the CreateParagraphFormatEffective
method.
getParagraphFormat
in interface IParagraph
public IParagraphFormatEffectiveData createParagraphFormatEffective()
Creates immutable object which contains effective paragraph formatting properties with the inheritance applied.
createParagraphFormatEffective
in interface IParagraph
ParagraphFormatEffectiveData
.public java.lang.String getText()
Gets or sets the the plain text of a paragraph.
Value: The text.
getText
in interface IParagraph
public void setText(java.lang.String value)
setText
in interface IParagraph
public void subscribe(com.aspose.slides.IObserver observer)
public void unsubscribe(com.aspose.slides.IObserver observer)
public IBaseSlide getSlide()
Returns the parent slide of a paragraph.
Read-only BaseSlide
.
getSlide
in interface ISlideComponent
public IPresentation getPresentation()
Returns the parent presentation of a paragraph.
Read-only Presentation
.
getPresentation
in interface IPresentationComponent
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |