com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Paragraphs

    • Constructor Detail

      • Paragraphs

        public Paragraphs()
    • Method Detail

      • add

        public void add(BaseParagraph paragraph)

        Add paragraph to collection.

        Parameters:
        paragraph - The paragraph.
      • getRange

        public Paragraphs getRange(int index,
                          int count)

        Remove paragraphs range.

        Parameters:
        index - The first paragraph index.
        count - The paragraphs count.
        Returns:
        The paragraphs collection
      • removeRange

        public void removeRange(int index,
                       int count)

        Remove paragraphs range.

        Parameters:
        index - The first paragraph index.
        count - The paragraphs count.
      • remove

        public void remove(BaseParagraph paragraph)
        Remove paragraph from collection.
        Parameters:
        paragraph - BaseParagraph object
      • insert

        public void insert(int index,
                  BaseParagraph paragraph)

        Insert paragraph to collection.

        Parameters:
        index - The index for paragraph.
        paragraph - The paragraph.
      • getCount

        public int getCount()
        Get paragraphs count.
        Returns:
        int value
      • clear

        public void clear()
        Clear paragraphs.
      • insertRange

        public void insertRange(int index,
                       com.aspose.ms.System.Collections.Generic.List<BaseParagraph> collection)

        Inserts the elements of a collection into the list at the specified index.

        Parameters:
        index - int value
        collection - list of BaseParagraph objects
      • get_Item

        public BaseParagraph get_Item(int index)

        Gets paragraph from collection.

        Parameters:
        index - The paragraph index.
        Returns:
        BaseParagraph object
      • set_Item

        public void set_Item(int index,
                    BaseParagraph value)

        Sets paragraph to collection.

        Parameters:
        index - The paragraph index.
        value - BaseParagraph object
      • deepClone

        public Object deepClone()

        Clones a new Clone object.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Returns:
        The new Clone object.