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

#include <uiitems.hxx>

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

Public Member Functions

 ScQueryItem (sal_uInt16 nWhich, ScViewData *ptrViewData, const ScQueryParam *pQueryData)
 Data for the Filter dialog. More...
 
 ScQueryItem (sal_uInt16 nWhich, const ScQueryParam *pQueryData)
 
 ScQueryItem (const ScQueryItem &rItem)
 
virtual ~ScQueryItem () override
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual ScQueryItemClone (SfxItemPool *pPool=nullptr) const override
 
ScViewDataGetViewData () const
 
const ScQueryParamGetQueryData () const
 
bool GetAdvancedQuerySource (ScRange &rSource) const
 
void SetAdvancedQuerySource (const ScRange *pSource)
 
- Public Member Functions inherited from SfxPoolItem
void AddRef (sal_uInt32 n=1) const
 
virtual ~SfxPoolItem ()
 
void SetWhich (sal_uInt16 nId)
 
sal_uInt16 Which () const
 
T & StaticWhichCast (TypedWhichId< T > nId)
 
const T & StaticWhichCast (TypedWhichId< T > nId) const
 
T * DynamicWhichCast (TypedWhichId< T > nId)
 
const T * DynamicWhichCast (TypedWhichId< T > nId) const
 
virtual bool operator== (const SfxPoolItem &) const=0
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool HasLookup () const
 
virtual lookup_iterator Lookup (lookup_iterator, lookup_iterator end) 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 QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId)
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const=0
 
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

std::unique_ptr< ScQueryParammpQueryData
 
ScViewDatapViewData
 
ScRange aAdvSource
 
bool bIsAdvanced
 

Additional Inherited Members

- Public Types inherited from SfxPoolItem
typedef std::vector< SfxPoolItem * >::const_iterator lookup_iterator
 
- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Definition at line 148 of file uiitems.hxx.

Constructor & Destructor Documentation

◆ ScQueryItem() [1/3]

ScQueryItem::ScQueryItem ( sal_uInt16  nWhich,
ScViewData ptrViewData,
const ScQueryParam pQueryData 
)

Data for the Filter dialog.

Definition at line 166 of file uiitems.cxx.

References mpQueryData.

Referenced by Clone().

◆ ScQueryItem() [2/3]

ScQueryItem::ScQueryItem ( sal_uInt16  nWhich,
const ScQueryParam pQueryData 
)

Definition at line 179 of file uiitems.cxx.

References mpQueryData.

◆ ScQueryItem() [3/3]

ScQueryItem::ScQueryItem ( const ScQueryItem rItem)

Definition at line 191 of file uiitems.cxx.

◆ ~ScQueryItem()

ScQueryItem::~ScQueryItem ( )
overridevirtual

Definition at line 200 of file uiitems.cxx.

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 238 of file uiitems.cxx.

References ScQueryItem().

◆ GetAdvancedQuerySource()

bool ScQueryItem::GetAdvancedQuerySource ( ScRange rSource) const

Definition at line 220 of file uiitems.cxx.

References aAdvSource, and bIsAdvanced.

Referenced by ScCellShell::ExecuteDB(), and ScSpecialFilterDlg::Init().

◆ GetQueryData()

const ScQueryParam & ScQueryItem::GetQueryData ( ) const

◆ GetViewData()

ScViewData * ScQueryItem::GetViewData ( ) const
inline

◆ operator==()

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

Implements SfxPoolItem.

Definition at line 226 of file uiitems.cxx.

References aAdvSource, bIsAdvanced, mpQueryData, and pViewData.

◆ SetAdvancedQuerySource()

void ScQueryItem::SetAdvancedQuerySource ( const ScRange pSource)

Definition at line 204 of file uiitems.cxx.

References aAdvSource, and bIsAdvanced.

Referenced by ScTabViewShell::CreateRefDialogController().

Member Data Documentation

◆ aAdvSource

ScRange ScQueryItem::aAdvSource
private

Definition at line 171 of file uiitems.hxx.

Referenced by GetAdvancedQuerySource(), operator==(), and SetAdvancedQuerySource().

◆ bIsAdvanced

bool ScQueryItem::bIsAdvanced
private

Definition at line 172 of file uiitems.hxx.

Referenced by GetAdvancedQuerySource(), operator==(), and SetAdvancedQuerySource().

◆ mpQueryData

std::unique_ptr<ScQueryParam> ScQueryItem::mpQueryData
private

Definition at line 169 of file uiitems.hxx.

Referenced by GetQueryData(), operator==(), and ScQueryItem().

◆ pViewData

ScViewData* ScQueryItem::pViewData
private

Definition at line 170 of file uiitems.hxx.

Referenced by operator==().


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