IXlsTableSubtotals
COM interface ( getting help with interfaces )

 

interface IXlsTableSubtotals : IDispatch
{
  [id(1),propget] HRESULT Count([out, retval]int* nbsubtotals);
  [id(2),propget] HRESULT Item([in]int i, [out, retval]IXlsTableSubtotal** subtotal);
  [id(3)]         HRESULT Add([in]IXlsTableColumn* column, [out, retval]IXlsTableSubtotal** subtotal);
}

 

HRESULT Count([out, retval]int* nbsubtotals);
returns how many subtotals are stored.

HRESULT Item([in]int i, [out, retval]IXlsTableSubtotal** subtotal);
returns the i-th subtotal. The index is 1-based.

HRESULT Add([in]IXlsTableColumn* column, [out, retval]IXlsTableSubtotal** subtotal);
adds sub-totals to the column passed in parameter, based on breaks to the table.