com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class ChartCellCollection

  • java.lang.Object
    • com.aspose.slides.ChartCellCollection
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void add(IChartDataCell cell)
      Add new cell to the collection.
      void add(java.lang.Object value)
      Creates ChartDataCell from specified value and adds it to the collection.
      IChartDataCell get_Item(int index)
      Returns a cell (Aspose.Cells.Cell) by index.
      java.lang.String getCellsAddress()
      Returns address of the set of cells in workbook.
      java.lang.String getConcatenatedValuesFromCells()
      Concatenation string from all cells string values.
      int getCount()
      Gets the count of cells in collection.
      com.aspose.slides.IDOMObject getParent_Immediate()
      Returns Parent_Immediate object.
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartDataCell> iterator()
      Returns an enumerator that iterates through the collection.
      void removeAt(int index)
      Removes a cell from the collection by index.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • getCellsAddress

        public final java.lang.String getCellsAddress()

        Returns address of the set of cells in workbook.

        Specified by:
        getCellsAddress in interface IChartCellCollection
      • get_Item

        public final IChartDataCell get_Item(int index)

        Returns a cell (Aspose.Cells.Cell) by index.

        Specified by:
        get_Item in interface IChartCellCollection
        Parameters:
        index - Index of a cell.
        Returns:
        Cell with data.
      • add

        public final void add(java.lang.Object value)

        Creates ChartDataCell from specified value and adds it to the collection.

        Specified by:
        add in interface IChartCellCollection
        Parameters:
        value - The value.


        This method adds worksheet with name AUTO_DATA and adds all values there. If you use ChartDataWorkbook to add or edit Cell values, be sure that you do not use this worksheet Maximum number of values added using this method must not exceed 16711680

        Throws:
        com.aspose.ms.System.InvalidOperationException - if limit exceeded
      • removeAt

        public final void removeAt(int index)

        Removes a cell from the collection by index.

        Specified by:
        removeAt in interface IChartCellCollection
        Parameters:
        index - Index of a cell to remove.
      • getCount

        public final int getCount()

        Gets the count of cells in collection. Read-only int.

        Specified by:
        getCount in interface IChartCellCollection
      • iterator

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartDataCell> iterator()

        Returns an enumerator that iterates through the collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IChartDataCell>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<IChartDataCell>
        Specified by:
        iterator in interface java.lang.Iterable<IChartDataCell>
        Returns:
        A System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.
      • getParent_Immediate

        public final com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.