Aspose::Cells::Pivot::PivotFilterCollection class

PivotFilterCollection class

Represents a collection of all the PivotFilters.

class PivotFilterCollection

Methods

MethodDescription
Add(int32_t fieldIndex, PivotFilterType type)(Deprecated) Adds a PivotFilterObject to the specific type.
AddDateFilter(int32_t baseFieldIndex, PivotFilterType type, const Date& dateTime1, const Date& dateTime2)Filters by date setting of row or column pivot field.
AddLabelFilter(int32_t baseFieldIndex, PivotFilterType type, const U16String& label1, const U16String& label2)Filters by captions of row or column pivot field.
AddLabelFilter(int32_t baseFieldIndex, PivotFilterType type, const char16_t* label1, const char16_t* label2)Filters by captions of row or column pivot field.
AddTop10Filter(int32_t baseFieldIndex, int32_t valueFieldIndex, PivotFilterType type, bool isTop, int32_t itemCount)Filters by values of data pivot field.
AddValueFilter(int32_t baseFieldIndex, int32_t valueFieldIndex, PivotFilterType type, double value1, double value2)Filters by values of data pivot field.
begin()Returns an iterator to the beginning of the PivotFilterCollection.
ClearFilter(int32_t fieldIndex)Clear PivotFilter from the specific PivotField.
end()Returns an iterator to the end of the PivotFilterCollection.
Get(int32_t index)Gets the pivotfilter object at the specific index.
GetCount()Gets the number of elements contained in the instance.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const PivotFilterCollection& src)operator=
PivotFilterCollection(PivotFilterCollection_Impl* impl)Constructs from an implementation object.
PivotFilterCollection(const PivotFilterCollection& src)Copy constructor.
~PivotFilterCollection()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also