public class PivotArea
extends java.lang.Object
| Constructor and Description |
|---|
PivotArea(PivotTable table)
Presents the selected area of the PivotTable.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAxisType()
Gets the region of the PivotTable to which this rule applies.
|
CellArea[] |
getCellAreas()
Gets cell areas of this pivot area.
|
PivotAreaFilterCollection |
getFilters()
Gets all filters for this PivotArea.
|
boolean |
getOnlyData()
Indicates whether only the data values (in the data area of the view) for an item
selection are selected and does not include the item labels.
|
boolean |
getOnlyLabel()
Indicates whether only the data labels for an item selection are selected.
|
int |
getRuleType()
Gets the type of selection rule.
|
boolean |
isColumnGrandIncluded()
Indicates whether the column grand total is included.
|
boolean |
isOutline()
Indicates whether the rule refers to an area that is in outline mode.
|
boolean |
isRowGrandIncluded()
Indicates whether the row grand total is included.
|
void |
select(int axisType,
int fieldPosition,
int selectionType)
Select the area with filters.
|
void |
selectField(int axisType,
PivotField field)
Select a field in the region as an area.
|
void |
selectField(int axisType,
java.lang.String fieldName)
Select a field in the region as an area.
|
void |
setAxisType(int value)
Sets the region of the PivotTable to which this rule applies.
|
void |
setColumnGrandIncluded(boolean value)
Indicates whether the column grand total is included.
|
void |
setOnlyData(boolean value)
Indicates whether only the data values (in the data area of the view) for an item
selection are selected and does not include the item labels.
|
void |
setOnlyLabel(boolean value)
Indicates whether only the data labels for an item selection are selected.
|
void |
setOutline(boolean value)
Indicates whether the rule refers to an area that is in outline mode.
|
void |
setRowGrandIncluded(boolean value)
Indicates whether the row grand total is included.
|
void |
setRuleType(int value)
Sets the type of selection rule.
|
public PivotArea(PivotTable table)
table - public PivotAreaFilterCollection getFilters()
public void select(int axisType,
int fieldPosition,
int selectionType)
axisType - PivotFieldType. The region of the PivotTable to which this rule applies.fieldPosition - Position of the field within the axis to which this rule applies.selectionType - PivotTableSelectionType. Specifies what can be selected in a PivotTable during a structured selection.public void selectField(int axisType,
java.lang.String fieldName)
axisType - PivotFieldType. The region type.fieldName - The name of pivot field.public void selectField(int axisType,
PivotField field)
axisType - PivotFieldType. The region type.field - The pivot field.public boolean getOnlyData()
public void setOnlyData(boolean value)
public boolean getOnlyLabel()
public void setOnlyLabel(boolean value)
public boolean isRowGrandIncluded()
public void setRowGrandIncluded(boolean value)
public boolean isColumnGrandIncluded()
public void setColumnGrandIncluded(boolean value)
public int getAxisType()
See PivotFieldType.
public void setAxisType(int value)
See PivotFieldType.
public int getRuleType()
See PivotAreaType.
public void setRuleType(int value)
See PivotAreaType.
public boolean isOutline()
public void setOutline(boolean value)
public CellArea[] getCellAreas()
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.