java.lang.Object
com.aspose.cells.PivotPageFields
public class PivotPageFields
| Constructor Summary |
|---|
PivotPageFields()
Represents the pivot page field items. |
| Property Getters/Setters Summary | ||
|---|---|---|
int | getPageFieldCount() | |
| Gets the number of page fields. | ||
| Method Summary | ||
|---|---|---|
void | addIdentify(int rangeIndex, int[] pageItemIndex) | |
| Sets which item label in each page field to use to identify the data range. The pageItemIndex.Length must be equal to PageFieldCount, so please add the page field first. | ||
void | addPageField(java.lang.String[] pageItems) | |
| Adds a page field. | ||
| Constructor Detail |
|---|
public PivotPageFields()
| Property Getters/Setters Detail |
|---|
getPageFieldCount | |
public int getPageFieldCount() | |
| Method Detail |
|---|
addPageField | |
public void addPageField(java.lang.String[] pageItems) | |
pageItems - Page field item labeladdIdentify | |
public void addIdentify(int rangeIndex, int[] pageItemIndex) | |
rangeIndex - The consolidation data range index.pageItemIndex - The page item index in the each page field.
pageItemIndex[2] = 1 means the second item in the third field to use to identify this range.
pageItemIndex[1] = -1 means no item in the second field to use to identify this range
and MS will auto create "blank" item in the second field to identify this range.