LibreOffice Module sc (master)  1
Public Member Functions | Private Attributes | List of all members
ScSortItem Class Reference

#include <uiitems.hxx>

Inheritance diagram for ScSortItem:
[legend]
Collaboration diagram for ScSortItem:
[legend]

Public Member Functions

 ScSortItem (sal_uInt16 nWhich, ScViewData *ptrViewData, const ScSortParam *pSortData)
 Data for the sorting dialog. More...
 
 ScSortItem (sal_uInt16 nWhich, const ScSortParam *pSortData)
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual ScSortItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
 
ScViewDataGetViewData () const
 
const ScSortParamGetSortData () const
 
- Public Member Functions inherited from SfxPoolItem
void AddRef (sal_uInt32 n=1) const
 
virtual ~SfxPoolItem ()
 
void SetWhich (sal_uInt16 nId)
 
sal_uInt16 Which () const
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 
virtual void ScaleMetrics (tools::Long lMult, tools::Long lDiv)
 
virtual bool HasMetrics () const
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId)
 
std::unique_ptr< SfxPoolItemCloneSetWhich (sal_uInt16 nNewWhich) const
 
std::unique_ptr< T > CloneSetWhich (TypedWhichId< T > nId) const
 
sal_uInt32 GetRefCount () const
 
SfxItemKind GetKind () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
virtual boost::property_tree::ptree dumpAsJSON () const
 
virtual bool IsVoidItem () const
 

Private Attributes

ScViewDatapViewData
 
ScSortParam theSortData
 

Additional Inherited Members

- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Definition at line 128 of file uiitems.hxx.

Constructor & Destructor Documentation

ScSortItem::ScSortItem ( sal_uInt16  nWhich,
ScViewData ptrViewData,
const ScSortParam pSortData 
)

Data for the sorting dialog.

Definition at line 123 of file uiitems.cxx.

References theSortData.

Referenced by Clone().

ScSortItem::ScSortItem ( sal_uInt16  nWhich,
const ScSortParam pSortData 
)

Definition at line 132 of file uiitems.cxx.

References theSortData.

Member Function Documentation

ScSortItem * ScSortItem::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 150 of file uiitems.cxx.

References ScSortItem().

const ScSortParam& ScSortItem::GetSortData ( ) const
inline

Definition at line 142 of file uiitems.hxx.

ScViewData* ScSortItem::GetViewData ( ) const
inline

Definition at line 141 of file uiitems.hxx.

Referenced by ScTabPageSortFields::Init(), and ScTabPageSortOptions::Init().

bool ScSortItem::operator== ( const SfxPoolItem rItem) const
overridevirtual

Implements SfxPoolItem.

Definition at line 140 of file uiitems.cxx.

References assert(), pViewData, and theSortData.

bool ScSortItem::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 155 of file uiitems.cxx.

Member Data Documentation

ScViewData* ScSortItem::pViewData
private

Definition at line 145 of file uiitems.hxx.

Referenced by operator==().

ScSortParam ScSortItem::theSortData
private

Definition at line 146 of file uiitems.hxx.

Referenced by operator==(), and ScSortItem().


The documentation for this class was generated from the following files: