public interface IParagraph extends ISlideComponent
Represents a paragraph of a text.
Modifier and Type | Method and Description |
---|---|
IParagraphFormatEffectiveData |
createParagraphFormatEffective()
Deprecated.
Use IParagraph.ParagraphFormat.GetEffective() instead. The method will be removed after release of version 20.8.
|
IPortionFormat |
getEndParagraphPortionFormat()
Specifies the portion properties that are to be used if another portion is inserted after
the last one.
|
IParagraphFormat |
getParagraphFormat()
Returns the formatting object for this paragraph.
|
IPortionCollection |
getPortions()
Returns the collection of a text portions.
|
android.graphics.RectF |
getRect()
Get coordinates of rect that bounds paragraph.
|
java.lang.String |
getText()
Gets or sets the the plain text of a paragraph.
|
void |
joinPortionsWithSameFormatting()
Joins runs with same formatting.
|
void |
setEndParagraphPortionFormat(IPortionFormat value)
Specifies the portion properties that are to be used if another portion is inserted after
the last one.
|
void |
setText(java.lang.String value)
Gets or sets the the plain text of a paragraph.
|
getSlide
getPresentation
IPortionCollection getPortions()
Returns the collection of a text portions.
Read-only IPortionCollection
.
IParagraphFormat getParagraphFormat()
Returns the formatting object for this paragraph.
Read-only IParagraphFormat
.
@Deprecated IParagraphFormatEffectiveData createParagraphFormatEffective()
Creates immutable object which contains paragraph properties including inherited.
IParagraphFormatEffectiveData
.void joinPortionsWithSameFormatting()
Joins runs with same formatting.
java.lang.String getText()
Gets or sets the the plain text of a paragraph.
Read/write String
.
void setText(java.lang.String value)
Gets or sets the the plain text of a paragraph.
Read/write String
.
android.graphics.RectF getRect()
Get coordinates of rect that bounds paragraph. The rect includes all the lines of text in paragraph, including empty ones.
IPortionFormat getEndParagraphPortionFormat()
Specifies the portion properties that are to be used if another portion is inserted after the last one.
void setEndParagraphPortionFormat(IPortionFormat value)
Specifies the portion properties that are to be used if another portion is inserted after the last one.