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

#include <formcontroller.hxx>

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

Public Member Functions

 FormController (const css::uno::Reference< css::uno::XComponentContext > &_rxORB)
 
- Public Member Functions inherited from cppu::OPropertySetHelper
 OPropertySetHelper (OBroadcastHelper &rBHelper)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
css::uno::Sequence< css::uno::Type > getTypes ()
 
void SAL_CALL disposing ()
 
virtual void SAL_CALL setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual css::uno::Reference< css::frame::XDispatch > interceptedQueryDispatch (const css::util::URL &aURL, const OUString &aTargetFrameName, sal_Int32 nSearchFlags)=0
 
virtual ::osl::Mutex * getInterceptorMutex ()=0
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

Static Public Member Functions

static css::uno::Reference< css::awt::XWindow > getDialogParentWindow (css::uno::Reference< css::form::runtime::XFormController > xFormController)
 
- Static Public Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 

Private Types

typedef ::std::map< sal_Int16, css::uno::Reference< css::frame::XDispatch > > DispatcherContainer
 

Private Member Functions

virtual ~FormController () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &type) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual void SAL_CALL dispatch (const css::util::URL &_rURL, const css::uno::Sequence< css::beans::PropertyValue > &_rArgs) override
 
virtual void SAL_CALL addStatusListener (const css::uno::Reference< css::frame::XStatusListener > &_rxListener, const css::util::URL &_rURL) override
 
virtual void SAL_CALL removeStatusListener (const css::uno::Reference< css::frame::XStatusListener > &_rxListener, const css::util::URL &_rURL) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent () override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL disposing () override
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual ::sal_Int32 SAL_CALL getFilterComponents () override
 
virtual ::sal_Int32 SAL_CALL getDisjunctiveTerms () override
 
virtual void SAL_CALL addFilterControllerListener (const css::uno::Reference< css::form::runtime::XFilterControllerListener > &Listener) override
 
virtual void SAL_CALL removeFilterControllerListener (const css::uno::Reference< css::form::runtime::XFilterControllerListener > &Listener) override
 
virtual void SAL_CALL setPredicateExpression (::sal_Int32 Component, ::sal_Int32 Term, const OUString &PredicateExpression) override
 
virtual css::uno::Reference< css::awt::XControl > SAL_CALL getFilterComponent (::sal_Int32 Component) override
 
virtual css::uno::Sequence< css::uno::Sequence< OUString > > SAL_CALL getPredicateExpressions () override
 
virtual void SAL_CALL removeDisjunctiveTerm (::sal_Int32 Term) override
 
virtual void SAL_CALL appendEmptyDisjunctiveTerm () override
 
virtual ::sal_Int32 SAL_CALL getActiveTerm () override
 
virtual void SAL_CALL setActiveTerm (::sal_Int32 ActiveTerm) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual void SAL_CALL elementInserted (const css::container::ContainerEvent &rEvent) override
 
virtual void SAL_CALL elementReplaced (const css::container::ContainerEvent &rEvent) override
 
virtual void SAL_CALL elementRemoved (const css::container::ContainerEvent &rEvent) override
 
virtual void SAL_CALL loaded (const css::lang::EventObject &rEvent) override
 
virtual void SAL_CALL unloaded (const css::lang::EventObject &rEvent) override
 
virtual void SAL_CALL unloading (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL reloading (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL reloaded (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL setMode (const OUString &Mode) override
 
virtual OUString SAL_CALL getMode () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedModes () override
 
virtual sal_Bool SAL_CALL supportsMode (const OUString &Mode) override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 
virtual void SAL_CALL addModifyListener (const css::uno::Reference< css::util::XModifyListener > &l) override
 
virtual void SAL_CALL removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &l) override
 
virtual void SAL_CALL focusGained (const css::awt::FocusEvent &e) override
 
virtual void SAL_CALL focusLost (const css::awt::FocusEvent &e) override
 
virtual void SAL_CALL mousePressed (const css::awt::MouseEvent &_rEvent) override
 
virtual void SAL_CALL mouseReleased (const css::awt::MouseEvent &_rEvent) override
 
virtual void SAL_CALL mouseEntered (const css::awt::MouseEvent &_rEvent) override
 
virtual void SAL_CALL mouseExited (const css::awt::MouseEvent &_rEvent) override
 
virtual void SAL_CALL componentValidityChanged (const css::lang::EventObject &_rSource) override
 
virtual void SAL_CALL handle (const css::uno::Reference< css::task::XInteractionRequest > &Request) override
 
virtual void SAL_CALL columnChanged (const css::lang::EventObject &_event) override
 
virtual void SAL_CALL propertyChange (const css::beans::PropertyChangeEvent &evt) override
 
virtual void SAL_CALL textChanged (const css::awt::TextEvent &rEvent) override
 
virtual void SAL_CALL itemStateChanged (const css::awt::ItemEvent &rEvent) override
 
virtual void SAL_CALL modified (const css::lang::EventObject &rEvent) override
 
virtual css::uno::Reference< css::form::runtime::XFormOperations > SAL_CALL getFormOperations () override
 
virtual css::uno::Reference< css::awt::XControl > SAL_CALL getCurrentControl () override
 
virtual void SAL_CALL addActivateListener (const css::uno::Reference< css::form::XFormControllerListener > &l) override
 
virtual void SAL_CALL removeActivateListener (const css::uno::Reference< css::form::XFormControllerListener > &l) override
 
virtual void SAL_CALL addChildController (const css::uno::Reference< css::form::runtime::XFormController > &ChildController) override
 
virtual css::uno::Reference< css::form::runtime::XFormControllerContext > SAL_CALL getContext () override
 
virtual void SAL_CALL setContext (const css::uno::Reference< css::form::runtime::XFormControllerContext > &_context) override
 
virtual css::uno::Reference< css::task::XInteractionHandler > SAL_CALL getInteractionHandler () override
 
virtual void SAL_CALL setInteractionHandler (const css::uno::Reference< css::task::XInteractionHandler > &_interactionHandler) override
 
virtual css::uno::Sequence< css::uno::Reference< css::awt::XControl > > SAL_CALL getControls () override
 
virtual void SAL_CALL setModel (const css::uno::Reference< css::awt::XTabControllerModel > &Model) override
 
virtual css::uno::Reference< css::awt::XTabControllerModel > SAL_CALL getModel () override
 
virtual void SAL_CALL setContainer (const css::uno::Reference< css::awt::XControlContainer > &Container) override
 
virtual css::uno::Reference< css::awt::XControlContainer > SAL_CALL getContainer () override
 
virtual void SAL_CALL autoTabOrder () override
 
virtual void SAL_CALL activateTabOrder () override
 
virtual void SAL_CALL activateFirst () override
 
virtual void SAL_CALL activateLast () override
 
virtual void SAL_CALL cursorMoved (const css::lang::EventObject &event) override
 
virtual void SAL_CALL rowChanged (const css::lang::EventObject &event) override
 
virtual void SAL_CALL rowSetChanged (const css::lang::EventObject &event) override
 
virtual sal_Bool SAL_CALL approveCursorMove (const css::lang::EventObject &event) override
 
virtual sal_Bool SAL_CALL approveRowChange (const css::sdb::RowChangeEvent &event) override
 
virtual sal_Bool SAL_CALL approveRowSetChange (const css::lang::EventObject &event) override
 
virtual void SAL_CALL addRowSetApproveListener (const css::uno::Reference< css::sdb::XRowSetApproveListener > &listener) override
 
virtual void SAL_CALL removeRowSetApproveListener (const css::uno::Reference< css::sdb::XRowSetApproveListener > &listener) override
 
virtual void SAL_CALL errorOccured (const css::sdb::SQLErrorEvent &aEvent) override
 
virtual void SAL_CALL addSQLErrorListener (const css::uno::Reference< css::sdb::XSQLErrorListener > &_rListener) override
 
virtual void SAL_CALL removeSQLErrorListener (const css::uno::Reference< css::sdb::XSQLErrorListener > &_rListener) override
 
virtual void SAL_CALL addDatabaseParameterListener (const css::uno::Reference< css::form::XDatabaseParameterListener > &aListener) override
 
virtual void SAL_CALL removeDatabaseParameterListener (const css::uno::Reference< css::form::XDatabaseParameterListener > &aListener) override
 
virtual void SAL_CALL addParameterListener (const css::uno::Reference< css::form::XDatabaseParameterListener > &aListener) override
 
virtual void SAL_CALL removeParameterListener (const css::uno::Reference< css::form::XDatabaseParameterListener > &aListener) override
 
virtual sal_Bool SAL_CALL approveParameter (const css::form::DatabaseParameterEvent &aEvent) override
 
virtual void SAL_CALL addConfirmDeleteListener (const css::uno::Reference< css::form::XConfirmDeleteListener > &aListener) override
 
virtual void SAL_CALL removeConfirmDeleteListener (const css::uno::Reference< css::form::XConfirmDeleteListener > &aListener) override
 
virtual sal_Bool SAL_CALL confirmDelete (const css::sdb::RowChangeEvent &aEvent) override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual sal_Bool SAL_CALL approveReset (const css::lang::EventObject &rEvent) override
 
virtual void SAL_CALL resetted (const css::lang::EventObject &rEvent) override
 
virtual void SAL_CALL invalidateFeatures (const css::uno::Sequence< ::sal_Int16 > &Features) override
 
virtual void SAL_CALL invalidateAllFeatures () override
 
virtual void fillProperties (css::uno::Sequence< css::beans::Property > &_rProps, css::uno::Sequence< css::beans::Property > &_rAggregateProps) const override
 
virtual css::uno::Reference< css::frame::XDispatch > interceptedQueryDispatch (const css::util::URL &aURL, const OUString &aTargetFrameName, sal_Int32 nSearchFlags) override
 
virtual ::osl::Mutex * getInterceptorMutex () override
 
void updateAllDispatchers () const
 update all our dispatchers More...
 
void disposeAllFeaturesAndDispatchers ()
 disposes all dispatchers in m_aFeatureDispatchers, and empties m_aFeatureDispatchers More...
 
void startFiltering ()
 
void stopFiltering ()
 
void setFilter (::std::vector< FmFieldInfo > &)
 
void startListening ()
 
void stopListening ()
 
bool ensureInteractionHandler ()
 ensures that we have an interaction handler, if possible More...
 
bool replaceControl (const css::uno::Reference< css::awt::XControl > &_rxExistentControl, const css::uno::Reference< css::awt::XControl > &_rxNewControl)
 replaces one of our controls with another one More...
 
void startControlModifyListening (const css::uno::Reference< css::awt::XControl > &xControl)
 
void stopControlModifyListening (const css::uno::Reference< css::awt::XControl > &xControl)
 
void setLocks ()
 
void setControlLock (const css::uno::Reference< css::awt::XControl > &xControl)
 
void addToEventAttacher (const css::uno::Reference< css::awt::XControl > &xControl)
 
void removeFromEventAttacher (const css::uno::Reference< css::awt::XControl > &xControl)
 
void toggleAutoFields (bool bAutoFields)
 
void unload ()
 
void removeBoundFieldListener ()
 
void startFormListening (const css::uno::Reference< css::beans::XPropertySet > &_rxForm, bool _bPropertiesOnly)
 
void stopFormListening (const css::uno::Reference< css::beans::XPropertySet > &_rxForm, bool _bPropertiesOnly)
 
css::uno::Reference< css::awt::XControl > findControl (css::uno::Sequence< css::uno::Reference< css::awt::XControl > > &rCtrls, const css::uno::Reference< css::awt::XControlModel > &rxCtrlModel, bool _bRemove, bool _bOverWrite) const
 
void insertControl (const css::uno::Reference< css::awt::XControl > &xControl)
 
void removeControl (const css::uno::Reference< css::awt::XControl > &xControl)
 
void implControlInserted (const css::uno::Reference< css::awt::XControl > &_rxControl, bool _bAddToEventAttacher)
 called when a new control is to be handled by the controller More...
 
void implControlRemoved (const css::uno::Reference< css::awt::XControl > &_rxControl, bool _bRemoveFromEventAttacher)
 called when a control is not to be handled by the controller anymore More...
 
void implSetCurrentControl (const css::uno::Reference< css::awt::XControl > &_rxControl)
 sets m_xCurrentControl, plus does administrative tasks depending on it More...
 
void implInvalidateCurrentControlDependentFeatures ()
 invalidates the FormFeatures which depend on the current control More...
 
bool impl_isDisposed_nofail () const
 
void impl_checkDisposed_throw () const
 
void impl_onModify ()
 
void impl_addFilterRow (const FmFilterRow &_row)
 adds the given filter row to m_aFilterRows, setting m_nCurrentFilterPosition to 0 if the newly added row is the first one. More...
 
void impl_appendEmptyFilterRow (::osl::ClearableMutexGuard &_rClearBeforeNotify)
 adds an empty filter row to m_aFilterRows, and notifies our listeners More...
 
bool isLocked () const
 
bool determineLockState () const
 
css::uno::Reference< css::frame::XDispatchProviderInterceptor > createInterceptor (const css::uno::Reference< css::frame::XDispatchProviderInterception > &_xInterception)
 
void deleteInterceptor (const css::uno::Reference< css::frame::XDispatchProviderInterception > &_xInterception)
 
bool checkFormComponentValidity (OUString &_rFirstInvalidityExplanation, css::uno::Reference< css::awt::XControlModel > &_rxFirstInvalidModel)
 checks all form controls belonging to our form for validity More...
 
css::uno::Reference< css::awt::XControl > locateControl (const css::uno::Reference< css::awt::XControlModel > &_rxModel)
 locates the control which belongs to a given model More...
 
void impl_setTextOnAllFilter_throw ()
 
bool isListeningForChanges () const
 
css::uno::Reference< css::awt::XControl > isInList (const css::uno::Reference< css::awt::XWindowPeer > &xPeer) const
 
 DECL_LINK (OnActivateTabOrder, Timer *, void)
 
 DECL_LINK (OnInvalidateFeatures, Timer *, void)
 
 DECL_LINK (OnLoad, void *, void)
 
 DECL_LINK (OnToggleAutoFields, void *, void)
 
 DECL_LINK (OnActivated, void *, void)
 
 DECL_LINK (OnDeactivated, void *, void)
 

Static Private Member Functions

static css::uno::Sequence< OUString > const & getSupportedServiceNames_Static ()
 

Private Attributes

css::uno::Reference< css::uno::XAggregation > m_xAggregate
 
css::uno::Reference< css::awt::XTabController > m_xTabController
 
css::uno::Reference< css::awt::XControl > m_xActiveControl
 
css::uno::Reference< css::awt::XControl > m_xCurrentControl
 
css::uno::Reference< css::container::XIndexAccess > m_xModelAsIndex
 
css::uno::Reference< css::script::XEventAttacherManager > m_xModelAsManager
 
css::uno::Reference< css::uno::XInterface > m_xParent
 
css::uno::Reference< css::uno::XComponentContext > m_xComponentContext
 
css::uno::Reference< css::sdb::XSingleSelectQueryComposer > m_xComposer
 
css::uno::Reference< css::task::XInteractionHandler > m_xInteractionHandler
 
css::uno::Reference< css::form::runtime::XFormControllerContext > m_xFormControllerContext
 
css::uno::Sequence< css::uno::Reference< css::awt::XControl > > m_aControls
 
::comphelper::OInterfaceContainerHelper3< css::form::XFormControllerListener > m_aActivateListeners
 
::comphelper::OInterfaceContainerHelper3< css::util::XModifyListener > m_aModifyListeners
 
::comphelper::OInterfaceContainerHelper3< css::sdb::XSQLErrorListener > m_aErrorListeners
 
::comphelper::OInterfaceContainerHelper3< css::form::XConfirmDeleteListener > m_aDeleteListeners
 
::comphelper::OInterfaceContainerHelper3< css::sdb::XRowSetApproveListener > m_aRowSetApproveListeners
 
::comphelper::OInterfaceContainerHelper3< css::form::XDatabaseParameterListener > m_aParameterListeners
 
::comphelper::OInterfaceContainerHelper3< css::form::runtime::XFilterControllerListener > m_aFilterListeners
 
std::vector< css::uno::Reference< css::form::runtime::XFormController > > m_aChildren
 
FilterComponents m_aFilterComponents
 
FmFilterRows m_aFilterRows
 
Idle m_aTabActivationIdle
 
Timer m_aFeatureInvalidationTimer
 
::svxform::ControlBorderManager m_aControlBorderManager
 
css::uno::Reference< css::form::runtime::XFormOperations > m_xFormOperations
 
DispatcherContainer m_aFeatureDispatchers
 
::std::set< sal_Int16 > m_aInvalidFeatures
 
OUString m_aMode
 
::svxform::DelayedEvent m_aLoadEvent
 
::svxform::DelayedEvent m_aToggleEvent
 
::svxform::DelayedEvent m_aActivationEvent
 
::svxform::DelayedEvent m_aDeactivationEvent
 
::std::unique_ptr< ColumnInfoCachem_pColumnInfoCache
 
sal_Int32 m_nCurrentFilterPosition
 
bool m_bCurrentRecordModified: 1
 
bool m_bCurrentRecordNew: 1
 
bool m_bLocked: 1
 
bool m_bDBConnection: 1
 
bool m_bCycle: 1
 
bool m_bCanInsert: 1
 
bool m_bCanUpdate: 1
 
bool m_bCommitLock: 1
 
bool m_bModified: 1
 
bool m_bControlsSorted: 1
 
bool m_bFiltering: 1
 
bool m_bAttachEvents: 1
 
bool m_bDetachEvents: 1
 
bool m_bAttemptedHandlerCreation: 1
 
bool m_bSuspendFilterTextListening
 
std::vector< rtl::Reference< DispatchInterceptionMultiplexer > > m_aControlDispatchInterceptors
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::OPropertySetHelper
void SAL_CALL fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable)
 
void SAL_CALL setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount)
 
virtual IPropertyArrayHelper &SAL_CALL getInfoHelper ()=0
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const=0
 
void setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value)
 
 ~OPropertySetHelper ()
 
- Protected Member Functions inherited from svxform::DispatchInterceptor
 DispatchInterceptor ()
 
 ~DispatchInterceptor ()
 
- Protected Member Functions inherited from comphelper::OAggregationArrayUsageHelper< FormController >
virtual void fillProperties (css::uno::Sequence< css::beans::Property > &_rProps, css::uno::Sequence< css::beans::Property > &_rAggregateProps) const =0
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const=0
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
static std::mutextheMutex ()
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from cppu::OPropertySetHelper
OBroadcastHelperrBHelper
 
OMultiTypeInterfaceContainerHelperInt32 aBoundLC
 
OMultiTypeInterfaceContainerHelperInt32 aVetoableLC
 
Impl *const m_pReserved
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 115 of file formcontroller.hxx.

Member Typedef Documentation

◆ DispatcherContainer

typedef ::std::map< sal_Int16, css::uno::Reference< css::frame::XDispatch > > svxform::FormController::DispatcherContainer
private

Definition at line 124 of file formcontroller.hxx.

Constructor & Destructor Documentation

◆ FormController()

svxform::FormController::FormController ( const css::uno::Reference< css::uno::XComponentContext > &  _rxORB)

◆ ~FormController()

svxform::FormController::~FormController ( )
overrideprivatevirtual

Definition at line 576 of file formcontroller.cxx.

References m_aMutex.

Member Function Documentation

◆ acquire()

void SAL_CALL svxform::FormController::acquire ( )
overrideprivatevirtualnoexcept

Definition at line 608 of file formcontroller.cxx.

◆ activateFirst()

void svxform::FormController::activateFirst ( )
overrideprivatevirtual

Definition at line 2839 of file formcontroller.cxx.

References DBG_ASSERT, and m_aMutex.

◆ activateLast()

void svxform::FormController::activateLast ( )
overrideprivatevirtual

Definition at line 2850 of file formcontroller.cxx.

References DBG_ASSERT, and m_aMutex.

◆ activateTabOrder()

void svxform::FormController::activateTabOrder ( )
overrideprivatevirtual

Definition at line 2094 of file formcontroller.cxx.

References DBG_ASSERT, and m_aMutex.

◆ addActivateListener()

void SAL_CALL svxform::FormController::addActivateListener ( const css::uno::Reference< css::form::XFormControllerListener > &  l)
overrideprivatevirtual

Definition at line 2879 of file formcontroller.cxx.

References m_aMutex.

◆ addChildController()

void SAL_CALL svxform::FormController::addChildController ( const css::uno::Reference< css::form::runtime::XFormController > &  ChildController)
overrideprivatevirtual

Definition at line 2894 of file formcontroller.cxx.

References Any, m_aMutex, and nPos.

◆ addConfirmDeleteListener()

void SAL_CALL svxform::FormController::addConfirmDeleteListener ( const css::uno::Reference< css::form::XConfirmDeleteListener > &  aListener)
overrideprivatevirtual

Definition at line 3876 of file formcontroller.cxx.

References m_aMutex.

◆ addDatabaseParameterListener()

void SAL_CALL svxform::FormController::addDatabaseParameterListener ( const css::uno::Reference< css::form::XDatabaseParameterListener > &  aListener)
overrideprivatevirtual

Definition at line 3767 of file formcontroller.cxx.

References m_aMutex.

◆ addFilterControllerListener()

void SAL_CALL svxform::FormController::addFilterControllerListener ( const css::uno::Reference< css::form::runtime::XFilterControllerListener > &  Listener)
overrideprivatevirtual

Definition at line 866 of file formcontroller.cxx.

◆ addModifyListener()

void SAL_CALL svxform::FormController::addModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  l)
overrideprivatevirtual

Definition at line 1470 of file formcontroller.cxx.

References m_aMutex.

◆ addParameterListener()

void SAL_CALL svxform::FormController::addParameterListener ( const css::uno::Reference< css::form::XDatabaseParameterListener > &  aListener)
overrideprivatevirtual

Definition at line 3786 of file formcontroller.cxx.

◆ addRowSetApproveListener()

void SAL_CALL svxform::FormController::addRowSetApproveListener ( const css::uno::Reference< css::sdb::XRowSetApproveListener > &  listener)
overrideprivatevirtual

Definition at line 3708 of file formcontroller.cxx.

References m_aMutex.

◆ addSQLErrorListener()

void SAL_CALL svxform::FormController::addSQLErrorListener ( const css::uno::Reference< css::sdb::XSQLErrorListener > &  _rListener)
overrideprivatevirtual

Definition at line 3748 of file formcontroller.cxx.

References m_aMutex.

◆ addStatusListener()

void SAL_CALL svxform::FormController::addStatusListener ( const css::uno::Reference< css::frame::XStatusListener > &  _rxListener,
const css::util::URL &  _rURL 
)
overrideprivatevirtual

Definition at line 4049 of file formcontroller.cxx.

References aEvent, and FMURL_CONFIRM_DELETION.

◆ addToEventAttacher()

void svxform::FormController::addToEventAttacher ( const css::uno::Reference< css::awt::XControl > &  xControl)
private

Definition at line 1896 of file formcontroller.cxx.

References Any, and nPos.

◆ appendEmptyDisjunctiveTerm()

void SAL_CALL svxform::FormController::appendEmptyDisjunctiveTerm ( )
overrideprivatevirtual

Definition at line 997 of file formcontroller.cxx.

References m_aMutex.

◆ approveCursorMove()

sal_Bool SAL_CALL svxform::FormController::approveCursorMove ( const css::lang::EventObject &  event)
overrideprivatevirtual

◆ approveParameter()

sal_Bool SAL_CALL svxform::FormController::approveParameter ( const css::form::DatabaseParameterEvent &  aEvent)
overrideprivatevirtual

◆ approveReset()

sal_Bool SAL_CALL svxform::FormController::approveReset ( const css::lang::EventObject &  rEvent)
overrideprivatevirtual

Definition at line 667 of file formcontroller.cxx.

◆ approveRowChange()

sal_Bool SAL_CALL svxform::FormController::approveRowChange ( const css::sdb::RowChangeEvent &  event)
overrideprivatevirtual

◆ approveRowSetChange()

sal_Bool SAL_CALL svxform::FormController::approveRowSetChange ( const css::lang::EventObject &  event)
overrideprivatevirtual

◆ autoTabOrder()

void svxform::FormController::autoTabOrder ( )
overrideprivatevirtual

Definition at line 2083 of file formcontroller.cxx.

References DBG_ASSERT, and m_aMutex.

◆ checkFormComponentValidity()

bool svxform::FormController::checkFormComponentValidity ( OUString &  _rFirstInvalidityExplanation,
css::uno::Reference< css::awt::XControlModel > &  _rxFirstInvalidModel 
)
private

checks all form controls belonging to our form for validity

If a form control supports the XValidatableFormComponent interface, this is used to determine the validity of the control. If the interface is not supported, the control is supposed to be valid.

Parameters
_rFirstInvalidityExplanationif the method returns <FALSE> (i.e. if there is an invalid control), this string contains the explanation for the invalidity, as obtained from the validator.
_rxFirstInvalidModelif the method returns <FALSE> (i.e. if there is an invalid control), this contains the control model
Returns
<TRUE> if and only if all controls belonging to our form are valid

Definition at line 3455 of file formcontroller.cxx.

References DBG_UNHANDLED_EXCEPTION, and Exception.

◆ columnChanged()

void SAL_CALL svxform::FormController::columnChanged ( const css::lang::EventObject &  _event)
overrideprivatevirtual

Definition at line 4159 of file formcontroller.cxx.

◆ componentValidityChanged()

void SAL_CALL svxform::FormController::componentValidityChanged ( const css::lang::EventObject &  _rSource)
overrideprivatevirtual

Definition at line 1759 of file formcontroller.cxx.

◆ confirmDelete()

sal_Bool SAL_CALL svxform::FormController::confirmDelete ( const css::sdb::RowChangeEvent &  aEvent)
overrideprivatevirtual

◆ convertFastPropertyValue()

virtual sal_Bool SAL_CALL svxform::FormController::convertFastPropertyValue ( css::uno::Any &  rConvertedValue,
css::uno::Any &  rOldValue,
sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overrideprivatevirtual

◆ createEnumeration()

Reference< XEnumeration > SAL_CALL svxform::FormController::createEnumeration ( )
overrideprivatevirtual

Definition at line 1049 of file formcontroller.cxx.

References m_aMutex.

◆ createInterceptor()

Reference< XDispatchProviderInterceptor > svxform::FormController::createInterceptor ( const css::uno::Reference< css::frame::XDispatchProviderInterception > &  _xInterception)
private

Definition at line 4086 of file formcontroller.cxx.

◆ cursorMoved()

void svxform::FormController::cursorMoved ( const css::lang::EventObject &  event)
overrideprivatevirtual

Definition at line 2698 of file formcontroller.cxx.

References m_aMutex.

◆ DECL_LINK() [1/6]

svxform::FormController::DECL_LINK ( OnActivated  ,
void *  ,
void   
)
private

◆ DECL_LINK() [2/6]

svxform::FormController::DECL_LINK ( OnActivateTabOrder  ,
Timer ,
void   
)
private

◆ DECL_LINK() [3/6]

svxform::FormController::DECL_LINK ( OnDeactivated  ,
void *  ,
void   
)
private

◆ DECL_LINK() [4/6]

svxform::FormController::DECL_LINK ( OnInvalidateFeatures  ,
Timer ,
void   
)
private

◆ DECL_LINK() [5/6]

svxform::FormController::DECL_LINK ( OnLoad  ,
void *  ,
void   
)
private

◆ DECL_LINK() [6/6]

svxform::FormController::DECL_LINK ( OnToggleAutoFields  ,
void *  ,
void   
)
private

◆ deleteInterceptor()

void svxform::FormController::deleteInterceptor ( const css::uno::Reference< css::frame::XDispatchProviderInterception > &  _xInterception)
private

Definition at line 4127 of file formcontroller.cxx.

◆ determineLockState()

bool svxform::FormController::determineLockState ( ) const
private

Definition at line 1556 of file formcontroller.cxx.

References isRowSetAlive().

◆ dispatch()

void SAL_CALL svxform::FormController::dispatch ( const css::util::URL &  _rURL,
const css::uno::Sequence< css::beans::PropertyValue > &  _rArgs 
)
overrideprivatevirtual

Definition at line 4021 of file formcontroller.cxx.

References FMURL_CONFIRM_DELETION, and Value.

◆ disposeAllFeaturesAndDispatchers()

void svxform::FormController::disposeAllFeaturesAndDispatchers ( )
private

disposes all dispatchers in m_aFeatureDispatchers, and empties m_aFeatureDispatchers

Definition at line 1099 of file formcontroller.cxx.

References DBG_UNHANDLED_EXCEPTION, and Exception.

◆ disposing() [1/2]

void svxform::FormController::disposing ( )
overrideprivatevirtual

Definition at line 1116 of file formcontroller.cxx.

References m_aMutex, and nPos.

◆ disposing() [2/2]

virtual void SAL_CALL svxform::FormController::disposing ( const css::lang::EventObject &  Source)
overrideprivatevirtual

◆ elementInserted()

void SAL_CALL svxform::FormController::elementInserted ( const css::container::ContainerEvent &  rEvent)
overrideprivatevirtual

Definition at line 2732 of file formcontroller.cxx.

References FM_PROP_BOUNDFIELD, FM_PROP_SEARCHABLE, m_aMutex, and xModel.

◆ elementRemoved()

void SAL_CALL svxform::FormController::elementRemoved ( const css::container::ContainerEvent &  rEvent)
overrideprivatevirtual

Definition at line 2793 of file formcontroller.cxx.

References m_aMutex, and xModel.

◆ elementReplaced()

void SAL_CALL svxform::FormController::elementReplaced ( const css::container::ContainerEvent &  rEvent)
overrideprivatevirtual

Definition at line 2778 of file formcontroller.cxx.

References Any, elementInserted(), and elementRemoved().

◆ ensureInteractionHandler()

bool svxform::FormController::ensureInteractionHandler ( )
private

ensures that we have an interaction handler, if possible

If an interaction handler was provided at creation time (<member>initialize</member>), this one will be used. Else, an attempt is made to create an <type scope="css::sdb">InteractionHandler</type> is made.

Returns
<TRUE> if and only if <member>m_xInteractionHandler</member> is valid when the method returns

Definition at line 4105 of file formcontroller.cxx.

References m_xComponentContext, and m_xInteractionHandler.

◆ errorOccured()

void SAL_CALL svxform::FormController::errorOccured ( const css::sdb::SQLErrorEvent &  aEvent)
overrideprivatevirtual

◆ fillProperties()

void svxform::FormController::fillProperties ( css::uno::Sequence< css::beans::Property > &  _rProps,
css::uno::Sequence< css::beans::Property > &  _rAggregateProps 
) const
overrideprivatevirtual

◆ findControl()

Reference< XControl > svxform::FormController::findControl ( css::uno::Sequence< css::uno::Reference< css::awt::XControl > > &  rCtrls,
const css::uno::Reference< css::awt::XControlModel > &  rxCtrlModel,
bool  _bRemove,
bool  _bOverWrite 
) const
private

Definition at line 2318 of file formcontroller.cxx.

References DBG_ASSERT, and i.

◆ focusGained()

void svxform::FormController::focusGained ( const css::awt::FocusEvent &  e)
overrideprivatevirtual

Definition at line 1572 of file formcontroller.cxx.

References DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, Exception, m_aMutex, and SAL_WARN_IF.

◆ focusLost()

void svxform::FormController::focusLost ( const css::awt::FocusEvent &  e)
overrideprivatevirtual

Definition at line 1721 of file formcontroller.cxx.

◆ getActiveTerm()

sal_Int32 SAL_CALL svxform::FormController::getActiveTerm ( )
overrideprivate

Definition at line 1008 of file formcontroller.cxx.

References m_aMutex.

◆ getByIndex()

Any SAL_CALL svxform::FormController::getByIndex ( sal_Int32  Index)
overrideprivatevirtual

Definition at line 1064 of file formcontroller.cxx.

References Any, m_aMutex, and o3tl::make_unsigned().

◆ getContainer()

Reference< XControlContainer > svxform::FormController::getContainer ( )
overrideprivatevirtual

Definition at line 2032 of file formcontroller.cxx.

References DBG_ASSERT, and m_aMutex.

◆ getContext()

Reference< XFormControllerContext > SAL_CALL svxform::FormController::getContext ( )
overrideprivatevirtual

Definition at line 2931 of file formcontroller.cxx.

References m_aMutex.

◆ getControls()

Sequence< Reference< XControl > > svxform::FormController::getControls ( )
overrideprivatevirtual

Definition at line 2044 of file formcontroller.cxx.

References m_aMutex, and xModel.

◆ getCount()

sal_Int32 SAL_CALL svxform::FormController::getCount ( )
overrideprivatevirtual

Definition at line 1057 of file formcontroller.cxx.

References m_aMutex.

◆ getCurrentControl()

Reference< XControl > SAL_CALL svxform::FormController::getCurrentControl ( )
overrideprivatevirtual

Definition at line 2871 of file formcontroller.cxx.

References m_aMutex.

◆ getDialogParentWindow()

css::uno::Reference< css::awt::XWindow > svxform::FormController::getDialogParentWindow ( css::uno::Reference< css::form::runtime::XFormController >  xFormController)
static

Definition at line 3440 of file formcontroller.cxx.

References DBG_UNHANDLED_EXCEPTION, and Exception.

◆ getDisjunctiveTerms()

sal_Int32 SAL_CALL svxform::FormController::getDisjunctiveTerms ( )
overrideprivate

Definition at line 887 of file formcontroller.cxx.

References m_aMutex.

◆ getElementType()

Type SAL_CALL svxform::FormController::getElementType ( )
overrideprivatevirtual

Definition at line 1041 of file formcontroller.cxx.

References cppu::UnoType< typename T >::get().

◆ getFastPropertyValue()

virtual void SAL_CALL svxform::FormController::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
overrideprivatevirtual

◆ getFilterComponent()

Reference< XControl > svxform::FormController::getFilterComponent ( ::sal_Int32  Component)
overrideprivatevirtual

Definition at line 915 of file formcontroller.cxx.

References m_aMutex.

◆ getFilterComponents()

sal_Int32 SAL_CALL svxform::FormController::getFilterComponents ( )
overrideprivate

Definition at line 878 of file formcontroller.cxx.

References m_aMutex.

◆ getFormOperations()

Reference< XFormOperations > SAL_CALL svxform::FormController::getFormOperations ( )
overrideprivatevirtual

Definition at line 2862 of file formcontroller.cxx.

References m_aMutex.

◆ getImplementationId()

Sequence< sal_Int8 > SAL_CALL svxform::FormController::getImplementationId ( )
overrideprivatevirtual

Definition at line 631 of file formcontroller.cxx.

◆ getImplementationName()

OUString SAL_CALL svxform::FormController::getImplementationName ( )
overrideprivatevirtual

Definition at line 650 of file formcontroller.cxx.

◆ getInfoHelper()

cppu::IPropertyArrayHelper & svxform::FormController::getInfoHelper ( )
overrideprivatevirtual

Implements cppu::OPropertySetHelper.

Definition at line 859 of file formcontroller.cxx.

◆ getInteractionHandler()

Reference< XInteractionHandler > SAL_CALL svxform::FormController::getInteractionHandler ( )
overrideprivatevirtual

Definition at line 2947 of file formcontroller.cxx.

References m_aMutex, and m_xInteractionHandler.

◆ getInterceptorMutex()

virtual ::osl::Mutex * svxform::FormController::getInterceptorMutex ( )
inlineoverrideprivatevirtual

Implements svxform::DispatchInterceptor.

Definition at line 420 of file formcontroller.hxx.

References cppu::BaseMutex::m_aMutex.

◆ getMode()

OUString SAL_CALL svxform::FormController::getMode ( )
overrideprivatevirtual

Definition at line 3409 of file formcontroller.cxx.

References m_aMutex.

◆ getModel()

Reference< XTabControllerModel > svxform::FormController::getModel ( )
overrideprivatevirtual

Definition at line 1884 of file formcontroller.cxx.

References DBG_ASSERT, and m_aMutex.

◆ getParent()

Reference< XInterface > SAL_CALL svxform::FormController::getParent ( )
overrideprivatevirtual

Definition at line 4067 of file formcontroller.cxx.

◆ getPredicateExpressions()

Sequence< Sequence< OUString > > svxform::FormController::getPredicateExpressions ( )
overrideprivatevirtual

Definition at line 927 of file formcontroller.cxx.

References m_aMutex.

◆ getPropertySetInfo()

Reference< XPropertySetInfo > svxform::FormController::getPropertySetInfo ( )
overrideprivatevirtual

Definition at line 834 of file formcontroller.cxx.

◆ getSupportedModes()

Sequence< OUString > SAL_CALL svxform::FormController::getSupportedModes ( )
overrideprivatevirtual

Definition at line 3418 of file formcontroller.cxx.

References m_aMutex.

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL svxform::FormController::getSupportedServiceNames ( )
overrideprivatevirtual

Definition at line 655 of file formcontroller.cxx.

◆ getSupportedServiceNames_Static()

Sequence< OUString > const & svxform::FormController::getSupportedServiceNames_Static ( )
staticprivate

Definition at line 681 of file formcontroller.cxx.

◆ getTypes()

Sequence< Type > SAL_CALL svxform::FormController::getTypes ( )
overrideprivatevirtual

◆ handle()

void SAL_CALL svxform::FormController::handle ( const css::uno::Reference< css::task::XInteractionRequest > &  Request)
overrideprivatevirtual

Definition at line 4119 of file formcontroller.cxx.

References m_xInteractionHandler.

◆ hasElements()

sal_Bool SAL_CALL svxform::FormController::hasElements ( )
overrideprivatevirtual

Definition at line 1034 of file formcontroller.cxx.

References m_aMutex.

◆ impl_addFilterRow()

void svxform::FormController::impl_addFilterRow ( const FmFilterRow _row)
private

adds the given filter row to m_aFilterRows, setting m_nCurrentFilterPosition to 0 if the newly added row is the first one.

@precond our mutex is locked

Definition at line 1531 of file formcontroller.cxx.

◆ impl_appendEmptyFilterRow()

void svxform::FormController::impl_appendEmptyFilterRow ( ::osl::ClearableMutexGuard &  _rClearBeforeNotify)
private

adds an empty filter row to m_aFilterRows, and notifies our listeners

Definition at line 1542 of file formcontroller.cxx.

References aEvent.

◆ impl_checkDisposed_throw()

void svxform::FormController::impl_checkDisposed_throw ( ) const
private

Definition at line 1511 of file formcontroller.cxx.

◆ impl_isDisposed_nofail()

bool svxform::FormController::impl_isDisposed_nofail ( ) const
inlineprivate

Definition at line 498 of file formcontroller.hxx.

◆ impl_onModify()

void svxform::FormController::impl_onModify ( )
private

Definition at line 1517 of file formcontroller.cxx.

References m_aMutex.

◆ impl_setTextOnAllFilter_throw()

void svxform::FormController::impl_setTextOnAllFilter_throw ( )
private

Definition at line 720 of file formcontroller.cxx.

References o3tl::make_unsigned().

◆ implControlInserted()

void svxform::FormController::implControlInserted ( const css::uno::Reference< css::awt::XControl > &  _rxControl,
bool  _bAddToEventAttacher 
)
private

called when a new control is to be handled by the controller

Definition at line 2340 of file formcontroller.cxx.

References xModel.

◆ implControlRemoved()

void svxform::FormController::implControlRemoved ( const css::uno::Reference< css::awt::XControl > &  _rxControl,
bool  _bRemoveFromEventAttacher 
)
private

called when a control is not to be handled by the controller anymore

Definition at line 2379 of file formcontroller.cxx.

References xModel.

◆ implInvalidateCurrentControlDependentFeatures()

void svxform::FormController::implInvalidateCurrentControlDependentFeatures ( )
private

invalidates the FormFeatures which depend on the current control

Definition at line 4145 of file formcontroller.cxx.

◆ implSetCurrentControl()

void svxform::FormController::implSetCurrentControl ( const css::uno::Reference< css::awt::XControl > &  _rxControl)
private

sets m_xCurrentControl, plus does administrative tasks depending on it

Definition at line 2410 of file formcontroller.cxx.

◆ insertControl()

void svxform::FormController::insertControl ( const css::uno::Reference< css::awt::XControl > &  xControl)
private

Definition at line 2427 of file formcontroller.cxx.

◆ interceptedQueryDispatch()

Reference< XDispatch > svxform::FormController::interceptedQueryDispatch ( const css::util::URL &  aURL,
const OUString &  aTargetFrameName,
sal_Int32  nSearchFlags 
)
overrideprivatevirtual

◆ invalidateAllFeatures()

void SAL_CALL svxform::FormController::invalidateAllFeatures ( )
overrideprivatevirtual

Definition at line 3968 of file formcontroller.cxx.

References m_aMutex, and comphelper::mapKeysToSequence().

◆ invalidateFeatures()

void SAL_CALL svxform::FormController::invalidateFeatures ( const css::uno::Sequence< ::sal_Int16 > &  Features)
overrideprivatevirtual

Definition at line 3956 of file formcontroller.cxx.

References m_aMutex.

◆ isInList()

Reference< XControl > svxform::FormController::isInList ( const css::uno::Reference< css::awt::XWindowPeer > &  xPeer) const
private

Definition at line 2820 of file formcontroller.cxx.

References n.

◆ isListeningForChanges()

bool svxform::FormController::isListeningForChanges ( ) const
inlineprivate

Definition at line 555 of file formcontroller.hxx.

References isLocked(), m_bDBConnection, and m_bFiltering.

◆ isLocked()

bool svxform::FormController::isLocked ( ) const
inlineprivate

Definition at line 515 of file formcontroller.hxx.

References m_bLocked.

Referenced by isListeningForChanges().

◆ itemStateChanged()

void SAL_CALL svxform::FormController::itemStateChanged ( const css::awt::ItemEvent &  rEvent)
overrideprivatevirtual

Definition at line 1463 of file formcontroller.cxx.

◆ loaded()

void svxform::FormController::loaded ( const css::lang::EventObject &  rEvent)
overrideprivatevirtual

◆ locateControl()

Reference< XControl > svxform::FormController::locateControl ( const css::uno::Reference< css::awt::XControlModel > &  _rxModel)
private

locates the control which belongs to a given model

Definition at line 3497 of file formcontroller.cxx.

References DBG_UNHANDLED_EXCEPTION, and Exception.

◆ modified()

void svxform::FormController::modified ( const css::lang::EventObject &  rEvent)
overrideprivatevirtual

Definition at line 1485 of file formcontroller.cxx.

References DBG_UNHANDLED_EXCEPTION, and Exception.

◆ mouseEntered()

void SAL_CALL svxform::FormController::mouseEntered ( const css::awt::MouseEvent &  _rEvent)
overrideprivatevirtual

Definition at line 1749 of file formcontroller.cxx.

◆ mouseExited()

void SAL_CALL svxform::FormController::mouseExited ( const css::awt::MouseEvent &  _rEvent)
overrideprivatevirtual

Definition at line 1754 of file formcontroller.cxx.

◆ mousePressed()

void SAL_CALL svxform::FormController::mousePressed ( const css::awt::MouseEvent &  _rEvent)
overrideprivatevirtual

Definition at line 1739 of file formcontroller.cxx.

◆ mouseReleased()

void SAL_CALL svxform::FormController::mouseReleased ( const css::awt::MouseEvent &  _rEvent)
overrideprivatevirtual

Definition at line 1744 of file formcontroller.cxx.

◆ propertyChange()

void SAL_CALL svxform::FormController::propertyChange ( const css::beans::PropertyChangeEvent &  evt)
overrideprivatevirtual

◆ queryInterface()

Any SAL_CALL svxform::FormController::queryInterface ( const css::uno::Type &  type)
overrideprivatevirtual

Reimplemented from cppu::OPropertySetHelper.

Definition at line 620 of file formcontroller.cxx.

References Any.

◆ release()

void SAL_CALL svxform::FormController::release ( )
overrideprivatevirtualnoexcept

Definition at line 614 of file formcontroller.cxx.

◆ reloaded()

void svxform::FormController::reloaded ( const css::lang::EventObject &  aEvent)
overrideprivatevirtual

Definition at line 2573 of file formcontroller.cxx.

References aEvent, and m_aMutex.

◆ reloading()

void svxform::FormController::reloading ( const css::lang::EventObject &  aEvent)
overrideprivatevirtual

Definition at line 2561 of file formcontroller.cxx.

References m_aMutex.

◆ removeActivateListener()

void SAL_CALL svxform::FormController::removeActivateListener ( const css::uno::Reference< css::form::XFormControllerListener > &  l)
overrideprivatevirtual

Definition at line 2886 of file formcontroller.cxx.

References m_aMutex.

◆ removeBoundFieldListener()

void svxform::FormController::removeBoundFieldListener ( )
private

Definition at line 2620 of file formcontroller.cxx.

References FM_PROP_BOUNDFIELD.

◆ removeConfirmDeleteListener()

void SAL_CALL svxform::FormController::removeConfirmDeleteListener ( const css::uno::Reference< css::form::XConfirmDeleteListener > &  aListener)
overrideprivatevirtual

Definition at line 3885 of file formcontroller.cxx.

References m_aMutex.

◆ removeControl()

void svxform::FormController::removeControl ( const css::uno::Reference< css::awt::XControl > &  xControl)
private

Definition at line 2447 of file formcontroller.cxx.

References nIndex.

◆ removeDatabaseParameterListener()

void SAL_CALL svxform::FormController::removeDatabaseParameterListener ( const css::uno::Reference< css::form::XDatabaseParameterListener > &  aListener)
overrideprivatevirtual

Definition at line 3776 of file formcontroller.cxx.

References m_aMutex.

◆ removeDisjunctiveTerm()

void SAL_CALL svxform::FormController::removeDisjunctiveTerm ( ::sal_Int32  Term)
overrideprivatevirtual

Definition at line 956 of file formcontroller.cxx.

References aEvent, m_aMutex, pos, and SAL_WARN_IF.

◆ removeFilterControllerListener()

void SAL_CALL svxform::FormController::removeFilterControllerListener ( const css::uno::Reference< css::form::runtime::XFilterControllerListener > &  Listener)
overrideprivatevirtual

Definition at line 872 of file formcontroller.cxx.

◆ removeFromEventAttacher()

void svxform::FormController::removeFromEventAttacher ( const css::uno::Reference< css::awt::XControl > &  xControl)
private

Definition at line 1923 of file formcontroller.cxx.

References nPos.

◆ removeModifyListener()

void svxform::FormController::removeModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  l)
overrideprivatevirtual

Definition at line 1477 of file formcontroller.cxx.

References m_aMutex.

◆ removeParameterListener()

void SAL_CALL svxform::FormController::removeParameterListener ( const css::uno::Reference< css::form::XDatabaseParameterListener > &  aListener)
overrideprivatevirtual

Definition at line 3792 of file formcontroller.cxx.

◆ removeRowSetApproveListener()

void SAL_CALL svxform::FormController::removeRowSetApproveListener ( const css::uno::Reference< css::sdb::XRowSetApproveListener > &  listener)
overrideprivatevirtual

Definition at line 3717 of file formcontroller.cxx.

References m_aMutex.

◆ removeSQLErrorListener()

void SAL_CALL svxform::FormController::removeSQLErrorListener ( const css::uno::Reference< css::sdb::XSQLErrorListener > &  _rListener)
overrideprivatevirtual

Definition at line 3757 of file formcontroller.cxx.

References m_aMutex.

◆ removeStatusListener()

void SAL_CALL svxform::FormController::removeStatusListener ( const css::uno::Reference< css::frame::XStatusListener > &  _rxListener,
const css::util::URL &  _rURL 
)
overrideprivatevirtual

Definition at line 4079 of file formcontroller.cxx.

References FMURL_CONFIRM_DELETION.

◆ replaceControl()

bool svxform::FormController::replaceControl ( const css::uno::Reference< css::awt::XControl > &  _rxExistentControl,
const css::uno::Reference< css::awt::XControl > &  _rxNewControl 
)
private

replaces one of our controls with another one

Upon successful replacing, the old control will be disposed. Also, internal members pointing to the current or active control will be adjusted. Yet more, if the replaced control was the active control, the new control will be made active.

Parameters
_rxExistentControlThe control to replace. Must be one of the controls in our ControlContainer.
_rxNewControlThe control which should replace the existent control.
Returns
<TRUE> if and only if the control was successfully replaced

Definition at line 1268 of file formcontroller.cxx.

References Any, DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, Exception, and nId.

◆ resetted()

void SAL_CALL svxform::FormController::resetted ( const css::lang::EventObject &  rEvent)
overrideprivatevirtual

Definition at line 673 of file formcontroller.cxx.

References m_aMutex.

◆ rowChanged()

void svxform::FormController::rowChanged ( const css::lang::EventObject &  event)
overrideprivatevirtual

Definition at line 2719 of file formcontroller.cxx.

◆ rowSetChanged()

void svxform::FormController::rowSetChanged ( const css::lang::EventObject &  event)
overrideprivatevirtual

Definition at line 2724 of file formcontroller.cxx.

◆ setActiveTerm()

void SAL_CALL svxform::FormController::setActiveTerm ( ::sal_Int32  ActiveTerm)
overrideprivatevirtual

Definition at line 1017 of file formcontroller.cxx.

References m_aMutex.

◆ setContainer()

void svxform::FormController::setContainer ( const css::uno::Reference< css::awt::XControlContainer > &  Container)
overrideprivatevirtual

Definition at line 1950 of file formcontroller.cxx.

References DBG_ASSERT, m_aMutex, and nCount.

◆ setContext()

void SAL_CALL svxform::FormController::setContext ( const css::uno::Reference< css::form::runtime::XFormControllerContext > &  _context)
overrideprivatevirtual

Definition at line 2939 of file formcontroller.cxx.

References m_aMutex.

◆ setControlLock()

void svxform::FormController::setControlLock ( const css::uno::Reference< css::awt::XControl > &  xControl)
private

◆ setFastPropertyValue_NoBroadcast()

virtual void SAL_CALL svxform::FormController::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overrideprivatevirtual

◆ setFilter()

void svxform::FormController::setFilter ( ::std::vector< FmFieldInfo > &  rFieldInfos)
private

◆ setInteractionHandler()

void SAL_CALL svxform::FormController::setInteractionHandler ( const css::uno::Reference< css::task::XInteractionHandler > &  _interactionHandler)
overrideprivatevirtual

Definition at line 2955 of file formcontroller.cxx.

References m_aMutex, and m_xInteractionHandler.

◆ setLocks()

void svxform::FormController::setLocks ( )
private

Definition at line 2160 of file formcontroller.cxx.

◆ setMode()

void svxform::FormController::setMode ( const OUString &  Mode)
overrideprivatevirtual

Definition at line 3382 of file formcontroller.cxx.

References m_aMutex.

◆ setModel()

void svxform::FormController::setModel ( const css::uno::Reference< css::awt::XTabControllerModel > &  Model)
overrideprivatevirtual

◆ setParent()

void SAL_CALL svxform::FormController::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overrideprivatevirtual

Definition at line 4073 of file formcontroller.cxx.

References Parent.

◆ setPredicateExpression()

void SAL_CALL svxform::FormController::setPredicateExpression ( ::sal_Int32  Component,
::sal_Int32  Term,
const OUString &  PredicateExpression 
)
overrideprivatevirtual

Definition at line 896 of file formcontroller.cxx.

References m_aMutex.

◆ startControlModifyListening()

void svxform::FormController::startControlModifyListening ( const css::uno::Reference< css::awt::XControl > &  xControl)
private

Definition at line 2199 of file formcontroller.cxx.

◆ startFiltering()

void svxform::FormController::startFiltering ( )
private

◆ startFormListening()

void svxform::FormController::startFormListening ( const css::uno::Reference< css::beans::XPropertySet > &  _rxForm,
bool  _bPropertiesOnly 
)
private

◆ startListening()

void svxform::FormController::startListening ( )
private

Definition at line 2296 of file formcontroller.cxx.

◆ stopControlModifyListening()

void svxform::FormController::stopControlModifyListening ( const css::uno::Reference< css::awt::XControl > &  xControl)
private

Definition at line 2248 of file formcontroller.cxx.

◆ stopFiltering()

void svxform::FormController::stopFiltering ( )
private

◆ stopFormListening()

void svxform::FormController::stopFormListening ( const css::uno::Reference< css::beans::XPropertySet > &  _rxForm,
bool  _bPropertiesOnly 
)
private

◆ stopListening()

void svxform::FormController::stopListening ( )
private

Definition at line 2307 of file formcontroller.cxx.

◆ supportsMode()

sal_Bool SAL_CALL svxform::FormController::supportsMode ( const OUString &  Mode)
overrideprivatevirtual

Definition at line 3431 of file formcontroller.cxx.

References comphelper::findValue(), and m_aMutex.

◆ supportsService()

sal_Bool SAL_CALL svxform::FormController::supportsService ( const OUString &  ServiceName)
overrideprivatevirtual

Definition at line 645 of file formcontroller.cxx.

References ServiceName, and cppu::supportsService().

◆ textChanged()

void SAL_CALL svxform::FormController::textChanged ( const css::awt::TextEvent &  rEvent)
overrideprivatevirtual

Definition at line 1407 of file formcontroller.cxx.

References aEvent, m_aMutex, and o3tl::make_unsigned().

◆ toggleAutoFields()

void svxform::FormController::toggleAutoFields ( bool  bAutoFields)
private

◆ unload()

void svxform::FormController::unload ( )
private
Exceptions
css::uno::RuntimeException

Definition at line 2591 of file formcontroller.cxx.

References m_aMutex.

◆ unloaded()

void svxform::FormController::unloaded ( const css::lang::EventObject &  rEvent)
overrideprivatevirtual

Definition at line 2552 of file formcontroller.cxx.

References m_aMutex.

◆ unloading()

void svxform::FormController::unloading ( const css::lang::EventObject &  aEvent)
overrideprivatevirtual

Definition at line 2582 of file formcontroller.cxx.

References m_aMutex.

◆ updateAllDispatchers()

void svxform::FormController::updateAllDispatchers ( ) const
private

update all our dispatchers

Definition at line 2525 of file formcontroller.cxx.

Member Data Documentation

◆ m_aActivateListeners

::comphelper::OInterfaceContainerHelper3<css::form::XFormControllerListener> svxform::FormController::m_aActivateListeners
private

Definition at line 140 of file formcontroller.hxx.

◆ m_aActivationEvent

::svxform::DelayedEvent svxform::FormController::m_aActivationEvent
private

Definition at line 174 of file formcontroller.hxx.

◆ m_aChildren

std::vector< css::uno::Reference< css::form::runtime::XFormController > > svxform::FormController::m_aChildren
private

Definition at line 155 of file formcontroller.hxx.

◆ m_aControlBorderManager

::svxform::ControlBorderManager svxform::FormController::m_aControlBorderManager
private

Definition at line 163 of file formcontroller.hxx.

◆ m_aControlDispatchInterceptors

std::vector<rtl::Reference<DispatchInterceptionMultiplexer> > svxform::FormController::m_aControlDispatchInterceptors
private

Definition at line 200 of file formcontroller.hxx.

◆ m_aControls

css::uno::Sequence< css::uno::Reference< css::awt::XControl> > svxform::FormController::m_aControls
private

Definition at line 138 of file formcontroller.hxx.

◆ m_aDeactivationEvent

::svxform::DelayedEvent svxform::FormController::m_aDeactivationEvent
private

Definition at line 175 of file formcontroller.hxx.

◆ m_aDeleteListeners

::comphelper::OInterfaceContainerHelper3<css::form::XConfirmDeleteListener> svxform::FormController::m_aDeleteListeners
private

Definition at line 146 of file formcontroller.hxx.

◆ m_aErrorListeners

::comphelper::OInterfaceContainerHelper3<css::sdb::XSQLErrorListener> svxform::FormController::m_aErrorListeners
private

Definition at line 144 of file formcontroller.hxx.

◆ m_aFeatureDispatchers

DispatcherContainer svxform::FormController::m_aFeatureDispatchers
private

Definition at line 167 of file formcontroller.hxx.

◆ m_aFeatureInvalidationTimer

Timer svxform::FormController::m_aFeatureInvalidationTimer
private

Definition at line 160 of file formcontroller.hxx.

◆ m_aFilterComponents

FilterComponents svxform::FormController::m_aFilterComponents
private

Definition at line 156 of file formcontroller.hxx.

◆ m_aFilterListeners

::comphelper::OInterfaceContainerHelper3<css::form::runtime::XFilterControllerListener> svxform::FormController::m_aFilterListeners
private

Definition at line 152 of file formcontroller.hxx.

◆ m_aFilterRows

FmFilterRows svxform::FormController::m_aFilterRows
private

Definition at line 157 of file formcontroller.hxx.

◆ m_aInvalidFeatures

::std::set< sal_Int16 > svxform::FormController::m_aInvalidFeatures
private

Definition at line 168 of file formcontroller.hxx.

◆ m_aLoadEvent

::svxform::DelayedEvent svxform::FormController::m_aLoadEvent
private

Definition at line 172 of file formcontroller.hxx.

◆ m_aMode

OUString svxform::FormController::m_aMode
private

Definition at line 170 of file formcontroller.hxx.

◆ m_aModifyListeners

::comphelper::OInterfaceContainerHelper3<css::util::XModifyListener> svxform::FormController::m_aModifyListeners
private

Definition at line 142 of file formcontroller.hxx.

◆ m_aParameterListeners

::comphelper::OInterfaceContainerHelper3<css::form::XDatabaseParameterListener> svxform::FormController::m_aParameterListeners
private

Definition at line 150 of file formcontroller.hxx.

◆ m_aRowSetApproveListeners

::comphelper::OInterfaceContainerHelper3<css::sdb::XRowSetApproveListener> svxform::FormController::m_aRowSetApproveListeners
private

Definition at line 148 of file formcontroller.hxx.

◆ m_aTabActivationIdle

Idle svxform::FormController::m_aTabActivationIdle
private

Definition at line 159 of file formcontroller.hxx.

◆ m_aToggleEvent

::svxform::DelayedEvent svxform::FormController::m_aToggleEvent
private

Definition at line 173 of file formcontroller.hxx.

◆ m_bAttachEvents

bool svxform::FormController::m_bAttachEvents
private

Definition at line 193 of file formcontroller.hxx.

◆ m_bAttemptedHandlerCreation

bool svxform::FormController::m_bAttemptedHandlerCreation
private

Definition at line 195 of file formcontroller.hxx.

◆ m_bCanInsert

bool svxform::FormController::m_bCanInsert
private

Definition at line 187 of file formcontroller.hxx.

◆ m_bCanUpdate

bool svxform::FormController::m_bCanUpdate
private

Definition at line 188 of file formcontroller.hxx.

◆ m_bCommitLock

bool svxform::FormController::m_bCommitLock
private

Definition at line 189 of file formcontroller.hxx.

◆ m_bControlsSorted

bool svxform::FormController::m_bControlsSorted
private

Definition at line 191 of file formcontroller.hxx.

◆ m_bCurrentRecordModified

bool svxform::FormController::m_bCurrentRecordModified
private

Definition at line 182 of file formcontroller.hxx.

◆ m_bCurrentRecordNew

bool svxform::FormController::m_bCurrentRecordNew
private

Definition at line 183 of file formcontroller.hxx.

◆ m_bCycle

bool svxform::FormController::m_bCycle
private

Definition at line 186 of file formcontroller.hxx.

◆ m_bDBConnection

bool svxform::FormController::m_bDBConnection
private

Definition at line 185 of file formcontroller.hxx.

Referenced by isListeningForChanges().

◆ m_bDetachEvents

bool svxform::FormController::m_bDetachEvents
private

Definition at line 194 of file formcontroller.hxx.

◆ m_bFiltering

bool svxform::FormController::m_bFiltering
private

Definition at line 192 of file formcontroller.hxx.

Referenced by isListeningForChanges().

◆ m_bLocked

bool svxform::FormController::m_bLocked
private

Definition at line 184 of file formcontroller.hxx.

Referenced by isLocked().

◆ m_bModified

bool svxform::FormController::m_bModified
private

Definition at line 190 of file formcontroller.hxx.

◆ m_bSuspendFilterTextListening

bool svxform::FormController::m_bSuspendFilterTextListening
private

Definition at line 196 of file formcontroller.hxx.

◆ m_nCurrentFilterPosition

sal_Int32 svxform::FormController::m_nCurrentFilterPosition
private

Definition at line 180 of file formcontroller.hxx.

◆ m_pColumnInfoCache

::std::unique_ptr< ColumnInfoCache > svxform::FormController::m_pColumnInfoCache
private

Definition at line 178 of file formcontroller.hxx.

◆ m_xActiveControl

css::uno::Reference< css::awt::XControl> svxform::FormController::m_xActiveControl
private

Definition at line 128 of file formcontroller.hxx.

◆ m_xAggregate

css::uno::Reference< css::uno::XAggregation> svxform::FormController::m_xAggregate
private

Definition at line 126 of file formcontroller.hxx.

◆ m_xComponentContext

css::uno::Reference< css::uno::XComponentContext> svxform::FormController::m_xComponentContext
private

Definition at line 132 of file formcontroller.hxx.

◆ m_xComposer

css::uno::Reference< css::sdb::XSingleSelectQueryComposer > svxform::FormController::m_xComposer
private

Definition at line 134 of file formcontroller.hxx.

◆ m_xCurrentControl

css::uno::Reference< css::awt::XControl> svxform::FormController::m_xCurrentControl
private

Definition at line 128 of file formcontroller.hxx.

◆ m_xFormControllerContext

css::uno::Reference< css::form::runtime::XFormControllerContext > svxform::FormController::m_xFormControllerContext
private

Definition at line 136 of file formcontroller.hxx.

◆ m_xFormOperations

css::uno::Reference< css::form::runtime::XFormOperations > svxform::FormController::m_xFormOperations
private

Definition at line 166 of file formcontroller.hxx.

◆ m_xInteractionHandler

css::uno::Reference< css::task::XInteractionHandler > svxform::FormController::m_xInteractionHandler
private

Definition at line 135 of file formcontroller.hxx.

◆ m_xModelAsIndex

css::uno::Reference< css::container::XIndexAccess> svxform::FormController::m_xModelAsIndex
private

Definition at line 129 of file formcontroller.hxx.

◆ m_xModelAsManager

css::uno::Reference< css::script::XEventAttacherManager> svxform::FormController::m_xModelAsManager
private

Definition at line 130 of file formcontroller.hxx.

◆ m_xParent

css::uno::Reference< css::uno::XInterface> svxform::FormController::m_xParent
private

Definition at line 131 of file formcontroller.hxx.

◆ m_xTabController

css::uno::Reference< css::awt::XTabController> svxform::FormController::m_xTabController
private

Definition at line 127 of file formcontroller.hxx.


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