| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| public static enum | |
| public static enum | TextParagraph.
Specifies a list of text alignment types |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public TextParagraph. | |
| public String | |
| public Double | Returns: the default font size, in case its not set in the textrun or null, if unset
|
| public Double | Returns: the default size for a tab character within this paragraph in points, null if unset
|
| public TextParagraph. | Returns: alignment that is applied to the paragraphReturns the font alignment that is applied to the paragraph. |
| public Double | Returns: the indent (in points) applied to the first line of text in the paragraph. or null, if unset
|
| public int | |
| public Double | |
| public Double | Returns: the vertical line spacing or null, if unsetReturns the vertical line spacing that is to be used within a paragraph. |
| public TextShape | |
| public Double | Returns: the right margin (in points) of the paragraph or null, if unsetSpecifies the right margin of the paragraph. |
| public Double | Returns: the vertical white space after the paragraph or null, if unsetThe amount of vertical white space after the paragraph This may be specified in two different ways, percentage spacing and font point spacing: If spaceBefore >= 0, then space is a percentage of normal line height. |
| public Double | Returns: the vertical white space before the paragraph, or null if unsetThe amount of vertical white space before the paragraph This may be specified in two different ways, percentage spacing and font point spacing: If spaceBefore >= 0, then space is a percentage of normal line height. |
| public List | Returns: the tabstop collection ornull if no tabstops are definedGet the |
| public TextParagraph. | Returns: alignment that is applied to the paragraphReturns the alignment that is applied to the paragraph. |
| public List | |
| public boolean | Returns: true if this paragraph is part of a header or footer placeholderConvenience method to determine if this text paragraph is part of the slide header or footer |
| public void | |
| public void | |
| public void | setIndentLevel(int
the level (0 ... 4) level)Specifies the particular level text properties that this paragraph will follow. |
| public void | setLeftMargin(Double
the left margin (in points) or null to unset leftMargin)Specifies the left margin of the paragraph. |
| public void | setLineSpacing(Double
the vertical line spacing lineSpacing)This element specifies the vertical line spacing that is to be used within a paragraph. |
| public void | |
| public void | setSpaceAfter(Double
the vertical white space after the paragraph, null to unset spaceAfter)Set the amount of vertical white space that will be present after the paragraph. |
| public void | setSpaceBefore(Double
the vertical white space before the paragraph, null to unset spaceBefore)Set the amount of vertical white space that will be present before the paragraph. |
| public void | setTextAlign(TextParagraph.
text align alignSpecifies the alignment that is to be applied to the paragraph. |
| addTabStops | back to summary |
|---|---|
| public void addTabStops(double positionInPoints, TabStop. Set the
| |
| clearTabStops | back to summary |
|---|---|
| public void clearTabStops() Removes the tabstops of this paragraphs. This doesn't affect inherited tabstops, e.g. inherited by the slide master
| |
| getBulletStyle | back to summary |
|---|---|
public TextParagraph.
| |
| getDefaultFontFamily | back to summary |
|---|---|
| public String getDefaultFontFamily() | |
| getDefaultFontSize | back to summary |
|---|---|
public Double getDefaultFontSize()
| |
| getDefaultTabSize | back to summary |
|---|---|
public Double getDefaultTabSize()
| |
| getFontAlign | back to summary |
|---|---|
| public TextParagraph. Returns the font alignment that is applied to the paragraph.
If this attribute is omitted, then null is return,
user code can imply the a value of
| |
| getIndent | back to summary |
|---|---|
public Double getIndent()
| |
| getIndentLevel | back to summary |
|---|---|
public int getIndentLevel()
| |
| getLeftMargin | back to summary |
|---|---|
public Double getLeftMargin()
| |
| getLineSpacing | back to summary |
|---|---|
| public Double getLineSpacing() Returns the vertical line spacing that is to be used within a paragraph. This may be specified in two different ways, percentage spacing and font point spacing: If linespacing >= 0, then linespacing is a percentage of normal line height. If linespacing < 0, the absolute value of linespacing is the spacing in points
| |
| getParentShape | back to summary |
|---|---|
| public TextShape | |
| getRightMargin | back to summary |
|---|---|
| public Double getRightMargin() Specifies the right margin of the paragraph. This is specified in addition to the text body inset and applies only to this text paragraph. That is the text body Inset and the RightMargin attributes are additive with respect to the text position. The right margin is not support and therefore ignored by the HSLF implementation.
| |
| getSpaceAfter | back to summary |
|---|---|
| public Double getSpaceAfter() The amount of vertical white space after the paragraph This may be specified in two different ways, percentage spacing and font point spacing: If spaceBefore >= 0, then space is a percentage of normal line height. If spaceBefore < 0, the absolute value of linespacing is the spacing in points
| |
| getSpaceBefore | back to summary |
|---|---|
| public Double getSpaceBefore() The amount of vertical white space before the paragraph This may be specified in two different ways, percentage spacing and font point spacing: If spaceBefore >= 0, then space is a percentage of normal line height. If spaceBefore < 0, the absolute value in points
| |
| getTabStops | back to summary |
|---|---|
| public List Get the
| |
| getTextAlign | back to summary |
|---|---|
| public TextParagraph. Returns the alignment that is applied to the paragraph.
If this attribute is omitted, then null is returned.
User code can imply the value
| |
| getTextRuns | back to summary |
|---|---|
| public List Fetch the text runs that are contained within this block of text | |
| isHeaderOrFooter | back to summary |
|---|---|
| public boolean isHeaderOrFooter() Convenience method to determine if this text paragraph is part of the slide header or footer
| |
| setBulletStyle | back to summary |
|---|---|
| public void setBulletStyle(Object... styles) Sets the bullet styles. If no styles are given, the bullets are omitted. Possible attributes are integer/double (bullet size), Color (bullet color), character (bullet character), string (bullet font), AutoNumberingScheme | |
| setIndent | back to summary |
|---|---|
| public void setIndent(Double indent) Specifies the indent size that will be applied to the first line of text in the paragraph.
| |
| setIndentLevel | back to summary |
|---|---|
| public void setIndentLevel(int level) Specifies the particular level text properties that this paragraph will follow. The value for this attribute formats the text according to the corresponding level paragraph properties defined in the SlideMaster.
| |
| setLeftMargin | back to summary |
|---|---|
| public void setLeftMargin(Double leftMargin) Specifies the left margin of the paragraph. This is specified in addition to the text body inset and applies only to this text paragraph. That is the text body Inset and the LeftMargin attributes are additive with respect to the text position.
| |
| setLineSpacing | back to summary |
|---|---|
| public void setLineSpacing(Double lineSpacing) This element specifies the vertical line spacing that is to be used within a paragraph. This may be specified in two different ways, percentage spacing and font point spacing: If linespacing >= 0, then linespacing is a percentage of normal line height If linespacing < 0, the absolute value of linespacing is the spacing in points Examples:
| |
| setRightMargin | back to summary |
|---|---|
public void setRightMargin(Double rightMargin)
| |
| setSpaceAfter | back to summary |
|---|---|
| public void setSpaceAfter(Double spaceAfter) Set the amount of vertical white space that will be present after the paragraph. This space is specified in either percentage or points: If spaceAfter >= 0, then space is a percentage of normal line height. If spaceAfter < 0, the absolute value of linespacing is the spacing in points Examples:
| |
| setSpaceBefore | back to summary |
|---|---|
| public void setSpaceBefore(Double spaceBefore) Set the amount of vertical white space that will be present before the paragraph. This space is specified in either percentage or points: If spaceBefore >= 0, then space is a percentage of normal line height. If spaceBefore < 0, the absolute value of linespacing is the spacing in points Examples:
| |
| setTextAlign | back to summary |
|---|---|
| public void setTextAlign(TextParagraph. Specifies the alignment that is to be applied to the paragraph.
Possible values for this include left, right, centered, justified and distributed,
see
| |
| Modifier and Type | Method and Description |
|---|---|
| public AutoNumberingScheme | |
| public Integer | getAutoNumberingStartAt()
Index (1-based) of the first auto number value, or null if auto numbering scheme wasn't assigned. |
| public String | |
| public String | |
| public PaintStyle | Returns: the color of bullet characters within a given paragraph. Anull value means to use the text font color.
|
| public Double | Returns: the bullet point font sizeThe bullet point font size If bulletFontSize >= 0, then space is a percentage of normal line height. |
| public void | |
| public void |
| getAutoNumberingScheme | back to summary |
|---|---|
| public AutoNumberingScheme getAutoNumberingScheme() | |
| getAutoNumberingStartAt | back to summary |
|---|---|
| public Integer getAutoNumberingStartAt() Index (1-based) of the first auto number value, or null if auto numbering scheme wasn't assigned. | |
| getBulletCharacter | back to summary |
|---|---|
| public String getBulletCharacter() | |
| getBulletFont | back to summary |
|---|---|
| public String getBulletFont() | |
| getBulletFontColor | back to summary |
|---|---|
public PaintStyle getBulletFontColor()
| |
| getBulletFontSize | back to summary |
|---|---|
| public Double getBulletFontSize() The bullet point font size If bulletFontSize >= 0, then space is a percentage of normal line height. If bulletFontSize < 0, the absolute value in points
| |
| setBulletFontColor | back to summary |
|---|---|
| public void setBulletFontColor(Color color) Convenience function to set a solid color | |
| setBulletFontColor | back to summary |
|---|---|
| public void setBulletFontColor(PaintStyle color) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final TextParagraph. | |
| public static final TextParagraph. | BASELINE
Place characters on font baseline. |
| public static final TextParagraph. | BOTTOM
Characters are anchored to the very bottom of a single line. |
| public static final TextParagraph. | CENTER
Characters centered within line height. |
| public static final TextParagraph. | TOP
Characters hang from top of line height. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TextParagraph. | |
| public static TextParagraph. |
| AUTO | back to summary |
|---|---|
| public static final TextParagraph. | |
| BASELINE | back to summary |
|---|---|
| public static final TextParagraph. Place characters on font baseline. Also known as "Roman" | |
| BOTTOM | back to summary |
|---|---|
| public static final TextParagraph. Characters are anchored to the very bottom of a single line. This is different than BASELINE because of letters such as "g", "q", and "y". Also known as "UpholdFixed" | |
| CENTER | back to summary |
|---|---|
| public static final TextParagraph. Characters centered within line height. | |
| TOP | back to summary |
|---|---|
| public static final TextParagraph. Characters hang from top of line height. Also known as "Hanging" | |
| FontAlign | back to summary |
|---|---|
| private FontAlign() | |
| valueOf | back to summary |
|---|---|
| public static TextParagraph. | |
| values | back to summary |
|---|---|
| public static TextParagraph. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final TextParagraph. | CENTER
For horizontal text, centered. |
| public static final TextParagraph. | DIST
Distribute space between characters. |
| public static final TextParagraph. | JUSTIFY
Align text so that it is justified across the whole line. |
| public static final TextParagraph. | JUSTIFY_LOW
Kashida justify low. |
| public static final TextParagraph. | LEFT
For horizontal text, left aligned. |
| public static final TextParagraph. | RIGHT
For horizontal text, right aligned. |
| public static final TextParagraph. | THAI_DIST
Thai distribution justification. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TextParagraph. | |
| public static TextParagraph. |
| CENTER | back to summary |
|---|---|
| public static final TextParagraph. For horizontal text, centered. For vertical text, middle aligned. | |
| DIST | back to summary |
|---|---|
| public static final TextParagraph. Distribute space between characters. | |
| JUSTIFY | back to summary |
|---|---|
| public static final TextParagraph. Align text so that it is justified across the whole line. It is smart in the sense that it will not justify sentences which are short For horizontal text, flush left and right. For vertical text, flush top and bottom. | |
| JUSTIFY_LOW | back to summary |
|---|---|
| public static final TextParagraph. Kashida justify low. | |
| LEFT | back to summary |
|---|---|
| public static final TextParagraph. For horizontal text, left aligned. For vertical text, top aligned. | |
| RIGHT | back to summary |
|---|---|
| public static final TextParagraph. For horizontal text, right aligned. For vertical text, bottom aligned. | |
| THAI_DIST | back to summary |
|---|---|
| public static final TextParagraph. Thai distribution justification. | |
| TextAlign | back to summary |
|---|---|
| private TextAlign() | |
| valueOf | back to summary |
|---|---|
| public static TextParagraph. | |
| values | back to summary |
|---|---|
| public static TextParagraph. | |