接口 ICalculatedItems

所有超级接口:
Iterable<IPivotItem>

public interface ICalculatedItems extends Iterable<IPivotItem>
A collection of PivotItem objects that represent all the calculated items in the specified PivotTable report.
  • 方法详细资料

    • getCount

      int getCount()
      Returns the number of IPivotItem in the collection.
    • get

      IPivotItem get(int index)
      Get IPivotItem item by index.
      参数:
      index - index of calculated item
    • get

      IPivotItem get(String itemName)
      Get IPivotItem item by name.
      参数:
      itemName - name of calcluated item
    • add

      IPivotItem add(String name, String formula)
      Creates a new calculated item. Returns a PivotItem object.
      参数:
      name - The name of the calculated item.
      formula - The formula for the calculated item.
      返回:
      IPivotItem
    • remove

      void remove(String itemName)
      Remove calculated item
      参数:
      itemName - name of calculated item