接口 ICalculatedFields

所有超级接口:
Iterable<IPivotField>

public interface ICalculatedFields extends Iterable<IPivotField>
A collection of PivotField objects that represents all the calculated fields in the specified PivotTable report.
另请参阅:
  • 方法详细资料

    • getCount

      int getCount()
      Returns the number of calculated fields.
    • get

      IPivotField get(int index)
      Get calculated field by index.
      参数:
      index -
      返回:
      calculated field
      另请参阅:
    • get

      IPivotField get(String fieldName)
      Get calculated field by name.
      参数:
      fieldName -
      返回:
      calculated field
      另请参阅:
    • add

      IPivotField add(String Name, String Formula)
      Creates a new calculated field. Returns a PivotField object.
      参数:
      Name - The name of the field.
      Formula - The formula for the field.
      返回:
      the calculated field
      另请参阅:
    • remove

      void remove(String fieldName)
      Remove the calculated fields by name.
      参数:
      fieldName - name of calculated field