LibreOffice Module svx (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
svxform::FmFilterModel Class Referencefinal

#include <filtnav.hxx>

Inheritance diagram for svxform::FmFilterModel:
[legend]
Collaboration diagram for svxform::FmFilterModel:
[legend]

Public Member Functions

 FmFilterModel ()
 
virtual ~FmFilterModel () override
 
void Update (const css::uno::Reference< css::container::XIndexAccess > &xControllers, const css::uno::Reference< css::form::runtime::XFormController > &xCurrent)
 
void Clear ()
 
bool ValidateText (FmFilterItem const *pItem, OUString &rText, OUString &rErrorMsg) const
 
void Append (FmFilterItems *pItems, std::unique_ptr< FmFilterItem > pFilterItem)
 
void SetTextForItem (FmFilterItem *pItem, const OUString &rText)
 
FmFormItemGetCurrentForm () const
 
FmFilterItemsGetCurrentItems () const
 
void SetCurrentItems (FmFilterItems *pCurrent)
 
const css::uno::Reference< css::form::runtime::XFormController > & GetCurrentController () const
 
void SetCurrentController (const css::uno::Reference< css::form::runtime::XFormController > &xController)
 
void Remove (FmFilterData *pFilterItem)
 
void EnsureEmptyFilterRows (FmParentData &_rItem)
 
- Public Member Functions inherited from svxform::FmParentData
 FmParentData (FmParentData *pParent, const OUString &rText)
 
virtual ~FmParentData () override
 
::std::vector< std::unique_ptr< FmFilterData > > & GetChildren ()
 
- Public Member Functions inherited from svxform::FmFilterData
 FmFilterData (FmParentData *pParent, const OUString &rText)
 
virtual ~FmFilterData ()
 
void SetText (const OUString &rText)
 
const OUString & GetText () const
 
FmParentDataGetParent () const
 
virtual Image GetImage () const
 
- Public Member Functions inherited from SfxBroadcaster
 SfxBroadcaster ()
 
 SfxBroadcaster (const SfxBroadcaster &rBC)
 
virtual ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE
 
void Broadcast (const SfxHint &rHint)
 
bool HasListeners () const
 
size_t GetListenerCount () const
 
size_t GetSizeOfVector () const
 
SfxListenerGetListener (size_t nNo) const
 

Static Public Member Functions

static void AppendFilterItems (FmFormItem &_rItem)
 

Private Member Functions

void Insert (const ::std::vector< std::unique_ptr< FmFilterData >>::iterator &rPos, std::unique_ptr< FmFilterData > pFilterItem)
 
void Remove (const ::std::vector< std::unique_ptr< FmFilterData >>::iterator &rPos)
 
FmFormItemFind (const ::std::vector< std::unique_ptr< FmFilterData >> &rItems, const css::uno::Reference< css::form::runtime::XFormController > &xController) const
 
FmFormItemFind (const ::std::vector< std::unique_ptr< FmFilterData >> &rItems, const css::uno::Reference< css::form::XForm > &xForm) const
 
void Update (const css::uno::Reference< css::container::XIndexAccess > &xControllers, FmParentData *pParent)
 

Private Attributes

css::uno::Reference< css::container::XIndexAccess > m_xControllers
 
css::uno::Reference< css::form::runtime::XFormController > m_xController
 
rtl::Reference< FmFilterAdapterm_pAdapter
 
FmFilterItemsm_pCurrentItems
 

Friends

class FmFilterAdapter
 

Additional Inherited Members

- Protected Member Functions inherited from SfxBroadcaster
void Forward (SfxBroadcaster &rBC, const SfxHint &rHint)
 
- Protected Member Functions inherited from svxform::OSQLParserClient
 OSQLParserClient (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
std::unique_ptr< ::connectivity::OSQLParseNodepredicateTree (OUString &_rErrorMessage, const OUString &_rStatement, const css::uno::Reference< css::util::XNumberFormatter > &_rxFormatter, const css::uno::Reference< css::beans::XPropertySet > &_rxField) const
 
- Protected Member Functions inherited from svxform::OParseContextClient
 OParseContextClient ()
 
virtual ~OParseContextClient ()
 
const OSystemParseContextgetParseContext () const
 
- Protected Attributes inherited from svxform::FmParentData
::std::vector< std::unique_ptr< FmFilterData > > m_aChildren
 
- Protected Attributes inherited from svxform::OSQLParserClient
std::shared_ptr< ::connectivity::OSQLParserm_pParser
 

Detailed Description

Definition at line 148 of file filtnav.hxx.

Constructor & Destructor Documentation

svxform::FmFilterModel::FmFilterModel ( )

Definition at line 469 of file filtnav.cxx.

References getProcessComponentContext().

svxform::FmFilterModel::~FmFilterModel ( )
overridevirtual

Definition at line 477 of file filtnav.cxx.

References Clear().

Member Function Documentation

void svxform::FmFilterModel::Append ( FmFilterItems pItems,
std::unique_ptr< FmFilterItem pFilterItem 
)

Definition at line 833 of file filtnav.cxx.

References svxform::FmParentData::GetChildren(), and Insert().

void svxform::FmFilterModel::AppendFilterItems ( FmFormItem _rItem)
static
void svxform::FmFilterModel::Clear ( )
void svxform::FmFilterModel::EnsureEmptyFilterRows ( FmParentData _rItem)
FmFormItem* svxform::FmFilterModel::Find ( const ::std::vector< std::unique_ptr< FmFilterData >> &  rItems,
const css::uno::Reference< css::form::runtime::XFormController > &  xController 
) const
private
FmFormItem* svxform::FmFilterModel::Find ( const ::std::vector< std::unique_ptr< FmFilterData >> &  rItems,
const css::uno::Reference< css::form::XForm > &  xForm 
) const
private
const css::uno::Reference< css::form::runtime::XFormController >& svxform::FmFilterModel::GetCurrentController ( ) const
inline

Definition at line 173 of file filtnav.hxx.

References m_xController.

FmFormItem* svxform::FmFilterModel::GetCurrentForm ( ) const
inline

Definition at line 169 of file filtnav.hxx.

References svxform::FmFilterData::GetParent().

FmFilterItems* svxform::FmFilterModel::GetCurrentItems ( ) const
inline

Definition at line 170 of file filtnav.hxx.

References m_pCurrentItems.

void svxform::FmFilterModel::Insert ( const ::std::vector< std::unique_ptr< FmFilterData >>::iterator &  rPos,
std::unique_ptr< FmFilterData pFilterItem 
)
private
void svxform::FmFilterModel::Remove ( FmFilterData pFilterItem)
void svxform::FmFilterModel::Remove ( const ::std::vector< std::unique_ptr< FmFilterData >>::iterator &  rPos)
private

Definition at line 776 of file filtnav.cxx.

References SfxBroadcaster::Broadcast().

void svxform::FmFilterModel::SetCurrentController ( const css::uno::Reference< css::form::runtime::XFormController > &  xController)
void svxform::FmFilterModel::SetCurrentItems ( FmFilterItems pCurrent)
void svxform::FmFilterModel::SetTextForItem ( FmFilterItem pItem,
const OUString &  rText 
)
void svxform::FmFilterModel::Update ( const css::uno::Reference< css::container::XIndexAccess > &  xControllers,
const css::uno::Reference< css::form::runtime::XFormController > &  xCurrent 
)
void svxform::FmFilterModel::Update ( const css::uno::Reference< css::container::XIndexAccess > &  xControllers,
FmParentData pParent 
)
private
bool svxform::FmFilterModel::ValidateText ( FmFilterItem const *  pItem,
OUString &  rText,
OUString &  rErrorMsg 
) const

Friends And Related Function Documentation

friend class FmFilterAdapter
friend

Definition at line 152 of file filtnav.hxx.

Member Data Documentation

rtl::Reference<FmFilterAdapter> svxform::FmFilterModel::m_pAdapter
private

Definition at line 156 of file filtnav.hxx.

Referenced by Clear().

FmFilterItems* svxform::FmFilterModel::m_pCurrentItems
private

Definition at line 157 of file filtnav.hxx.

Referenced by Clear(), GetCurrentItems(), and SetCurrentItems().

css::uno::Reference< css::form::runtime::XFormController > svxform::FmFilterModel::m_xController
private

Definition at line 155 of file filtnav.hxx.

Referenced by Clear(), GetCurrentController(), SetCurrentController(), and SetCurrentItems().

css::uno::Reference< css::container::XIndexAccess > svxform::FmFilterModel::m_xControllers
private

Definition at line 154 of file filtnav.hxx.

Referenced by Clear().


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