LibreOffice Module svx (master) 1
|
#include <formcontroller.hxx>
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::IPropertyArrayHelper * | getArrayHelper () |
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 () |
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::IPropertyArrayHelper * | createArrayHelper () const |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const=0 |
Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE > | |
static std::mutex & | theMutex () |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Protected Attributes inherited from cppu::OPropertySetHelper | |
OBroadcastHelper & | rBHelper |
OMultiTypeInterfaceContainerHelperInt32 | aBoundLC |
OMultiTypeInterfaceContainerHelperInt32 | aVetoableLC |
Impl *const | m_pReserved |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< class TYPE > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
Definition at line 115 of file formcontroller.hxx.
|
private |
Definition at line 124 of file formcontroller.hxx.
svxform::FormController::FormController | ( | const css::uno::Reference< css::uno::XComponentContext > & | _rxORB | ) |
|
overrideprivatevirtual |
Definition at line 576 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtualnoexcept |
Definition at line 608 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 2839 of file formcontroller.cxx.
References DBG_ASSERT, and m_aMutex.
|
overrideprivatevirtual |
Definition at line 2850 of file formcontroller.cxx.
References DBG_ASSERT, and m_aMutex.
|
overrideprivatevirtual |
Definition at line 2094 of file formcontroller.cxx.
References DBG_ASSERT, and m_aMutex.
|
overrideprivatevirtual |
Definition at line 2879 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 2894 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 3876 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 3767 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 866 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 1470 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 3786 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 3708 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 3748 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 4049 of file formcontroller.cxx.
References aEvent, and FMURL_CONFIRM_DELETION.
|
private |
Definition at line 1896 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 997 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 3673 of file formcontroller.cxx.
References comphelper::OInterfaceIteratorHelper3< class ListenerT >::hasMoreElements(), m_aMutex, and comphelper::OInterfaceIteratorHelper3< class ListenerT >::next().
|
overrideprivatevirtual |
Definition at line 3799 of file formcontroller.cxx.
References aEvent, Any, DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, Exception, FM_PROP_NAME, FM_PROP_VALUE, getConnection(), comphelper::OInterfaceIteratorHelper3< class ListenerT >::hasMoreElements(), i, m_aMutex, m_xInteractionHandler, comphelper::OInterfaceIteratorHelper3< class ListenerT >::next(), and sName.
|
overrideprivatevirtual |
Definition at line 667 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 3585 of file formcontroller.cxx.
References col, DBG_UNHANDLED_EXCEPTION, Exception, comphelper::OInterfaceIteratorHelper3< class ListenerT >::hasMoreElements(), m_aMutex, comphelper::OInterfaceIteratorHelper3< class ListenerT >::next(), sMessage, and SvxResId().
|
overrideprivatevirtual |
Definition at line 3690 of file formcontroller.cxx.
References comphelper::OInterfaceIteratorHelper3< class ListenerT >::hasMoreElements(), m_aMutex, and comphelper::OInterfaceIteratorHelper3< class ListenerT >::next().
|
overrideprivatevirtual |
Definition at line 2083 of file formcontroller.cxx.
References DBG_ASSERT, and m_aMutex.
|
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.
_rFirstInvalidityExplanation | if 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. |
_rxFirstInvalidModel | if the method returns <FALSE> (i.e. if there is an invalid control), this contains the control model |
Definition at line 3455 of file formcontroller.cxx.
References DBG_UNHANDLED_EXCEPTION, and Exception.
|
overrideprivatevirtual |
Definition at line 4159 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 1759 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 3895 of file formcontroller.cxx.
References aEvent, Any, DBG_UNHANDLED_EXCEPTION, Exception, comphelper::OInterfaceIteratorHelper3< class ListenerT >::hasMoreElements(), m_aMutex, m_xInteractionHandler, comphelper::OInterfaceIteratorHelper3< class ListenerT >::next(), nLength, and SvxResId().
|
overrideprivatevirtual |
Implements cppu::OPropertySetHelper.
|
overrideprivatevirtual |
Definition at line 1049 of file formcontroller.cxx.
References m_aMutex.
|
private |
Definition at line 4086 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 2698 of file formcontroller.cxx.
References m_aMutex.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 4127 of file formcontroller.cxx.
|
private |
Definition at line 1556 of file formcontroller.cxx.
References isRowSetAlive().
|
overrideprivatevirtual |
Definition at line 4021 of file formcontroller.cxx.
References FMURL_CONFIRM_DELETION, and Value.
|
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.
|
overrideprivatevirtual |
Definition at line 1116 of file formcontroller.cxx.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Definition at line 2732 of file formcontroller.cxx.
References FM_PROP_BOUNDFIELD, FM_PROP_SEARCHABLE, m_aMutex, and xModel.
|
overrideprivatevirtual |
Definition at line 2793 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 2778 of file formcontroller.cxx.
References Any, elementInserted(), and elementRemoved().
|
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.
Definition at line 4105 of file formcontroller.cxx.
References m_xComponentContext, and m_xInteractionHandler.
|
overrideprivatevirtual |
Definition at line 3727 of file formcontroller.cxx.
References aEvent, displayException(), comphelper::OInterfaceIteratorHelper3< class ListenerT >::hasMoreElements(), m_aMutex, and comphelper::OInterfaceIteratorHelper3< class ListenerT >::next().
|
overrideprivatevirtual |
Implements comphelper::OAggregationArrayUsageHelper< FormController >.
Definition at line 841 of file formcontroller.cxx.
References FM_ATTR_FILTER, FM_ATTR_FORM_OPERATIONS, FM_PROP_FILTER, FM_PROP_FORM_OPERATIONS, nPos, and Property.
|
private |
Definition at line 2318 of file formcontroller.cxx.
References DBG_ASSERT, and i.
|
overrideprivatevirtual |
Definition at line 1572 of file formcontroller.cxx.
References DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, Exception, m_aMutex, and SAL_WARN_IF.
|
overrideprivatevirtual |
Definition at line 1721 of file formcontroller.cxx.
|
overrideprivate |
Definition at line 1008 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 1064 of file formcontroller.cxx.
References Any, m_aMutex, and o3tl::make_unsigned().
|
overrideprivatevirtual |
Definition at line 2032 of file formcontroller.cxx.
References DBG_ASSERT, and m_aMutex.
|
overrideprivatevirtual |
Definition at line 2931 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 2044 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 1057 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 2871 of file formcontroller.cxx.
References m_aMutex.
|
static |
Definition at line 3440 of file formcontroller.cxx.
References DBG_UNHANDLED_EXCEPTION, and Exception.
|
overrideprivate |
Definition at line 887 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 1041 of file formcontroller.cxx.
References cppu::UnoType< typename T >::get().
|
overrideprivatevirtual |
Implements cppu::OPropertySetHelper.
|
overrideprivatevirtual |
Definition at line 915 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivate |
Definition at line 878 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 2862 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 631 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 650 of file formcontroller.cxx.
|
overrideprivatevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 859 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 2947 of file formcontroller.cxx.
References m_aMutex, and m_xInteractionHandler.
|
inlineoverrideprivatevirtual |
Implements svxform::DispatchInterceptor.
Definition at line 420 of file formcontroller.hxx.
References cppu::BaseMutex::m_aMutex.
|
overrideprivatevirtual |
Definition at line 3409 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 1884 of file formcontroller.cxx.
References DBG_ASSERT, and m_aMutex.
|
overrideprivatevirtual |
Definition at line 4067 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 927 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 834 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 3418 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 655 of file formcontroller.cxx.
|
staticprivate |
Definition at line 681 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 636 of file formcontroller.cxx.
References comphelper::concatSequences(), and cppu::OPropertySetHelper::getTypes().
|
overrideprivatevirtual |
Definition at line 4119 of file formcontroller.cxx.
References m_xInteractionHandler.
|
overrideprivatevirtual |
Definition at line 1034 of file formcontroller.cxx.
References m_aMutex.
|
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.
|
private |
adds an empty filter row to m_aFilterRows, and notifies our listeners
Definition at line 1542 of file formcontroller.cxx.
References aEvent.
|
private |
Definition at line 1511 of file formcontroller.cxx.
|
inlineprivate |
Definition at line 498 of file formcontroller.hxx.
|
private |
Definition at line 1517 of file formcontroller.cxx.
References m_aMutex.
|
private |
Definition at line 720 of file formcontroller.cxx.
References o3tl::make_unsigned().
|
private |
called when a new control is to be handled by the controller
Definition at line 2340 of file formcontroller.cxx.
References xModel.
|
private |
called when a control is not to be handled by the controller anymore
Definition at line 2379 of file formcontroller.cxx.
References xModel.
|
private |
invalidates the FormFeatures which depend on the current control
Definition at line 4145 of file formcontroller.cxx.
|
private |
sets m_xCurrentControl, plus does administrative tasks depending on it
Definition at line 2410 of file formcontroller.cxx.
|
private |
Definition at line 2427 of file formcontroller.cxx.
|
overrideprivatevirtual |
css::uno::RuntimeException |
Implements svxform::DispatchInterceptor.
Definition at line 3981 of file formcontroller.cxx.
References aURL, first, FMURL_CONFIRM_DELETION, svx::FeatureSlotTranslation::getControllerFeatureSlotIdForURL(), svx::FeatureSlotTranslation::getFormFeatureForSlotId(), m_aMutex, and nFormFeature.
|
overrideprivatevirtual |
Definition at line 3968 of file formcontroller.cxx.
References m_aMutex, and comphelper::mapKeysToSequence().
|
overrideprivatevirtual |
Definition at line 3956 of file formcontroller.cxx.
References m_aMutex.
|
private |
Definition at line 2820 of file formcontroller.cxx.
References n.
|
inlineprivate |
Definition at line 555 of file formcontroller.hxx.
References isLocked(), m_bDBConnection, and m_bFiltering.
|
inlineprivate |
Definition at line 515 of file formcontroller.hxx.
References m_bLocked.
Referenced by isListeningForChanges().
|
overrideprivatevirtual |
Definition at line 1463 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 2470 of file formcontroller.cxx.
References Any, canInsert(), canUpdate(), FM_PROP_CYCLE, FM_PROP_ISMODIFIED, FM_PROP_ISNEW, getConnection(), and m_aMutex.
|
private |
locates the control which belongs to a given model
Definition at line 3497 of file formcontroller.cxx.
References DBG_UNHANDLED_EXCEPTION, and Exception.
|
overrideprivatevirtual |
Definition at line 1485 of file formcontroller.cxx.
References DBG_UNHANDLED_EXCEPTION, and Exception.
|
overrideprivatevirtual |
Definition at line 1749 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 1754 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 1739 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 1744 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 1201 of file formcontroller.cxx.
References FM_PROP_BOUNDFIELD, FM_PROP_DYNAMIC_CONTROL_BORDER, FM_PROP_ISMODIFIED, FM_PROP_ISNEW, and m_aMutex.
|
overrideprivatevirtual |
Reimplemented from cppu::OPropertySetHelper.
Definition at line 620 of file formcontroller.cxx.
References Any.
|
overrideprivatevirtualnoexcept |
Definition at line 614 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 2573 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 2561 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 2886 of file formcontroller.cxx.
References m_aMutex.
|
private |
Definition at line 2620 of file formcontroller.cxx.
References FM_PROP_BOUNDFIELD.
|
overrideprivatevirtual |
Definition at line 3885 of file formcontroller.cxx.
References m_aMutex.
|
private |
Definition at line 2447 of file formcontroller.cxx.
References nIndex.
|
overrideprivatevirtual |
Definition at line 3776 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 956 of file formcontroller.cxx.
References aEvent, m_aMutex, pos, and SAL_WARN_IF.
|
overrideprivatevirtual |
Definition at line 872 of file formcontroller.cxx.
|
private |
Definition at line 1923 of file formcontroller.cxx.
References nPos.
|
overrideprivatevirtual |
Definition at line 1477 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 3792 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 3717 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 3757 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 4079 of file formcontroller.cxx.
References FMURL_CONFIRM_DELETION.
|
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.
_rxExistentControl | The control to replace. Must be one of the controls in our ControlContainer. |
_rxNewControl | The control which should replace the existent control. |
Definition at line 1268 of file formcontroller.cxx.
References Any, DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, Exception, and nId.
|
overrideprivatevirtual |
Definition at line 673 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 2719 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 2724 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 1017 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 1950 of file formcontroller.cxx.
References DBG_ASSERT, m_aMutex, and nCount.
|
overrideprivatevirtual |
Definition at line 2939 of file formcontroller.cxx.
References m_aMutex.
|
private |
Definition at line 2105 of file formcontroller.cxx.
References Any, DBG_UNHANDLED_EXCEPTION, Exception, FM_PROP_BOUNDFIELD, FM_PROP_ENABLED, FM_PROP_ISREADONLY, and FM_PROP_READONLY.
|
overrideprivatevirtual |
Implements cppu::OPropertySetHelper.
|
private |
Definition at line 2963 of file formcontroller.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, FM_PROP_ACTIVECOMMAND, FM_PROP_FILTER, FM_PROP_REALNAME, getConnection(), LanguageTag::getLocale(), getNumberFormats(), LocaleDataWrapper::getNumDecimalSep(), Application::GetSettings(), AllSettings::GetUILanguageTag(), Locale, m_xComponentContext, n, nCount, and xFactory.
|
overrideprivatevirtual |
Definition at line 2955 of file formcontroller.cxx.
References m_aMutex, and m_xInteractionHandler.
|
private |
Definition at line 2160 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 3382 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 1771 of file formcontroller.cxx.
References DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, Exception, FM_PROP_CONTROL_BORDER_COLOR_FOCUS, FM_PROP_CONTROL_BORDER_COLOR_INVALID, FM_PROP_CONTROL_BORDER_COLOR_MOUSE, FM_PROP_DYNAMIC_CONTROL_BORDER, Focused, Invalid, m_aMutex, m_xComponentContext, Model, and MouseHover.
|
overrideprivatevirtual |
Definition at line 4073 of file formcontroller.cxx.
References Parent.
|
overrideprivatevirtual |
Definition at line 896 of file formcontroller.cxx.
References m_aMutex.
|
private |
Definition at line 2199 of file formcontroller.cxx.
|
private |
Definition at line 3160 of file formcontroller.cxx.
References Any, FM_PROP_BOUNDFIELD, FM_PROP_SEARCHABLE, getConnection(), getNumberFormats(), i, m_xComponentContext, and xModel.
|
private |
Definition at line 2631 of file formcontroller.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, FM_PROP_DYNAMIC_CONTROL_BORDER, FM_PROP_ISMODIFIED, and FM_PROP_ISNEW.
|
private |
Definition at line 2296 of file formcontroller.cxx.
|
private |
Definition at line 2248 of file formcontroller.cxx.
|
private |
Definition at line 3297 of file formcontroller.cxx.
References FM_PROP_BOUNDFIELD, FM_PROP_DEFAULTCONTROL, FM_PROP_SEARCHABLE, i, m_xComponentContext, and sServiceName.
|
private |
Definition at line 2665 of file formcontroller.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, FM_PROP_DYNAMIC_CONTROL_BORDER, FM_PROP_ISMODIFIED, and FM_PROP_ISNEW.
|
private |
Definition at line 2307 of file formcontroller.cxx.
|
overrideprivatevirtual |
Definition at line 3431 of file formcontroller.cxx.
References comphelper::findValue(), and m_aMutex.
|
overrideprivatevirtual |
Definition at line 645 of file formcontroller.cxx.
References ServiceName, and cppu::supportsService().
|
overrideprivatevirtual |
Definition at line 1407 of file formcontroller.cxx.
References aEvent, m_aMutex, and o3tl::make_unsigned().
|
private |
Definition at line 1326 of file formcontroller.cxx.
References FM_PROP_AUTOINCREMENT, FM_PROP_BOUNDFIELD, FM_PROP_DEFAULTCONTROL, i, m_xComponentContext, and sServiceName.
|
private |
css::uno::RuntimeException |
Definition at line 2591 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 2552 of file formcontroller.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 2582 of file formcontroller.cxx.
References m_aMutex.
|
private |
update all our dispatchers
Definition at line 2525 of file formcontroller.cxx.
|
private |
Definition at line 140 of file formcontroller.hxx.
|
private |
Definition at line 174 of file formcontroller.hxx.
|
private |
Definition at line 155 of file formcontroller.hxx.
|
private |
Definition at line 163 of file formcontroller.hxx.
|
private |
Definition at line 200 of file formcontroller.hxx.
|
private |
Definition at line 138 of file formcontroller.hxx.
|
private |
Definition at line 175 of file formcontroller.hxx.
|
private |
Definition at line 146 of file formcontroller.hxx.
|
private |
Definition at line 144 of file formcontroller.hxx.
|
private |
Definition at line 167 of file formcontroller.hxx.
|
private |
Definition at line 160 of file formcontroller.hxx.
|
private |
Definition at line 156 of file formcontroller.hxx.
|
private |
Definition at line 152 of file formcontroller.hxx.
|
private |
Definition at line 157 of file formcontroller.hxx.
|
private |
Definition at line 168 of file formcontroller.hxx.
|
private |
Definition at line 172 of file formcontroller.hxx.
|
private |
Definition at line 170 of file formcontroller.hxx.
|
private |
Definition at line 142 of file formcontroller.hxx.
|
private |
Definition at line 150 of file formcontroller.hxx.
|
private |
Definition at line 148 of file formcontroller.hxx.
|
private |
Definition at line 159 of file formcontroller.hxx.
|
private |
Definition at line 173 of file formcontroller.hxx.
|
private |
Definition at line 193 of file formcontroller.hxx.
|
private |
Definition at line 195 of file formcontroller.hxx.
|
private |
Definition at line 187 of file formcontroller.hxx.
|
private |
Definition at line 188 of file formcontroller.hxx.
|
private |
Definition at line 189 of file formcontroller.hxx.
|
private |
Definition at line 191 of file formcontroller.hxx.
|
private |
Definition at line 182 of file formcontroller.hxx.
|
private |
Definition at line 183 of file formcontroller.hxx.
|
private |
Definition at line 186 of file formcontroller.hxx.
|
private |
Definition at line 185 of file formcontroller.hxx.
Referenced by isListeningForChanges().
|
private |
Definition at line 194 of file formcontroller.hxx.
|
private |
Definition at line 192 of file formcontroller.hxx.
Referenced by isListeningForChanges().
|
private |
Definition at line 184 of file formcontroller.hxx.
Referenced by isLocked().
|
private |
Definition at line 190 of file formcontroller.hxx.
|
private |
Definition at line 196 of file formcontroller.hxx.
|
private |
Definition at line 180 of file formcontroller.hxx.
|
private |
Definition at line 178 of file formcontroller.hxx.
|
private |
Definition at line 128 of file formcontroller.hxx.
|
private |
Definition at line 126 of file formcontroller.hxx.
|
private |
Definition at line 132 of file formcontroller.hxx.
|
private |
Definition at line 134 of file formcontroller.hxx.
|
private |
Definition at line 128 of file formcontroller.hxx.
|
private |
Definition at line 136 of file formcontroller.hxx.
|
private |
Definition at line 166 of file formcontroller.hxx.
|
private |
Definition at line 135 of file formcontroller.hxx.
|
private |
Definition at line 129 of file formcontroller.hxx.
|
private |
Definition at line 130 of file formcontroller.hxx.
|
private |
Definition at line 131 of file formcontroller.hxx.
|
private |
Definition at line 127 of file formcontroller.hxx.