| Modifier and Type | Class and Description |
|---|---|
| public static enum | TextRun.
Type of placeholder fields |
| public static enum | TextRun.
Type of text capitals |
| Modifier and Type | Method and Description |
|---|---|
| public Hyperlink | Returns: the associated hyperlinkCreates a new hyperlink and assigns it to this text run. |
| public TextRun. | Returns: the field type ornull if text run is not a fieldExperimental method to determine the field type, e.g. slide number |
| public PaintStyle | |
| public String | Returns: font family or null if not setGet the font family - convenience method for |
| public String | Returns: font family or null if not setthe font group, i.e. the range of glyphs to be covered.
if fontGroup)null, the font group matching the first character will be returnedGet the font family - convenience method for |
| public FontInfo | Returns: font info ornull if not setthe font group, i.e. the range of glyphs to be covered.
if fontGroup)null, the font group matching the first character will be returnedGet the font info for the given font group |
| public Double | Returns: font size in points or null if font size is not set.Returns the font size which is either set directly on this text run or given from the slide layout |
| public Hyperlink | Returns: the associated hyperlink or null if no hyperlink was setReturn the associated hyperlink |
| public TextParagraph | |
| public byte | |
| public String | |
| public TextRun. | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | setFontFamily(String
the font to apply to this text run.
The value of typeface)null removes the run specific font setting, so the default setting is activated again.Specifies the typeface, or name of the font that is to be used for this text run -
convenience method for calling |
| public void | setFontFamily(String
the font to apply to this text run.
The value of typeface, FontGroup null removes the run specific font setting, so the default setting is activated again.the font group, i.e. the range of glyphs to be covered.
if fontGroup)null, the font group matching the first character will be returnedSpecifies the typeface, or name of the font that is to be used for this text run -
convenience method for calling |
| public void | setFontInfo(FontInfo
the font to apply to this text run.
The value of fontInfo, FontGroup null removes the run specific font setting, so the default setting is activated again.the font group, i.e. the range of glyphs to be covered. defaults to latin, if fontGroup)null.Specifies the font to be used for this text run. |
| public void | setFontSize(Double
font size in points, if null the underlying fontsize will be unset fontSize)Sets the font size directly on this text run, if null is given, the font size defaults to the values given from the slide layout |
| public void | |
| public void | setStrikethrough(boolean
set to true for stroked text, false for no stroking stroked)Sets the strikethrough state |
| public void | |
| public void | setUnderlined(boolean
set to true for underlined text, false for no underlining underlined)Sets the underlined state |
| createHyperlink | back to summary |
|---|---|
| public Hyperlink Creates a new hyperlink and assigns it to this text run. If the text run has already a hyperlink assigned, return it instead
| |
| getFieldType | back to summary |
|---|---|
| public TextRun. Experimental method to determine the field type, e.g. slide number | |
| getFontColor | back to summary |
|---|---|
| public PaintStyle getFontColor() Returns the font color.
This usually returns a | |
| getFontFamily | back to summary |
|---|---|
| public String getFontFamily() Get the font family - convenience method for
| |
| getFontFamily | back to summary |
|---|---|
| public String getFontFamily(FontGroup fontGroup) Get the font family - convenience method for | |
| getFontInfo | back to summary |
|---|---|
| public FontInfo getFontInfo(FontGroup fontGroup) Get the font info for the given font group | |
| getFontSize | back to summary |
|---|---|
| public Double getFontSize() Returns the font size which is either set directly on this text run or given from the slide layout
| |
| getHyperlink | back to summary |
|---|---|
| public Hyperlink Return the associated hyperlink
| |
| getParagraph | back to summary |
|---|---|
public TextParagraph
| |
| getPitchAndFamily | back to summary |
|---|---|
public byte getPitchAndFamily()
| |
| getRawText | back to summary |
|---|---|
| public String getRawText() | |
| getTextCap | back to summary |
|---|---|
| public TextRun. | |
| isBold | back to summary |
|---|---|
public boolean isBold()
| |
| isItalic | back to summary |
|---|---|
public boolean isItalic()
| |
| isStrikethrough | back to summary |
|---|---|
public boolean isStrikethrough()
| |
| isSubscript | back to summary |
|---|---|
public boolean isSubscript()
| |
| isSuperscript | back to summary |
|---|---|
public boolean isSuperscript()
| |
| isUnderlined | back to summary |
|---|---|
public boolean isUnderlined()
| |
| setBold | back to summary |
|---|---|
| public void setBold(boolean bold) Sets the bold state
| |
| setFontColor | back to summary |
|---|---|
| public void setFontColor(Color color) Sets the (solid) font color - convenience function
| |
| setFontColor | back to summary |
|---|---|
| public void setFontColor(PaintStyle color) Sets the font color
| |
| setFontFamily | back to summary |
|---|---|
| public void setFontFamily(String typeface) Specifies the typeface, or name of the font that is to be used for this text run -
convenience method for calling
| |
| setFontFamily | back to summary |
|---|---|
| public void setFontFamily(String typeface, FontGroup fontGroup) Specifies the typeface, or name of the font that is to be used for this text run -
convenience method for calling
| |
| setFontInfo | back to summary |
|---|---|
| public void setFontInfo(FontInfo fontInfo, FontGroup fontGroup) Specifies the font to be used for this text run. | |
| setFontSize | back to summary |
|---|---|
| public void setFontSize(Double fontSize) Sets the font size directly on this text run, if null is given, the font size defaults to the values given from the slide layout
| |
| setItalic | back to summary |
|---|---|
| public void setItalic(boolean italic) Sets the italic state
| |
| setStrikethrough | back to summary |
|---|---|
| public void setStrikethrough(boolean stroked) Sets the strikethrough state
| |
| setText | back to summary |
|---|---|
| public void setText(String text) | |
| setUnderlined | back to summary |
|---|---|
| public void setUnderlined(boolean underlined) Sets the underlined state
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final TextRun. | |
| public static final TextRun. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TextRun. | |
| public static TextRun. |
| DATE_TIME | back to summary |
|---|---|
| public static final TextRun. | |
| SLIDE_NUMBER | back to summary |
|---|---|
| public static final TextRun. | |
| FieldType | back to summary |
|---|---|
| private FieldType() | |
| valueOf | back to summary |
|---|---|
| public static TextRun. | |
| values | back to summary |
|---|---|
| public static TextRun. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final TextRun. | |
| public static final TextRun. | |
| public static final TextRun. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TextRun. | |
| public static TextRun. |
| ALL | back to summary |
|---|---|
| public static final TextRun. | |
| NONE | back to summary |
|---|---|
| public static final TextRun. | |
| SMALL | back to summary |
|---|---|
| public static final TextRun. | |
| TextCap | back to summary |
|---|---|
| private TextCap() | |
| valueOf | back to summary |
|---|---|
| public static TextRun. | |
| values | back to summary |
|---|---|
| public static TextRun. | |