Property Getters/Setters Summary | ||
---|---|---|
method | getAutoShowCount() | |
method | setAutoShowCount(value) | |
Represent the number of top or bottom items that are automatically shown in the specified PivotTable field. | ||
method | getAutoShowField() | |
method | setAutoShowField(value) | |
Represents auto show field index. -1 means PivotField itself. It should be the index of the data fields. | ||
method | getAutoSortField() | |
method | setAutoSortField(value) | |
Represents auto sort field index. -1 means PivotField itself,others means the position of the data fields. | ||
method | getBaseFieldIndex() | |
method | setBaseFieldIndex(value) | |
Represents the base field for a custom calculation. | ||
method | getBaseIndex() | |
method | setBaseIndex(value) | |
Represents the PivotField index in the base PivotFields. | ||
method | getBaseItemIndex() | |
method | setBaseItemIndex(value) | |
Represents the item in the base field for a custom calculation. Valid only for data fields. | ||
method | getBaseItemPosition() | |
method | setBaseItemPosition(value) | |
Represents the item in the base field for a custom calculation. Valid only for data fields. Because PivotItemPosition.Custom is only for read,if you need to set PivotItemPosition.Custom, please set PivotField.BaseItemIndex attribute. The value of the property is PivotItemPosition integer constant. | ||
method | getCurrentPageItem() | |
method | setCurrentPageItem(value) | |
Represents the current page item showing for the page field (valid only for page fields). | ||
method | getDataDisplayFormat() | |
method | setDataDisplayFormat(value) | |
Represents how to display the values contained in a data field. The value of the property is PivotFieldDataDisplayFormat integer constant. | ||
method | getDisplayName() | |
method | setDisplayName(value) | |
Represents the PivotField display name. | ||
method | getDragToColumn() | |
method | setDragToColumn(value) | |
Indicates whether the specified field can be dragged to the column position. The default value is true. | ||
method | getDragToData() | |
method | setDragToData(value) | |
Indicates whether the specified field can be dragged to the data position. The default value is true. | ||
method | getDragToHide() | |
method | setDragToHide(value) | |
Indicates whether the specified field can be dragged to the hide position. The default value is true. | ||
method | getDragToPage() | |
method | setDragToPage(value) | |
Indicates whether the specified field can be dragged to the page position. The default value is true. | ||
method | getDragToRow() | |
method | setDragToRow(value) | |
Indicates whether the specified field can be dragged to the row position. The default value is true. | ||
method | getFunction() | |
method | setFunction(value) | |
Represents the function used to summarize the PivotTable data field. The value of the property is ConsolidationFunction integer constant. | ||
method | getInsertBlankRow() | |
method | setInsertBlankRow(value) | |
Indicates whether inserting blank line after each item. | ||
method | isAscendShow() | |
method | setAscendShow(value) | |
Indicates whether the specified PivotTable field is autoshown ascending. | ||
method | isAscendSort() | |
method | setAscendSort(value) | |
Indicates whether the specified PivotTable field is autosorted ascending. | ||
method | isAutoShow() | |
method | setAutoShow(value) | |
Indicates whether the specified PivotTable field is automatically shown,only valid for excel 2003. | ||
method | isAutoSort() | |
method | setAutoSort(value) | |
Indicates whether the specified PivotTable field is automatically sorted. | ||
method | isAutoSubtotals() | |
method | setAutoSubtotals(value) | |
Indicates whether the specified field shows automatic subtotals. Default is true. | ||
method | isCalculatedField() | |
Indicates whether the specified PivotTable field is calculated field.
|
||
method | isIncludeNewItemsInFilter() | |
method | setIncludeNewItemsInFilter(value) | |
indicates whether the field can include new items in manual filter The default value is false. | ||
method | isInsertPageBreaksBetweenItems() | |
method | ||
indicates whether the field can insert page breaks between items insert page break after each item The default value is false. | ||
method | isMultipleItemSelectionAllowed() | |
method | ||
indicates whether the field can have multiple items selected in the page field The default value is false. | ||
method | isRepeatItemLabels() | |
method | setRepeatItemLabels(value) | |
indicates whether the field can repeat items labels The default value is false. | ||
method | getItemCount() | |
Gets the base item count of this pivot field.
|
||
method | getItems() | |
Get all base items;
|
||
method | getName() | |
Represents the PivotField name.
|
||
method | getNumber() | |
method | setNumber(value) | |
Represents the built-in display format of numbers and dates. | ||
method | getNumberFormat() | |
method | setNumberFormat(value) | |
Represents the custom display format of numbers and dates. | ||
method | getOriginalItems() | |
Get the original base items;
|
||
method | getPivotItems() | |
Gets the pivot items of the pivot field
|
||
method | getPosition() | |
Represents the PivotField index in the PivotFields.
|
||
method | getRange() | |
Gets the group range of the pivot field
|
||
method | getShowAllItems() | |
method | setShowAllItems(value) | |
Indicates whether all items in the PivotTable report are displayed, even if they don't contain summary data. show items with no data The default value is false. | ||
method | getShowCompact() | |
method | setShowCompact(value) | |
Indicates whether display labels from the next field in the same column on the Pivot Table view | ||
method | getShowInOutlineForm() | |
method | setShowInOutlineForm(value) | |
Indicates whether layout this field in outline form on the Pivot Table view | ||
method | getShowSubtotalAtTop() | |
method | setShowSubtotalAtTop(value) | |
when ShowInOutlineForm is true, then display subtotals at the top of the list of items instead of at the bottom |
Method Summary | ||
---|---|---|
method | addCalculatedItem(name, formula) | |
Add a calculated item to the pivot field.
|
||
method | getCalculatedFieldFormula() | |
Get the formula string of the specified calculated field .
|
||
method | getPivotFilterByType(type) | |
Gets the pivot filter of the pivot field by type
|
||
method | getPivotFilters() | |
Gets the pivot filters of the pivot field
|
||
method | getSubtotals(subtotalType) | |
Gets whether the specified field shows that subtotals.
|
||
method | hideDetail(isHiddenDetail) | |
Sets whether the PivotItems in a pivot field is hidden detail.That is collapse/expand this field.
|
||
method | hideItem(index, isHidden) | |
Sets whether the specific PivotItem in a data field is hidden.
|
||
method | hideItem(itemValue, isHidden) | |
Sets whether the specific PivotItem in a data field is hidden.
|
||
method | hideItemDetail(index, isHiddenDetail) | |
Sets whether the specific PivotItem in a pivot field is hidden detail.
|
||
method | initPivotItems() | |
Init the pivot items of the pivot field
|
||
method | isHiddenItem(index) | |
Indicates whether the specific PivotItem is hidden.
|
||
method | isHiddenItemDetail(index) | |
Indicates whether the specific PivotItem is hidden detail.
|
||
method | setSubtotals(subtotalType, shown) | |
Sets whether the specified field shows that subtotals.
|
PivotItemCollection getPivotItems()
boolean isCalculatedField()
int getBaseIndex() / setBaseIndex(value)
int getPosition()
String getName()
String getDisplayName() / setDisplayName(value)
boolean isAutoSubtotals() / setAutoSubtotals(value)
boolean getDragToColumn() / setDragToColumn(value)
boolean getDragToHide() / setDragToHide(value)
boolean getDragToRow() / setDragToRow(value)
boolean getDragToPage() / setDragToPage(value)
boolean getDragToData() / setDragToData(value)
boolean isMultipleItemSelectionAllowed() / setMultipleItemSelectionAllowed(value)
boolean isRepeatItemLabels() / setRepeatItemLabels(value)
boolean isIncludeNewItemsInFilter() / setIncludeNewItemsInFilter(value)
boolean isInsertPageBreaksBetweenItems() / setInsertPageBreaksBetweenItems(value)
boolean getShowAllItems() / setShowAllItems(value)
boolean isAutoSort() / setAutoSort(value)
boolean isAscendSort() / setAscendSort(value)
int getAutoSortField() / setAutoSortField(value)
boolean isAutoShow() / setAutoShow(value)
boolean isAscendShow() / setAscendShow(value)
int getAutoShowCount() / setAutoShowCount(value)
int getAutoShowField() / setAutoShowField(value)
int getFunction() / setFunction(value)
int getDataDisplayFormat() / setDataDisplayFormat(value)
int getBaseFieldIndex() / setBaseFieldIndex(value)
int getBaseItemPosition() / setBaseItemPosition(value)
int getBaseItemIndex() / setBaseItemIndex(value)
int getCurrentPageItem() / setCurrentPageItem(value)
int getNumber() / setNumber(value)
boolean getInsertBlankRow() / setInsertBlankRow(value)
boolean getShowSubtotalAtTop() / setShowSubtotalAtTop(value)
boolean getShowInOutlineForm() / setShowInOutlineForm(value)
String getNumberFormat() / setNumberFormat(value)
String[] getItems()
String[] getOriginalItems()
int getItemCount()
boolean getShowCompact() / setShowCompact(value)
PivotFilter getPivotFilterByType(type)
type
- A PivotFilterType value.ArrayList getPivotFilters()
initPivotItems()
String getCalculatedFieldFormula()
setSubtotals(subtotalType, shown)
subtotalType: int
- A shown: boolean
- whether the specified field shows that subtotals.boolean getSubtotals(subtotalType)
subtotalType: int
- A boolean isHiddenItem(index)
index: int
- the index of the pivotItem in the pivotField.hideItem(index, isHidden)
index: int
- the index of the pivotItem in the pivotField.isHidden: boolean
- whether the specific PivotItem is hiddenboolean isHiddenItemDetail(index)
index: int
- the index of the pivotItem in the pivotField.hideItemDetail(index, isHiddenDetail)
index: int
- the index of the pivotItem in the pivotField.isHiddenDetail: boolean
- whether the specific PivotItem is hiddenhideDetail(isHiddenDetail)
isHiddenDetail: boolean
- whether the PivotItems is hiddenhideItem(itemValue, isHidden)
itemValue: String
- the value of the pivotItem in the pivotField.isHidden: boolean
- whether the specific PivotItem is hiddenaddCalculatedItem(name, formula)
name: String
- The item's name.formula: String
- The item's formula