public interface ITextFrame extends ISlideComponent
Represents a TextFrame.
Modifier and Type | Method and Description |
---|---|
ITextFrameFormatEffectiveData |
createTextFrameFormatEffective()
Deprecated.
Use ITextFrame.TextFrameFormat.GetEffective() instead. The method will be removed after release of version 20.8.
|
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.
|
getSlide
getPresentation
IParagraphCollection 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.
@Deprecated ITextFrameFormatEffectiveData createTextFrameFormatEffective()
Creates and returns ITextFrameFormatEffectiveData
object which contains current text frame formatting properties, including inherited.
Read-only ITextFrameFormatEffectiveData
.
ITextFrameFormatEffectiveData
instance.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.