API Reference

Class

ExcelPivotTableInfo

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Modifiers sealed

Represents an existing pivot table definition.

Inheritance

  • Object
  • ExcelPivotTableInfo

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

ExcelPivotTableInfo 3 overloads
public ExcelPivotTableInfo(String name, UInt32 cacheId, String location, String sourceSheet, String sourceRange, String sheetName, Int32 sheetIndex, String pivotStyle, ExcelPivotLayout layout, Nullable<Boolean> dataOnRows, Nullable<Boolean> showHeaders, Nullable<Boolean> showEmptyRows, Nullable<Boolean> showEmptyColumns, Nullable<Boolean> showDrill, IReadOnlyList<String> rowFields, IReadOnlyList<String> columnFields, IReadOnlyList<String> pageFields, IReadOnlyList<ExcelPivotDataFieldInfo> dataFields) #

Creates a pivot table info instance.

Parameters

name System.String requiredposition: 0
cacheId System.UInt32 requiredposition: 1
location System.String requiredposition: 2
sourceSheet System.String requiredposition: 3
sourceRange System.String requiredposition: 4
sheetName System.String requiredposition: 5
sheetIndex System.Int32 requiredposition: 6
pivotStyle System.String requiredposition: 7
layout OfficeIMO.Excel.ExcelPivotLayout requiredposition: 8
dataOnRows System.Nullable{System.Boolean} requiredposition: 9
showHeaders System.Nullable{System.Boolean} requiredposition: 10
showEmptyRows System.Nullable{System.Boolean} requiredposition: 11
showEmptyColumns System.Nullable{System.Boolean} requiredposition: 12
showDrill System.Nullable{System.Boolean} requiredposition: 13
rowFields System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 14
columnFields System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 15
pageFields System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 16
dataFields System.Collections.Generic.IReadOnlyList{OfficeIMO.Excel.ExcelPivotDataFieldInfo} requiredposition: 17
public ExcelPivotTableInfo(String name, UInt32 cacheId, String location, String sourceSheet, String sourceRange, String sheetName, Int32 sheetIndex, String pivotStyle, ExcelPivotLayout layout, Nullable<Boolean> dataOnRows, Nullable<Boolean> showHeaders, Nullable<Boolean> showEmptyRows, Nullable<Boolean> showEmptyColumns, Nullable<Boolean> showDrill, Nullable<Boolean> rowGrandTotals, Nullable<Boolean> columnGrandTotals, String rowHeaderCaption, String columnHeaderCaption, String grandTotalCaption, String missingCaption, String errorCaption, Nullable<Boolean> showDataDropDown, Nullable<Boolean> showDropZones, Nullable<Boolean> showDataTips, Nullable<Boolean> showMemberPropertyTips, Nullable<Boolean> fieldListSortAscending, Nullable<Boolean> customListSort, IReadOnlyList<String> rowFields, IReadOnlyList<String> columnFields, IReadOnlyList<String> pageFields, IReadOnlyList<ExcelPivotDataFieldInfo> dataFields, IReadOnlyList<ExcelPivotFieldInfo> fields = null) #

Creates a pivot table info instance.

Parameters

name System.String requiredposition: 0
cacheId System.UInt32 requiredposition: 1
location System.String requiredposition: 2
sourceSheet System.String requiredposition: 3
sourceRange System.String requiredposition: 4
sheetName System.String requiredposition: 5
sheetIndex System.Int32 requiredposition: 6
pivotStyle System.String requiredposition: 7
layout OfficeIMO.Excel.ExcelPivotLayout requiredposition: 8
dataOnRows System.Nullable{System.Boolean} requiredposition: 9
showHeaders System.Nullable{System.Boolean} requiredposition: 10
showEmptyRows System.Nullable{System.Boolean} requiredposition: 11
showEmptyColumns System.Nullable{System.Boolean} requiredposition: 12
showDrill System.Nullable{System.Boolean} requiredposition: 13
rowGrandTotals System.Nullable{System.Boolean} requiredposition: 14
columnGrandTotals System.Nullable{System.Boolean} requiredposition: 15
rowHeaderCaption System.String requiredposition: 16
columnHeaderCaption System.String requiredposition: 17
grandTotalCaption System.String requiredposition: 18
missingCaption System.String requiredposition: 19
errorCaption System.String requiredposition: 20
showDataDropDown System.Nullable{System.Boolean} requiredposition: 21
showDropZones System.Nullable{System.Boolean} requiredposition: 22
showDataTips System.Nullable{System.Boolean} requiredposition: 23
showMemberPropertyTips System.Nullable{System.Boolean} requiredposition: 24
fieldListSortAscending System.Nullable{System.Boolean} requiredposition: 25
customListSort System.Nullable{System.Boolean} requiredposition: 26
rowFields System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 27
columnFields System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 28
pageFields System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 29
dataFields System.Collections.Generic.IReadOnlyList{OfficeIMO.Excel.ExcelPivotDataFieldInfo} requiredposition: 30
fields System.Collections.Generic.IReadOnlyList{OfficeIMO.Excel.ExcelPivotFieldInfo} = null optionalposition: 31
public ExcelPivotTableInfo(String name, UInt32 cacheId, String location, String sourceSheet, String sourceRange, String sheetName, Int32 sheetIndex, String pivotStyle, ExcelPivotLayout layout, Nullable<Boolean> dataOnRows, Nullable<Boolean> showHeaders, Nullable<Boolean> showEmptyRows, Nullable<Boolean> showEmptyColumns, Nullable<Boolean> showDrill, Nullable<Boolean> rowGrandTotals, Nullable<Boolean> columnGrandTotals, String rowHeaderCaption, String columnHeaderCaption, String grandTotalCaption, String missingCaption, String errorCaption, Nullable<Boolean> showDataDropDown, Nullable<Boolean> showDropZones, Nullable<Boolean> showDataTips, Nullable<Boolean> showMemberPropertyTips, Nullable<Boolean> fieldListSortAscending, Nullable<Boolean> customListSort, IReadOnlyList<String> rowFields, IReadOnlyList<String> columnFields, IReadOnlyList<String> pageFields, IReadOnlyList<ExcelPivotDataFieldInfo> dataFields, IReadOnlyList<ExcelPivotFieldInfo> fields = null, IReadOnlyList<ExcelPivotFilterInfo> filters = null, IReadOnlyList<ExcelPivotCalculatedFieldInfo> calculatedFields = null, IReadOnlyList<ExcelPivotGroupingInfo> groupings = null) #

Creates a pivot table info instance.

Parameters

name System.String requiredposition: 0
cacheId System.UInt32 requiredposition: 1
location System.String requiredposition: 2
sourceSheet System.String requiredposition: 3
sourceRange System.String requiredposition: 4
sheetName System.String requiredposition: 5
sheetIndex System.Int32 requiredposition: 6
pivotStyle System.String requiredposition: 7
layout OfficeIMO.Excel.ExcelPivotLayout requiredposition: 8
dataOnRows System.Nullable{System.Boolean} requiredposition: 9
showHeaders System.Nullable{System.Boolean} requiredposition: 10
showEmptyRows System.Nullable{System.Boolean} requiredposition: 11
showEmptyColumns System.Nullable{System.Boolean} requiredposition: 12
showDrill System.Nullable{System.Boolean} requiredposition: 13
rowGrandTotals System.Nullable{System.Boolean} requiredposition: 14
columnGrandTotals System.Nullable{System.Boolean} requiredposition: 15
rowHeaderCaption System.String requiredposition: 16
columnHeaderCaption System.String requiredposition: 17
grandTotalCaption System.String requiredposition: 18
missingCaption System.String requiredposition: 19
errorCaption System.String requiredposition: 20
showDataDropDown System.Nullable{System.Boolean} requiredposition: 21
showDropZones System.Nullable{System.Boolean} requiredposition: 22
showDataTips System.Nullable{System.Boolean} requiredposition: 23
showMemberPropertyTips System.Nullable{System.Boolean} requiredposition: 24
fieldListSortAscending System.Nullable{System.Boolean} requiredposition: 25
customListSort System.Nullable{System.Boolean} requiredposition: 26
rowFields System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 27
columnFields System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 28
pageFields System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 29
dataFields System.Collections.Generic.IReadOnlyList{OfficeIMO.Excel.ExcelPivotDataFieldInfo} requiredposition: 30
fields System.Collections.Generic.IReadOnlyList{OfficeIMO.Excel.ExcelPivotFieldInfo} = null optionalposition: 31
filters System.Collections.Generic.IReadOnlyList{OfficeIMO.Excel.ExcelPivotFilterInfo} = null optionalposition: 32
calculatedFields System.Collections.Generic.IReadOnlyList{OfficeIMO.Excel.ExcelPivotCalculatedFieldInfo} = null optionalposition: 33
groupings System.Collections.Generic.IReadOnlyList{OfficeIMO.Excel.ExcelPivotGroupingInfo} = null optionalposition: 34

Properties

public String Name { get; } #

Gets the pivot table name.

public UInt32 CacheId { get; } #

Gets the cache id for the pivot table.

public String Location { get; } #

Gets the pivot table location (A1 range).

public String SourceSheet { get; } #

Gets the source sheet name from the cache.

public String SourceRange { get; } #

Gets the source range from the cache.

public String SheetName { get; } #

Gets the sheet name where the pivot table is defined.

public Int32 SheetIndex { get; } #

Gets the 0-based sheet index where the pivot table is defined.

public String PivotStyle { get; } #

Gets the pivot table style name.

public ExcelPivotLayout Layout { get; } #

Gets the pivot layout mode.

public Nullable<Boolean> DataOnRows { get; } #

Gets whether data fields are shown on rows.

public Nullable<Boolean> ShowHeaders { get; } #

Gets whether field headers are shown.

public Nullable<Boolean> ShowEmptyRows { get; } #

Gets whether empty rows are shown.

public Nullable<Boolean> ShowEmptyColumns { get; } #

Gets whether empty columns are shown.

public Nullable<Boolean> ShowDrill { get; } #

Gets whether drill indicators are shown.

public Nullable<Boolean> RowGrandTotals { get; } #

Gets whether row grand totals are shown.

public Nullable<Boolean> ColumnGrandTotals { get; } #

Gets whether column grand totals are shown.

public String RowHeaderCaption { get; } #

Gets the row header caption.

public String ColumnHeaderCaption { get; } #

Gets the column header caption.

public String GrandTotalCaption { get; } #

Gets the grand total caption.

public String MissingCaption { get; } #

Gets the missing-value caption.

public String ErrorCaption { get; } #

Gets the error-value caption.

public Nullable<Boolean> ShowDataDropDown { get; } #

Gets whether the data drop-down is shown.

public Nullable<Boolean> ShowDropZones { get; } #

Gets whether drop zones are shown.

public Nullable<Boolean> ShowDataTips { get; } #

Gets whether data tips are shown.

public Nullable<Boolean> ShowMemberPropertyTips { get; } #

Gets whether member-property tips are shown.

public Nullable<Boolean> FieldListSortAscending { get; } #

Gets whether the field list sorts ascending.

public Nullable<Boolean> CustomListSort { get; } #

Gets whether custom-list sorting is enabled.

public IReadOnlyList<String> RowFields { get; } #

Gets row field names.

public IReadOnlyList<String> ColumnFields { get; } #

Gets column field names.

public IReadOnlyList<String> PageFields { get; } #

Gets page field names.

public IReadOnlyList<ExcelPivotDataFieldInfo> DataFields { get; } #

Gets data fields.

public IReadOnlyList<ExcelPivotFieldInfo> Fields { get; } #

Gets detailed field metadata.

public IReadOnlyList<ExcelPivotFilterInfo> Filters { get; } #

Gets pivot label and value filters.

public IReadOnlyList<ExcelPivotCalculatedFieldInfo> CalculatedFields { get; } #

Gets calculated pivot cache fields.

public IReadOnlyList<ExcelPivotGroupingInfo> Groupings { get; } #

Gets pivot field grouping metadata.