com.groupdocs.watermark.search

Interfaces

Classes

com.groupdocs.watermark.search

Class FormattedTextFragmentCollection

    • Method Detail

      • getCollectionType

        public final int getCollectionType()

        Gets the formatted fragment collection type.

        Returns:
        The formatted fragment collection type.
      • add

        public final void add(String text)

        Adds a formatted text fragment to the collection.

        Parameters:
        text - The fragment text.
      • add

        public final void add(String text,
               Font font)

        Adds a formatted text fragment to the collection.

        Parameters:
        text - The fragment text.
        font - The font of the text.
      • add

        public final void add(String text,
               Font font,
               Color foregroundColor)

        Adds a formatted text fragment to the collection.

        Parameters:
        text - The fragment text.
        font - The font of the text.
        foregroundColor - The foreground color of the text.
      • add

        public final void add(String text,
               Font font,
               Color foregroundColor,
               Color backgroundColor)

        Adds a formatted text fragment to the collection.

        Parameters:
        text - The fragment text.
        font - The font of the text.
        foregroundColor - The foreground color of the text.
        backgroundColor - The background color of the text.
      • insert

        public final void insert(int index,
                  String text)

        Inserts a formatted text fragment into the collection at a given index.

        Parameters:
        index - The zero-based index at which formatted text fragment should be inserted.
        text - The fragment text.
      • insert

        public final void insert(int index,
                  String text,
                  Font font)

        Inserts a formatted text fragment into the collection at a given index.

        Parameters:
        index - The zero-based index at which formatted text fragment should be inserted.
        text - The fragment text.
        font - The font of the text.
      • insert

        public final void insert(int index,
                  String text,
                  Font font,
                  Color foregroundColor)

        Inserts a formatted text fragment into the collection at a given index.

        Parameters:
        index - The zero-based index at which formatted text fragment should be inserted.
        text - The fragment text.
        font - The font of the text.
        foregroundColor - The foreground color of the text.
      • insert

        public final void insert(int index,
                  String text,
                  Font font,
                  Color foregroundColor,
                  Color backgroundColor)

        Inserts a formatted text fragment into the collection at a given index.

        Parameters:
        index - The zero-based index at which formatted text fragment should be inserted.
        text - The fragment text.
        font - The font of the text.
        foregroundColor - The foreground color of the text.
        backgroundColor - The background color of the text.