com.aspose.cells

Class ODSCellFieldCollection

  • java.lang.Object
  • All Implemented Interfaces:
    java.lang.Iterable
    public class ODSCellFieldCollection 
    extends CollectionBase

Represents the fields of ODS.

Property Getters/Setters Summary
intgetCount()
ODSCellFieldget(int index)
Gets the field by the index.
ODSCellFieldget(int row, int column)
Gets the field by row and column index.
 
Method Summary
intadd(int row, int column, int fieldType, java.lang.String format)
Adds a field.
intadd(java.lang.Object value)
Reserved for internal use.
voidclear()
booleancontains(java.lang.Object value)
Reserved for internal use.
intindexOf(java.lang.Object value)
Reserved for internal use.
java.util.Iteratoriterator()
voidremoveAt(int index)
voidupdateFieldsValue()
Update fields value to the cells.
 

    • Property Getters/Setters Detail

      • getCount

        public int getCount()
        
      • get

        public ODSCellField get(int index)
        
        Gets the field by the index.
        Parameters:
        index - The index.
        Returns:
      • get

        public ODSCellField get(int row, int column)
        
        Gets the field by row and column index.
        Parameters:
        row - The row index.
        column - The column index.
        Returns:
    • Method Detail

      • add

        public int add(int row, int column, int fieldType, java.lang.String format)
        Adds a field.
        Parameters:
        row - The row index.
        column - The column index.
        fieldType - A ODSCellFieldType value. The type of the field.
        format - The number format of the field.
        Returns:
      • updateFieldsValue

        public void updateFieldsValue()
                              throws java.lang.Exception
        Update fields value to the cells.
      • clear

        public void clear()
      • removeAt

        public void removeAt(int index)
      • iterator

        public java.util.Iterator iterator()
      • contains

        public boolean contains(java.lang.Object value)
        Reserved for internal use.
      • add

        public int add(java.lang.Object value)
        Reserved for internal use.
      • indexOf

        public int indexOf(java.lang.Object value)
        Reserved for internal use.