com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Cells

    • 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 Iterator<Cell> iterator()

        Gets collection's enumerator

        Specified by:
        iterator in interface Iterable<Cell>
        Returns:
        Iterator of Cell instances
      • dispose

        public void dispose()

        Dispose method

      • 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