com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Cells

  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.IEnumerable, Iterable


    public final class Cells
    extends Object
    implements com.aspose.ms.System.Collections.IEnumerable

    Represents a cells collection of row.

    • Constructor Detail

      • Cells

        public Cells()
    • Method Detail

      • add

        public Cell add()

        Add cell to collection.

        Returns:
        The new cell
      • add

        public Cell add(String text,
               TextState ts)

        Add cell to collection.

        Parameters:
        text - The text for cell.
        ts - The text state.
        Returns:
        The new cell
      • add

        public Cell add(String text)

        Add cell to collection.

        Parameters:
        text - The text for cell.
        Returns:
        The new cell
      • add

        public void add(Cell cell)

        Add cell to collection.

        Parameters:
        cell - The cell to collection.
      • removeRange

        public void removeRange(int index,
                       int count)

        Remove cell set from collection.

        Parameters:
        index - The collection index.
        count - The rows count.
      • remove

        @Deprecated
        public void remove(Object obj)
        Deprecated. 

        Remove cell set from collection.

        Parameters:
        obj - The object.
      • remove

        public void remove(Cell cell)

        Remove cell set from collection.

        Parameters:
        cell - The cell object.
      • insert

        public void insert(int index,
                  Cell cell)

        Insert cell to collection.

        Parameters:
        index - The selected index.
        cell - The selected cell.
      • iterator

        public com.aspose.ms.System.Collections.IEnumerator iterator()
        For internal usage only
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable
        Specified by:
        iterator in interface Iterable
        Returns:
        Internal object
      • getCount

        public int getCount()

        The items count.

        Returns:
        int value
      • get_Item

        public Cell get_Item(int index)

        Gets cell.

        Parameters:
        index - The cell index.
        Returns:
        Cell object
      • set_Item

        public void set_Item(int index,
                    Cell value)

        Sets cells.

        Parameters:
        index - The cell index.
        value - The cells value