Property Getters/Setters Summary | ||
---|---|---|
method | getAltTextDescription() | |
method | setAltTextDescription(value) | |
Gets the description of the alt text | ||
method | getAltTextTitle() | |
method | setAltTextTitle(value) | |
Gets the title of the altertext | ||
method | getAutofitColumnWidthOnUpdate() | |
method | ||
Indicates whether autofitting column width on update | ||
method | getAutoFormatType() | |
method | setAutoFormatType(value) | |
Gets and sets the auto format type of PivotTable. The value of the property is PivotTableAutoFormatType integer constant. | ||
method | getBaseFields() | |
Returns all base pivot fields in the PivotTable.
|
||
method | getColumnFields() | |
Returns a PivotFields object that are currently shown as column fields.
|
||
method | getColumnGrand() | |
method | setColumnGrand(value) | |
Indicates whether the PivotTable report shows grand totals for columns. | ||
method | getColumnHeaderCaption() | |
method | setColumnHeaderCaption(value) | |
Gets the Column Header Caption of the PivotTable. | ||
method | getColumnRange() | |
Returns a CellArea object that represents the range
that contains the column area in the PivotTable report. Read-only.
|
||
method | getCustomListSort() | |
method | setCustomListSort(value) | |
Indicates whether consider built-in custom list when sort data | ||
method | getDataBodyRange() | |
Returns a |
||
method | getDataField() | |
Gets a |
||
method | getDataFieldHeaderName() | |
method | setDataFieldHeaderName(value) | |
Gets and sets the name of the value area field header in the PivotTable. | ||
method | getDataFields() | |
Gets a PivotField object that represents all the data fields in a PivotTable.
Read-only.It would be init only when there are two or more data fields in the DataPiovtFiels.
It only use to add DataPivotField to the PivotTable row/column area . Default is in row area.
|
||
method | getDataSource() | |
method | setDataSource(value) | |
Gets and sets the data source of the pivot table. | ||
method | getDisplayErrorString() | |
method | setDisplayErrorString(value) | |
Indicates whether the PivotTable report displays a custom string in cells that contain errors. | ||
method | getDisplayImmediateItems() | |
method | setDisplayImmediateItems(value) | |
Indicates whether items in the row and column areas are visible when the data area of the PivotTable is empty. The default value is true. | ||
method | getDisplayNullString() | |
method | setDisplayNullString(value) | |
Indicates whether the PivotTable report displays a custom string if the value is null. | ||
method | getEnableDataValueEditing() | |
method | setEnableDataValueEditing(value) | |
Specifies a boolean value that indicates whether the user is allowed to edit the cells in the data area of the pivottable. Enable cell editing in the values area | ||
method | getEnableDrilldown() | |
method | setEnableDrilldown(value) | |
Gets whether drilldown is enabled. | ||
method | getEnableFieldDialog() | |
method | setEnableFieldDialog(value) | |
Indicates whether the PivotTable Field dialog box is available when the user double-clicks the PivotTable field. | ||
method | getEnableFieldList() | |
method | setEnableFieldList(value) | |
Gets whether enable the field list for the PivotTable. | ||
method | getEnableWizard() | |
method | setEnableWizard(value) | |
Indicates whether the PivotTable Wizard is available. | ||
method | getErrorString() | |
method | setErrorString(value) | |
Gets the string displayed in cells that contain errors when the DisplayErrorString property is true.The default value is an empty string. | ||
method | getExternalConnectionDataSource() | |
Gets the external connection data source.
|
||
method | getFieldListSortAscending() | |
method | setFieldListSortAscending(value) | |
Indicates whether fields in the PivotTable are sorted in non-default order in the field list. | ||
method | getGrandTotalName() | |
method | setGrandTotalName(value) | |
Returns the text string label that is displayed in the grand total column or row heading. The default value is the string "Grand Total". | ||
method | hasBlankRows() | |
method | setHasBlankRows(value) | |
Indicates whether to add blank rows. This property only applies for the PivotTable auto format types which needs to add blank rows. | ||
method | getIndent() | |
method | setIndent(value) | |
Specifies the indentation increment for compact axis and can be used to set the Report Layout to Compact Form. | ||
method | isAutoFormat() | |
method | setAutoFormat(value) | |
Indicates whether the PivotTable report is automatically formatted. Checkbox "autoformat table " which is in pivottable option for Excel 2003 | ||
method | isExcel2003Compatible() | |
method | setExcel2003Compatible(value) | |
Specifies whether the PivotTable is compatible for Excel2003 when refreshing PivotTable, if true, a string must be less than or equal to 255 characters, so if the string is greater than 255 characters, it will be truncated. if false, a string will not have the aforementioned restriction. The default value is true. | ||
method | isGridDropZones() | |
method | setGridDropZones(value) | |
Indicates whether the PivotTable report displays classic pivottable layout. (enables dragging fields in the grid) | ||
method | isMultipleFieldFilters() | |
method | setMultipleFieldFilters(value) | |
Specifies a boolean value that indicates whether the fields of a PivotTable can have multiple filters set on them. | ||
method | isSelected() | |
method | setSelected(value) | |
Indicates whether this PivotTable is selected. | ||
method | getItemPrintTitles() | |
method | setItemPrintTitles(value) | |
Indicates whether PivotItem names should be repeated at the top of each printed page. | ||
method | getManualUpdate() | |
method | setManualUpdate(value) | |
Indicates whether the PivotTable report is recalculated only at the user's request. | ||
method | getMergeLabels() | |
method | setMergeLabels(value) | |
True if the specified PivotTable report's outer-row item, column item, subtotal, and grand total labels use merged cells. | ||
method | getMissingItemsLimit() | |
method | setMissingItemsLimit(value) | |
Specifies a boolean value that indicates whether the fields of a PivotTable can have multiple filters set on them. The value of the property is PivotMissingItemLimitType integer constant. | ||
method | getName() | |
method | setName(value) | |
Gets the name of the PivotTable | ||
method | getNullString() | |
method | setNullString(value) | |
Gets the string displayed in cells that contain null values when the DisplayNullString property is true.The default value is an empty string. | ||
method | getPageFieldOrder() | |
method | setPageFieldOrder(value) | |
Gets the order in which page fields are added to the PivotTable report's layout. The value of the property is PrintOrderType integer constant. | ||
method | getPageFields() | |
Returns a PivotFields object that are currently shown as page fields.
|
||
method | getPageFieldWrapCount() | |
method | setPageFieldWrapCount(value) | |
Gets the number of page fields in each column or row in the PivotTable report. | ||
method | getPivotFilters() | |
Returns a list of pivot filters.
|
||
method | getPivotFormatConditions() | |
Gets the Format Conditions of the pivot table.
|
||
method | getPivotFormats() | |
Gets the collection of formats applied to PivotTable.
|
||
method | getPivotTableStyleName() | |
method | setPivotTableStyleName(value) | |
Gets and sets the pivottable style name. | ||
method | getPivotTableStyleType() | |
method | setPivotTableStyleType(value) | |
Gets and sets the built-in pivot table style. The value of the property is PivotTableStyleType integer constant. | ||
method | getPreserveFormatting() | |
method | setPreserveFormatting(value) | |
Indicates whether formatting is preserved when the PivotTable is refreshed or recalculated. | ||
method | getPrintDrill() | |
method | setPrintDrill(value) | |
Specifies a boolean value that indicates whether drill indicators should be printed. print expand/collapse buttons when displayed on pivottable. | ||
method | getPrintTitles() | |
method | setPrintTitles(value) | |
Indicates whether the print titles for the worksheet are set based on the PivotTable report. The default value is false. | ||
method | getRefreshDataFlag() | |
method | setRefreshDataFlag(value) | |
Indicates whether Refreshing Data or not. | ||
method | getRefreshDataOnOpeningFile() | |
method | setRefreshDataOnOpeningFile(value) | |
Indicates whether Refresh Data when Opening File. | ||
method | getRefreshDate() | |
Gets the last date time when the PivotTable was refreshed.
|
||
method | getRefreshedByWho() | |
Gets the name of the last user who refreshed this PivotTable
|
||
method | getRowFields() | |
Returns a PivotFields object that are currently shown as row fields.
|
||
method | getRowGrand() | |
method | setRowGrand(value) | |
Indicates whether the PivotTable report shows grand totals for rows. | ||
method | getRowHeaderCaption() | |
method | setRowHeaderCaption(value) | |
Gets the Row Header Caption of the PivotTable. | ||
method | getRowRange() | |
Returns a CellArea object that represents the range
that contains the row area in the PivotTable report. Read-only.
|
||
method | getSaveData() | |
method | setSaveData(value) | |
Indicates whether data for the PivotTable report is saved with the workbook. | ||
method | getShowDataTips() | |
method | setShowDataTips(value) | |
Specifies a boolean value that indicates whether tooltips should be displayed for PivotTable data cells. | ||
method | getShowDrill() | |
method | setShowDrill(value) | |
Gets and sets whether showing expand/collapse buttons. | ||
method | getShowEmptyCol() | |
method | setShowEmptyCol(value) | |
Specifies a boolean value that indicates whether to include empty columns in the table | ||
method | getShowEmptyRow() | |
method | setShowEmptyRow(value) | |
Specifies a boolean value that indicates whether to include empty rows in the table. | ||
method | getShowMemberPropertyTips() | |
method | setShowMemberPropertyTips(value) | |
Specifies a boolean value that indicates whether member property information should be omitted from PivotTable tooltips. | ||
method | getShowPivotStyleColumnHeader() | |
method | ||
Indicates whether the column header in the pivot table should have the style applied. | ||
method | getShowPivotStyleColumnStripes() | |
method | ||
Indicates whether stripe formatting is applied for column. | ||
method | getShowPivotStyleLastColumn() | |
method | setShowPivotStyleLastColumn(value) | |
Indicates whether the column formatting is applied. | ||
method | getShowPivotStyleRowHeader() | |
method | setShowPivotStyleRowHeader(value) | |
Indicates whether the row header in the pivot table should have the style applied. | ||
method | getShowPivotStyleRowStripes() | |
method | setShowPivotStyleRowStripes(value) | |
Indicates whether row stripe formatting is applied. | ||
method | getShowRowHeaderCaption() | |
method | setShowRowHeaderCaption(value) | |
Indicates whether row header caption is shown in the PivotTable report Indicates whether Display field captions and filter drop downs | ||
method | getShowValuesRow() | |
method | setShowValuesRow(value) | |
Specifies a boolean value that indicates whether show values row. show the values row | ||
method | getSubtotalHiddenPageItems() | |
method | setSubtotalHiddenPageItems(value) | |
Indicates whether hidden page field items in the PivotTable report are included in row and column subtotals, block totals, and grand totals. The default value is False. | ||
method | getTableRange1() | |
Returns a CellArea object that represents the range containing the entire PivotTable report,
but doesn't include page fields. Read-only.
|
||
method | getTableRange2() | |
Returns a CellArea object that represents the range containing the entire PivotTable report,
includes page fields. Read-only.
|
||
method | getTag() | |
method | setTag(value) | |
Gets a string saved with the PivotTable report. |
Method Summary | ||
---|---|---|
method | addCalculatedField(name, formula) | |
Adds a calculated field to pivot field and drag it to data area.
|
||
method | addCalculatedField(name, formula, dragToDataArea) | |
Adds a calculated field to pivot field.
|
||
method | addFieldToArea(fieldType, pivotField) | |
Adds the field to the specific area.
|
||
method | addFieldToArea(fieldType, baseFieldIndex) | |
Adds the field to the specific area.
|
||
method | addFieldToArea(fieldType, fieldName) | |
Adds the field to the specific area.
|
||
method | calculateData() | |
Calculates pivottable's data to cells.
|
||
method | calculateRange() | |
Calculates pivottable's range.
|
||
method | changeDataSource(source) | |
Set pivottable's source data.
Sheet1!$A$1:$C$3
|
||
method | clearData() | |
Clear PivotTable's data and formatting
|
||
method | copyStyle(pivotTable) | |
Copies named style from another pivot table.
|
||
method | dispose() | |
Performs application-defined tasks associated with freeing, releasing, or
resetting unmanaged resources.
|
||
method | fields(fieldType) | |
Gets the specific fields by the field type.
|
||
method | format(pivotArea, style) | |
Formats selected area of the PivotTable.
|
||
method | format(row, column, style) | |
Format the cell in the pivottable area
|
||
method | formatAll(style) | |
Format all the cell in the pivottable area
|
||
method | formatRow(row, style) | |
Format the row data in the pivottable area
|
||
method | getCellByDisplayName(displayName) | |
Gets the |
||
method | getChildren() | |
Gets the Children Pivot Tables which use this PivotTable data as data source.
|
||
method | getFields(fieldType) | |
Gets the specific pivot field list by the region.
|
||
method | getHorizontalBreaks() | |
get pivot table row index list of horizontal pagebreaks
|
||
method | getSource() | |
Get pivottable's source data.
|
||
method | move(row, column) | |
Moves the PivotTable to a different location in the worksheet.
|
||
method | move(destCellName) | |
Moves the PivotTable to a different location in the worksheet.
|
||
method | refreshData() | |
Refreshes pivottable's data and setting from it's data source.
|
||
method | refreshData(option) | |
Refreshes pivottable's data and setting from it's data source with options.
|
||
method | removeField(fieldType, pivotField) | |
Remove field from specific field area
|
||
method | removeField(fieldType, baseFieldIndex) | |
Removes a field from specific field area
|
||
method | removeField(fieldType, fieldName) | |
Removes a field from specific field area
|
||
method | setAutoGroupField(pivotField) | |
Sets auto field group by the PivotTable.
|
||
method | setAutoGroupField(baseFieldIndex) | |
Sets auto field group by the PivotTable.
|
||
method | setManualGroupField(pivotField, startVal, endVal, groupByList, intervalNum) | |
Sets manual field group by the PivotTable.
|
||
method | setManualGroupField(pivotField, startVal, endVal, groupByList, intervalNum) | |
Sets manual field group by the PivotTable.
|
||
method | setManualGroupField(baseFieldIndex, startVal, endVal, groupByList, intervalNum) | |
Sets manual field group by the PivotTable.
|
||
method | setManualGroupField(baseFieldIndex, startVal, endVal, groupByList, intervalNum) | |
Sets manual field group by the PivotTable.
|
||
method | setUngroup(pivotField) | |
Sets ungroup by the PivotTable
|
||
method | setUngroup(baseFieldIndex) | |
Sets ungroup by the PivotTable
|
||
method | showInCompactForm() | |
Layouts the PivotTable in compact form.
|
||
method | showInOutlineForm() | |
Layouts the PivotTable in outline form.
|
||
method | showInTabularForm() | |
Layouts the PivotTable in tabular form.
|
||
method | showReportFilterPage(pageField) | |
Show all the report filter pages according to PivotField, the PivotField must be located in the PageFields.
|
||
method | showReportFilterPageByIndex(posIndex) | |
Show all the report filter pages according to the position index in the PageFields
|
||
method | showReportFilterPageByName(fieldName) | |
Show all the report filter pages according to PivotField's name, the PivotField must be located in the PageFields.
|
boolean isExcel2003Compatible() / setExcel2003Compatible(value)
String getRefreshedByWho()
DateTime getRefreshDate()
String getPivotTableStyleName() / setPivotTableStyleName(value)
int getPivotTableStyleType() / setPivotTableStyleType(value)
PivotFieldCollection getColumnFields()
PivotFieldCollection getRowFields()
PivotFieldCollection getPageFields()
PivotFieldCollection getDataFields()
PivotField getDataField()
PivotFieldCollection getBaseFields()
PivotFilterCollection getPivotFilters()
CellArea getColumnRange()
CellArea getRowRange()
CellArea getDataBodyRange()
CellArea getTableRange1()
CellArea getTableRange2()
boolean getColumnGrand() / setColumnGrand(value)
boolean isGridDropZones() / setGridDropZones(value)
boolean getRowGrand() / setRowGrand(value)
boolean getDisplayNullString() / setDisplayNullString(value)
String getNullString() / setNullString(value)
boolean getDisplayErrorString() / setDisplayErrorString(value)
String getDataFieldHeaderName() / setDataFieldHeaderName(value)
String getErrorString() / setErrorString(value)
boolean isAutoFormat() / setAutoFormat(value)
boolean getAutofitColumnWidthOnUpdate() / setAutofitColumnWidthOnUpdate(value)
int getAutoFormatType() / setAutoFormatType(value)
boolean hasBlankRows() / setHasBlankRows(value)
boolean getMergeLabels() / setMergeLabels(value)
boolean getPreserveFormatting() / setPreserveFormatting(value)
boolean getShowDrill() / setShowDrill(value)
boolean getEnableDrilldown() / setEnableDrilldown(value)
boolean getEnableFieldDialog() / setEnableFieldDialog(value)
boolean getEnableFieldList() / setEnableFieldList(value)
boolean getEnableWizard() / setEnableWizard(value)
boolean getSubtotalHiddenPageItems() / setSubtotalHiddenPageItems(value)
String getGrandTotalName() / setGrandTotalName(value)
boolean getManualUpdate() / setManualUpdate(value)
boolean isMultipleFieldFilters() / setMultipleFieldFilters(value)
int getMissingItemsLimit() / setMissingItemsLimit(value)
boolean getEnableDataValueEditing() / setEnableDataValueEditing(value)
boolean getShowDataTips() / setShowDataTips(value)
boolean getShowMemberPropertyTips() / setShowMemberPropertyTips(value)
boolean getShowValuesRow() / setShowValuesRow(value)
boolean getShowEmptyCol() / setShowEmptyCol(value)
boolean getShowEmptyRow() / setShowEmptyRow(value)
boolean getFieldListSortAscending() / setFieldListSortAscending(value)
boolean getPrintDrill() / setPrintDrill(value)
String getAltTextTitle() / setAltTextTitle(value)
String getAltTextDescription() / setAltTextDescription(value)
String getName() / setName(value)
String getColumnHeaderCaption() / setColumnHeaderCaption(value)
int getIndent() / setIndent(value)
String getRowHeaderCaption() / setRowHeaderCaption(value)
boolean getShowRowHeaderCaption() / setShowRowHeaderCaption(value)
boolean getCustomListSort() / setCustomListSort(value)
PivotFormatConditionCollection getPivotFormatConditions()
int getPageFieldOrder() / setPageFieldOrder(value)
int getPageFieldWrapCount() / setPageFieldWrapCount(value)
String getTag() / setTag(value)
boolean getSaveData() / setSaveData(value)
boolean getRefreshDataOnOpeningFile() / setRefreshDataOnOpeningFile(value)
boolean getRefreshDataFlag() / setRefreshDataFlag(value)
ExternalConnection getExternalConnectionDataSource()
String[] getDataSource() / setDataSource(value)
PivotTableFormatCollection getPivotFormats()
boolean getItemPrintTitles() / setItemPrintTitles(value)
boolean getPrintTitles() / setPrintTitles(value)
boolean getDisplayImmediateItems() / setDisplayImmediateItems(value)
boolean isSelected() / setSelected(value)
boolean getShowPivotStyleRowHeader() / setShowPivotStyleRowHeader(value)
boolean getShowPivotStyleColumnHeader() / setShowPivotStyleColumnHeader(value)
boolean getShowPivotStyleRowStripes() / setShowPivotStyleRowStripes(value)
boolean getShowPivotStyleColumnStripes() / setShowPivotStyleColumnStripes(value)
boolean getShowPivotStyleLastColumn() / setShowPivotStyleLastColumn(value)
changeDataSource(source)
String[] getSource()
refreshData()
refreshData(option)
option: PivotTableRefreshOption
- The options for refreshing data source of pivot table.calculateData()
clearData()
calculateRange()
formatAll(style)
style: Style
- Style which is to formatformatRow(row, style)
row: int
- Row Index of the Row objectstyle: Style
- Style which is to formatformat(pivotArea, style)
pivotArea: PivotArea
- style: Style
- format(row, column, style)
row: int
- Row Index of the cellcolumn: int
- Column index of the cellstyle: Style
- Style which is to format the cellsetAutoGroupField(baseFieldIndex)
baseFieldIndex
- The row or column field index in the base fieldssetAutoGroupField(pivotField)
pivotField: PivotField
- The row or column field in the specific fieldssetManualGroupField(baseFieldIndex, startVal, endVal, groupByList, intervalNum)
baseFieldIndex: int
- The row or column field index in the base fieldsstartVal: float
- Specifies the starting value for numeric grouping.endVal: float
- Specifies the ending value for numeric grouping. groupByList: ArrayList
- Specifies the grouping type list. Specified by PivotTableGroupTypeintervalNum: float
- Specifies the interval number group by numeric grouping.setManualGroupField(pivotField, startVal, endVal, groupByList, intervalNum)
pivotField: PivotField
- The row or column field in the base fieldsstartVal: float
- Specifies the starting value for numeric grouping.endVal: float
- Specifies the ending value for numeric grouping. groupByList: ArrayList
- Specifies the grouping type list. Specified by PivotTableGroupTypeintervalNum: float
- Specifies the interval number group by numeric grouping.setManualGroupField(baseFieldIndex, startVal, endVal, groupByList, intervalNum)
baseFieldIndex: int
- The row or column field index in the base fieldsstartVal: DateTime
- Specifies the starting value for date grouping. endVal: DateTime
- Specifies the ending value for date grouping.groupByList: ArrayList
- Specifies the grouping type list. Specified by PivotTableGroupTypeintervalNum: int
- Specifies the interval number group by in days grouping.The number of days must be positive integer of nonzerosetManualGroupField(pivotField, startVal, endVal, groupByList, intervalNum)
pivotField: PivotField
- The row or column field in the base fieldsstartVal: DateTime
- Specifies the starting value for date grouping.endVal: DateTime
- Specifies the ending value for date grouping.groupByList: ArrayList
- Specifies the grouping type list. Specified by PivotTableGroupTypeintervalNum: int
- Specifies the interval number group by in days grouping.The number of days must be positive integer of nonzerosetUngroup(baseFieldIndex)
baseFieldIndex: int
- The row or column field index in the base fieldssetUngroup(pivotField)
pivotField: PivotField
- The row or column field in the base fieldsArrayList getHorizontalBreaks()
showInCompactForm()
showInOutlineForm()
showInTabularForm()
Cell getCellByDisplayName(displayName)
displayName: String
- the DisplayName of PivotFieldPivotTable[] getChildren()
dispose()
copyStyle(pivotTable)
pivotTable: PivotTable
- Source pivot table.showReportFilterPage(pageField)
pageField: PivotField
- The PivotField objectshowReportFilterPageByName(fieldName)
fieldName: String
- The name of PivotFieldshowReportFilterPageByIndex(posIndex)
posIndex: int
- The position index in the PageFieldsremoveField(fieldType, fieldName)
fieldType: int
- A fieldName: String
- The name in the base fields.removeField(fieldType, baseFieldIndex)
fieldType: int
- A baseFieldIndex: int
- The field index in the base fields.removeField(fieldType, pivotField)
fieldType: int
- A pivotField: PivotField
- the field in the base fields.int addFieldToArea(fieldType, fieldName)
fieldType: int
- A fieldName: String
- The name in the base fields.int addFieldToArea(fieldType, baseFieldIndex)
fieldType: int
- A baseFieldIndex: int
- The field index in the base fields.int addFieldToArea(fieldType, pivotField)
fieldType: int
- A pivotField: PivotField
- the field in the base fields.addCalculatedField(name, formula, dragToDataArea)
name: String
- The name of the calculated fieldformula: String
- The formula of the calculated field.dragToDataArea: boolean
- True,drag this field to data area immediatelyaddCalculatedField(name, formula)
name: String
- The name of the calculated fieldformula: String
- The formula of the calculated field.PivotFieldCollection getFields(fieldType)
fieldType: int
- A PivotFieldCollection fields(fieldType)
fieldType: int
- A move(row, column)
row: int
- row index.column: int
- column index.move(destCellName)
destCellName: String
- the dest cell name.