public class PresentationFormattedTextFragment extends FormattedTextFragment implements IPresentationHyperlinkContainer
Represents a fragment of formatted text in a PowerPoint document.
| Modifier and Type | Method and Description |
|---|---|
Color |
getBackgroundColor()
Gets the background color of the text.
|
Font |
getFont()
Gets the font of the text.
|
Color |
getForegroundColor()
Gets the foreground color of the text.
|
String |
getHyperlink(int actionType)
Gets the hyperlink associated with the text.
|
String |
getText()
Gets the fragment text.
|
void |
setHyperlink(int actionType,
String url)
Sets the hyperlink associated with the text.
|
public Color getBackgroundColor()
Gets the background color of the text.
getBackgroundColor in class FormattedTextFragmentpublic Font getFont()
Gets the font of the text.
getFont in class FormattedTextFragmentpublic Color getForegroundColor()
Gets the foreground color of the text.
getForegroundColor in class FormattedTextFragmentpublic final String getHyperlink(int actionType)
Gets the hyperlink associated with the text.
getHyperlink in interface IPresentationHyperlinkContaineractionType - The action that activates the hyperlink.public String getText()
Gets the fragment text.
getText in class FormattedTextFragmentpublic final void setHyperlink(int actionType,
String url)
Sets the hyperlink associated with the text.
setHyperlink in interface IPresentationHyperlinkContaineractionType - The action that activates the hyperlink.url - The hyperlink url.Copyright © 2026. All rights reserved.