public interface ITextFrame extends ISlideComponent
Represents a TextFrame.
| Modifier and Type | Method and Description |
|---|---|
IHyperlinkQueries |
getHyperlinkQueries()
Provides easy access to contained hyperlinks.
|
IParagraphCollection |
getParagraphs()
Returns the list of all paragraphs in a frame.
|
java.lang.String |
getText()
Gets or sets the plain text for a TextFrame.
|
ITextFrameFormat |
getTextFrameFormat()
Returns the formatting object for this TextFrame object.
|
void |
highlightRegex(java.lang.String regex,
java.awt.Color highlightColor,
ITextHighlightingOptions options)
Highlight all matches of regular expression in text frame text using specified color.
|
void |
highlightText(java.lang.String text,
java.awt.Color highlightColor)
Highlight all matches of sample in text frame text using specified color.
|
void |
highlightText(java.lang.String text,
java.awt.Color highlightColor,
ITextHighlightingOptions options)
Highlight all matches of sample in text frame text using specified color.
|
void |
joinPortionsWithSameFormatting()
Joins runs with same formatting in all paragraphs.
|
void |
setText(java.lang.String value)
Gets or sets the plain text for a TextFrame.
|
getSlidegetPresentationIParagraphCollection getParagraphs()
Returns the list of all paragraphs in a frame.
Read-only IParagraphCollection.
java.lang.String getText()
Gets or sets the plain text for a TextFrame.
Read/write String.
void setText(java.lang.String value)
Gets or sets the plain text for a TextFrame.
Read/write String.
ITextFrameFormat getTextFrameFormat()
Returns the formatting object for this TextFrame object.
Read-only ITextFrameFormat.
IHyperlinkQueries getHyperlinkQueries()
Provides easy access to contained hyperlinks.
Read-only IHyperlinkQueries.
void joinPortionsWithSameFormatting()
Joins runs with same formatting in all paragraphs.
void highlightText(java.lang.String text,
java.awt.Color highlightColor)
Highlight all matches of sample in text frame text using specified color.
text - Text sample to highlight.highlightColor - Highlighting color.void highlightText(java.lang.String text,
java.awt.Color highlightColor,
ITextHighlightingOptions options)
Highlight all matches of sample in text frame text using specified color.
text - Text sample to highlight.highlightColor - Highlighting color.options - Highlighting options.void highlightRegex(java.lang.String regex,
java.awt.Color highlightColor,
ITextHighlightingOptions options)
Highlight all matches of regular expression in text frame text using specified color.
regex - Text of regular expression to get text to highlight.highlightColor - Highlighting color.options - Highlighting options.Copyright © 2004-2022 Aspose Pty Ltd. All Rights Reserved.