Aspose::Cells::Pivot::IPivotItem Class Referenceabstract

Represents a item in a PivotField report. More...

Inherits Object.

Public Member Functions

virtual bool IsHidden ()=0
 Gets whether the pivot item is hidden. More...
 
virtual void SetHidden (bool value)=0
 Sets whether the pivot item is hidden. More...
 
virtual void SetPosition (Aspose::Cells::Systems::Int32 value)=0
 Specifying the position index in all the PivotItems,not the PivotItems under the same parent node. More...
 
virtual void SetPositionInSameParentNode (Aspose::Cells::Systems::Int32 value)=0
 Specifying the position index in the PivotItems under the same parent node. More...
 
virtual void Move (Aspose::Cells::Systems::Int32 count, bool isSameParent)=0
 Moves the item up or down More...
 
virtual bool IsHideDetail ()=0
 Gets and Sets whether the pivot item hides detail. More...
 
virtual void SetHideDetail (bool value)=0
 Gets and Sets whether the pivot item hides detail. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetStringValue ()=0
 
virtual Aspose::Cells::Systems::Double GetDoubleValue ()=0
 Gets the double value of the pivot item If the value is null or not number ,it will return 0 More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::DateTime > GetDateTimeValue ()=0
 Gets the date time value of the pivot item If the value is null ,it will return DateTime.MinValue More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Object > GetValue ()=0
 Gets the value of the pivot item More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetName ()=0
 Gets the name of the pivot item. More...
 
virtual Aspose::Cells::Systems::Int32 GetIndex ()=0
 Gets the index of the pivot item in the pivot field More...
 
virtual void SetIndex (Aspose::Cells::Systems::Int32 value)=0
 Gets the index of the pivot item in the pivot field More...
 

Detailed Description

Represents a item in a PivotField report.

Member Function Documentation

◆ GetDateTimeValue()

virtual intrusive_ptr<Aspose::Cells::Systems::DateTime> Aspose::Cells::Pivot::IPivotItem::GetDateTimeValue ( )
pure virtual

Gets the date time value of the pivot item If the value is null ,it will return DateTime.MinValue

◆ GetDoubleValue()

virtual Aspose::Cells::Systems::Double Aspose::Cells::Pivot::IPivotItem::GetDoubleValue ( )
pure virtual

Gets the double value of the pivot item If the value is null or not number ,it will return 0

◆ GetIndex()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::Pivot::IPivotItem::GetIndex ( )
pure virtual

Gets the index of the pivot item in the pivot field

◆ GetName()

virtual intrusive_ptr<Aspose::Cells::Systems::String> Aspose::Cells::Pivot::IPivotItem::GetName ( )
pure virtual

Gets the name of the pivot item.

◆ GetStringValue()

virtual intrusive_ptr<Aspose::Cells::Systems::String> Aspose::Cells::Pivot::IPivotItem::GetStringValue ( )
pure virtual

Gets the string value of the pivot item If the value is null, it will return ""

◆ GetValue()

virtual intrusive_ptr<Aspose::Cells::Systems::Object> Aspose::Cells::Pivot::IPivotItem::GetValue ( )
pure virtual

Gets the value of the pivot item

◆ IsHidden()

virtual bool Aspose::Cells::Pivot::IPivotItem::IsHidden ( )
pure virtual

Gets whether the pivot item is hidden.

◆ IsHideDetail()

virtual bool Aspose::Cells::Pivot::IPivotItem::IsHideDetail ( )
pure virtual

Gets and Sets whether the pivot item hides detail.

◆ Move()

virtual void Aspose::Cells::Pivot::IPivotItem::Move ( Aspose::Cells::Systems::Int32  count,
bool  isSameParent 
)
pure virtual

Moves the item up or down

Parameters
countThe number of moving up or down. Move the item up if this is less than zero; Move the item down if this is greater than zero.
isSameParentSpecifying whether moving operation is in the same parent node or not

◆ SetHidden()

virtual void Aspose::Cells::Pivot::IPivotItem::SetHidden ( bool  value)
pure virtual

Sets whether the pivot item is hidden.

◆ SetHideDetail()

virtual void Aspose::Cells::Pivot::IPivotItem::SetHideDetail ( bool  value)
pure virtual

Gets and Sets whether the pivot item hides detail.

◆ SetIndex()

virtual void Aspose::Cells::Pivot::IPivotItem::SetIndex ( Aspose::Cells::Systems::Int32  value)
pure virtual

Gets the index of the pivot item in the pivot field

◆ SetPosition()

virtual void Aspose::Cells::Pivot::IPivotItem::SetPosition ( Aspose::Cells::Systems::Int32  value)
pure virtual

Specifying the position index in all the PivotItems,not the PivotItems under the same parent node.

◆ SetPositionInSameParentNode()

virtual void Aspose::Cells::Pivot::IPivotItem::SetPositionInSameParentNode ( Aspose::Cells::Systems::Int32  value)
pure virtual

Specifying the position index in the PivotItems under the same parent node.