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
 
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 QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) 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

std::unique_ptr< ScQueryParammpQueryData
 
ScViewDatapViewData
 
ScRange aAdvSource
 
bool bIsAdvanced
 

Additional Inherited Members

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

Detailed Description

Definition at line 149 of file uiitems.hxx.

Constructor & Destructor Documentation

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

Data for the Filter dialog.

Definition at line 165 of file uiitems.cxx.

References mpQueryData.

Referenced by Clone().

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

Definition at line 178 of file uiitems.cxx.

References mpQueryData.

ScQueryItem::ScQueryItem ( const ScQueryItem rItem)

Definition at line 190 of file uiitems.cxx.

ScQueryItem::~ScQueryItem ( )
overridevirtual

Definition at line 199 of file uiitems.cxx.

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 237 of file uiitems.cxx.

References ScQueryItem().

bool ScQueryItem::GetAdvancedQuerySource ( ScRange rSource) const

Definition at line 219 of file uiitems.cxx.

References aAdvSource, and bIsAdvanced.

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

const ScQueryParam & ScQueryItem::GetQueryData ( ) const
ScViewData* ScQueryItem::GetViewData ( ) const
inline
bool ScQueryItem::operator== ( const SfxPoolItem rItem) const
overridevirtual

Implements SfxPoolItem.

Definition at line 225 of file uiitems.cxx.

References aAdvSource, assert(), bIsAdvanced, mpQueryData, and pViewData.

void ScQueryItem::SetAdvancedQuerySource ( const ScRange pSource)

Definition at line 203 of file uiitems.cxx.

References aAdvSource, and bIsAdvanced.

Referenced by ScTabViewShell::CreateRefDialogController().

Member Data Documentation

ScRange ScQueryItem::aAdvSource
private

Definition at line 172 of file uiitems.hxx.

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

bool ScQueryItem::bIsAdvanced
private

Definition at line 173 of file uiitems.hxx.

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

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

Definition at line 170 of file uiitems.hxx.

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

ScViewData* ScQueryItem::pViewData
private

Definition at line 171 of file uiitems.hxx.

Referenced by operator==().


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