Paragraph
Paragraph class
Represents a paragraph of text.
Paragraph
| Name | Description |
|---|---|
| Paragraph() | Initializes a new instance of the Paragraph class with default properties. |
Returns: Paragraph
Paragraph
| Name | Description |
|---|---|
| Paragraph(Paragraph) | Copy function that initializes a new instance of a Paragraph class. |
Returns: Paragraph
getEndParagraphPortionFormat
| Name | Description |
|---|---|
| getEndParagraphPortionFormat () | Specifies the portion properties that are to be used if another portion is inserted after the last one. |
Returns: PortionFormat
getLinesCount
| Name | Description |
|---|---|
| getLinesCount () | Get number of lines in a paragraph. |
Returns: int
getParagraphFormat
| Name | Description |
|---|---|
| getParagraphFormat () | Returns the formatting object for this paragraph. Read-only IParagraphFormat. 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 ParagraphFormat#getEffective method. |
Returns: ParagraphFormat
getPortions
| Name | Description |
|---|---|
| getPortions () | Returns the collection of a text portions. Read-only IPortionCollection. |
Returns: PortionCollection
getPresentation
| Name | Description |
|---|---|
| getPresentation () | Returns the parent presentation of a paragraph. Read-only IPresentation. |
Returns: Presentation
getRect
| Name | Description |
|---|---|
| getRect () | Get coordinates of rect that bounds paragraph. The rect includes all the lines of text in paragraph, including empty ones. |
Returns: Rectangle2D.Float
getSlide
| Name | Description |
|---|---|
| getSlide () | Returns the parent slide of a paragraph. Read-only BaseSlide. |
Returns: MasterHandoutSlide, BaseSlide, LayoutSlide, Slide, MasterSlide, NotesSlide, MasterNotesSlide
getText
| Name | Description |
|---|---|
| getText () | Gets or sets the the plain text of a paragraph. Read/write String. Value: The text. |
Returns: String
joinPortionsWithSameFormatting
| Name | Description |
|---|---|
| joinPortionsWithSameFormatting () | Joins runs with same formatting. |
Returns: void
setEndParagraphPortionFormat
| Name | Description |
|---|---|
| setEndParagraphPortionFormat (PortionFormat) | Specifies the portion properties that are to be used if another portion is inserted after the last one. |
Returns: void
setText
| Name | Description |
|---|---|
| setText (String) | Gets or sets the the plain text of a paragraph. Read/write String. Value: The text. |
Returns: void