com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class TextFrame

  • java.lang.Object
    • com.aspose.slides.TextFrame
    • Method Detail

      • getParent_Immediate

        public final com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.

      • getText

        public final java.lang.String getText()

        Gets or sets the plain text for a TextFrame. Read/write String.

        Value: The text.
        Specified by:
        getText in interface ITextFrame
      • setText

        public final void setText(java.lang.String value)

        Gets or sets the plain text for a TextFrame. Read/write String.

        Value: The text.
        Specified by:
        setText in interface ITextFrame
      • joinPortionsWithSameFormatting

        public final void joinPortionsWithSameFormatting()

        Joins runs with same formatting in all paragraphs.

        Specified by:
        joinPortionsWithSameFormatting in interface ITextFrame
      • highlightText

        public final void highlightText(java.lang.String text,
                                        java.lang.Integer highlightColor)

        Highlight all matches of sample in text frame text using specified color.

        Specified by:
        highlightText in interface ITextFrame
        Parameters:
        text - Text sample to highlight.
        highlightColor - Highlighting color.
      • highlightText

        public final void highlightText(java.lang.String text,
                                        java.lang.Integer highlightColor,
                                        ITextHighlightingOptions options)

        Highlight all matches of sample in text frame text using specified color.

        Specified by:
        highlightText in interface ITextFrame
        Parameters:
        text - Text sample to highlight.
        highlightColor - Highlighting color.
        options - Highlighting options.
      • highlightRegex

        public final void highlightRegex(java.lang.String regex,
                                         java.lang.Integer highlightColor,
                                         ITextHighlightingOptions options)

        Highlight all matches of regular expression in text frame text using specified color.

        Specified by:
        highlightRegex in interface ITextFrame
        Parameters:
        regex - Text of regular expression to get text to highlight.
        highlightColor - Highlighting color.
        options - Highlighting options.