com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface ITextFrame

    • Method Detail

      • getText

        java.lang.String getText()

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

        Value: The text.
      • setText

        void setText(java.lang.String value)

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

        Value: The text.
      • joinPortionsWithSameFormatting

        void joinPortionsWithSameFormatting()

        Joins runs with same formatting in all paragraphs.

      • highlightText

        void highlightText(java.lang.String text,
                           java.awt.Color highlightColor)

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

        Parameters:
        text - Text sample to highlight.
        highlightColor - Highlighting color.
      • highlightText

        void highlightText(java.lang.String text,
                           java.awt.Color highlightColor,
                           ITextHighlightingOptions options)

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

        Parameters:
        text - Text sample to highlight.
        highlightColor - Highlighting color.
        options - Highlighting options.
      • highlightRegex

        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.

        Parameters:
        regex - Text of regular expression to get text to highlight.
        highlightColor - Highlighting color.
        options - Highlighting options.