LibreOffice Module svx (master)  1
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)
 
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
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

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 () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
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
 
vcl::WindowgetDialogParentWindow ()
 
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::OInterfaceContainerHelper2 m_aActivateListeners
 
::comphelper::OInterfaceContainerHelper2 m_aModifyListeners
 
::comphelper::OInterfaceContainerHelper2 m_aErrorListeners
 
::comphelper::OInterfaceContainerHelper2 m_aDeleteListeners
 
::comphelper::OInterfaceContainerHelper2 m_aRowSetApproveListeners
 
::comphelper::OInterfaceContainerHelper2 m_aParameterListeners
 
::comphelper::OInterfaceContainerHelper2 m_aFilterListeners
 
FmFormControllers 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

- Static Public Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 
- 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)
 
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 ::cppu::IPropertyArrayHelpercreateArrayHelper () const
 
- Protected Member Functions inherited from svxform::OSQLParserClient
 OSQLParserClient (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
std::unique_ptr< ::connectivity::OSQLParseNodepredicateTree (OUString &_rErrorMessage, const OUString &_rStatement, const css::uno::Reference< css::util::XNumberFormatter > &_rxFormatter, const css::uno::Reference< css::beans::XPropertySet > &_rxField) const
 
- Protected Member Functions inherited from svxform::OParseContextClient
 OParseContextClient ()
 
virtual ~OParseContextClient ()
 
const OSystemParseContextgetParseContext () const
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from cppu::OPropertySetHelper
OBroadcastHelperrBHelper
 
OMultiTypeInterfaceContainerHelperInt32 aBoundLC
 
OMultiTypeInterfaceContainerHelperInt32 aVetoableLC
 
Impl *const m_pReserved
 
- Protected Attributes inherited from svxform::OSQLParserClient
std::shared_ptr< ::connectivity::OSQLParserm_pParser
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< class >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 127 of file formcontroller.hxx.

Member Typedef Documentation

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

Definition at line 136 of file formcontroller.hxx.

Constructor & Destructor Documentation

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

Definition at line 574 of file formcontroller.cxx.

References m_aMutex.

Member Function Documentation

void SAL_CALL svxform::FormController::acquire ( )
throw (
)
overrideprivatevirtual

Definition at line 606 of file formcontroller.cxx.

void svxform::FormController::activateFirst ( )
overrideprivatevirtual

Definition at line 2855 of file formcontroller.cxx.

References DBG_ASSERT, and m_aMutex.

void svxform::FormController::activateLast ( )
overrideprivatevirtual

Definition at line 2866 of file formcontroller.cxx.

References DBG_ASSERT, and m_aMutex.

void svxform::FormController::activateTabOrder ( )
overrideprivatevirtual

Definition at line 2108 of file formcontroller.cxx.

References DBG_ASSERT, and m_aMutex.

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

Definition at line 2895 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 2910 of file formcontroller.cxx.

References m_aMutex, makeAny(), and nPos.

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

Definition at line 3896 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 3786 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 865 of file formcontroller.cxx.

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.

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

Definition at line 3805 of file formcontroller.cxx.

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

Definition at line 3727 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 3767 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 4072 of file formcontroller.cxx.

References FMURL_CONFIRM_DELETION.

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

Definition at line 1910 of file formcontroller.cxx.

References makeAny(), and nPos.

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

Definition at line 994 of file formcontroller.cxx.

References m_aMutex.

sal_Bool SAL_CALL svxform::FormController::approveCursorMove ( const css::lang::EventObject &  event)
overrideprivatevirtual
sal_Bool SAL_CALL svxform::FormController::approveParameter ( const css::form::DatabaseParameterEvent &  aEvent)
overrideprivatevirtual
sal_Bool SAL_CALL svxform::FormController::approveReset ( const css::lang::EventObject &  rEvent)
overrideprivatevirtual

Definition at line 665 of file formcontroller.cxx.

sal_Bool SAL_CALL svxform::FormController::approveRowChange ( const css::sdb::RowChangeEvent &  event)
overrideprivatevirtual
sal_Bool SAL_CALL svxform::FormController::approveRowSetChange ( const css::lang::EventObject &  event)
overrideprivatevirtual
void svxform::FormController::autoTabOrder ( )
overrideprivatevirtual

Definition at line 2097 of file formcontroller.cxx.

References DBG_ASSERT, and m_aMutex.

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 3475 of file formcontroller.cxx.

References DBG_UNHANDLED_EXCEPTION, and Exception.

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

Definition at line 4181 of file formcontroller.cxx.

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

Definition at line 1773 of file formcontroller.cxx.

sal_Bool SAL_CALL svxform::FormController::confirmDelete ( const css::sdb::RowChangeEvent &  aEvent)
overrideprivatevirtual
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
Reference< XEnumeration > SAL_CALL svxform::FormController::createEnumeration ( )
overrideprivatevirtual

Definition at line 1046 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 4109 of file formcontroller.cxx.

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

Definition at line 2714 of file formcontroller.cxx.

References m_aMutex.

svxform::FormController::DECL_LINK ( OnActivateTabOrder  ,
Timer ,
void   
)
private
svxform::FormController::DECL_LINK ( OnInvalidateFeatures  ,
Timer ,
void   
)
private
svxform::FormController::DECL_LINK ( OnLoad  ,
void ,
void   
)
private
svxform::FormController::DECL_LINK ( OnToggleAutoFields  ,
void ,
void   
)
private
svxform::FormController::DECL_LINK ( OnActivated  ,
void ,
void   
)
private
svxform::FormController::DECL_LINK ( OnDeactivated  ,
void ,
void   
)
private
void svxform::FormController::deleteInterceptor ( const css::uno::Reference< css::frame::XDispatchProviderInterception > &  _xInterception)
private

Definition at line 4150 of file formcontroller.cxx.

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

Definition at line 1563 of file formcontroller.cxx.

References isRowSetAlive().

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

Definition at line 4044 of file formcontroller.cxx.

References FMURL_CONFIRM_DELETION, and Value.

void svxform::FormController::disposeAllFeaturesAndDispatchers ( )
private

disposes all dispatchers in m_aFeatureDispatchers, and empties m_aFeatureDispatchers

Definition at line 1096 of file formcontroller.cxx.

References DBG_UNHANDLED_EXCEPTION, and Exception.

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

Definition at line 1113 of file formcontroller.cxx.

References dispose(), m_aMutex, and nPos.

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

Definition at line 2748 of file formcontroller.cxx.

References FM_PROP_BOUNDFIELD, FM_PROP_SEARCHABLE, m_aMutex, and xModel.

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

Definition at line 2809 of file formcontroller.cxx.

References m_aMutex, and xModel.

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

Definition at line 2794 of file formcontroller.cxx.

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

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 4128 of file formcontroller.cxx.

References VCLUnoHelper::GetInterface(), and m_xInteractionHandler.

void SAL_CALL svxform::FormController::errorOccured ( const css::sdb::SQLErrorEvent &  aEvent)
overrideprivatevirtual
void svxform::FormController::fillProperties ( css::uno::Sequence< css::beans::Property > &  _rProps,
css::uno::Sequence< css::beans::Property > &  _rAggregateProps 
) const
overrideprivatevirtual
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 2332 of file formcontroller.cxx.

References DBG_ASSERT, and i.

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

Definition at line 1580 of file formcontroller.cxx.

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

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

Definition at line 1733 of file formcontroller.cxx.

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

Definition at line 1005 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 1061 of file formcontroller.cxx.

References Any, m_aMutex, and makeAny().

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

Definition at line 2046 of file formcontroller.cxx.

References DBG_ASSERT, and m_aMutex.

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

Definition at line 2947 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 2058 of file formcontroller.cxx.

References m_aMutex, and xModel.

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

Definition at line 1054 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 2887 of file formcontroller.cxx.

References m_aMutex.

vcl::Window * svxform::FormController::getDialogParentWindow ( )
private
sal_Int32 SAL_CALL svxform::FormController::getDisjunctiveTerms ( )
overrideprivate

Definition at line 886 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 1038 of file formcontroller.cxx.

References cppu::UnoType< class >::get().

virtual void SAL_CALL svxform::FormController::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
overrideprivatevirtual
Reference< XControl > svxform::FormController::getFilterComponent ( ::sal_Int32  Component)
overrideprivatevirtual

Definition at line 914 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 877 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 2878 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 629 of file formcontroller.cxx.

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

Definition at line 648 of file formcontroller.cxx.

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

Implements cppu::OPropertySetHelper.

Definition at line 858 of file formcontroller.cxx.

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

Definition at line 2963 of file formcontroller.cxx.

References m_aMutex, and m_xInteractionHandler.

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

Implements svxform::DispatchInterceptor.

Definition at line 422 of file formcontroller.hxx.

References cppu::BaseMutex::m_aMutex.

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

Definition at line 3425 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 1898 of file formcontroller.cxx.

References DBG_ASSERT, and m_aMutex.

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

Definition at line 4090 of file formcontroller.cxx.

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

Definition at line 926 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 833 of file formcontroller.cxx.

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

Definition at line 3434 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 653 of file formcontroller.cxx.

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

Definition at line 679 of file formcontroller.cxx.

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

Definition at line 4142 of file formcontroller.cxx.

References m_xInteractionHandler.

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

Definition at line 1031 of file formcontroller.cxx.

References m_aMutex.

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.

our mutex is locked

Definition at line 1536 of file formcontroller.cxx.

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

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

Definition at line 1548 of file formcontroller.cxx.

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

Definition at line 1514 of file formcontroller.cxx.

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

Definition at line 500 of file formcontroller.hxx.

void svxform::FormController::impl_onModify ( )
private

Definition at line 1521 of file formcontroller.cxx.

References m_aMutex.

void svxform::FormController::impl_setTextOnAllFilter_throw ( )
private

Definition at line 718 of file formcontroller.cxx.

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 2356 of file formcontroller.cxx.

References xModel.

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 2395 of file formcontroller.cxx.

References xModel.

void svxform::FormController::implInvalidateCurrentControlDependentFeatures ( )
private

invalidates the FormFeatures which depend on the current control

Definition at line 4168 of file formcontroller.cxx.

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 2426 of file formcontroller.cxx.

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

Definition at line 2443 of file formcontroller.cxx.

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

Definition at line 3991 of file formcontroller.cxx.

References m_aMutex, and comphelper::mapKeysToSequence().

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

Definition at line 3977 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 2836 of file formcontroller.cxx.

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

Definition at line 560 of file formcontroller.hxx.

References isLocked(), m_bDBConnection, and m_bFiltering.

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

Definition at line 517 of file formcontroller.hxx.

References m_bLocked.

Referenced by isListeningForChanges().

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

Definition at line 1462 of file formcontroller.cxx.

void svxform::FormController::loaded ( const css::lang::EventObject &  rEvent)
overrideprivatevirtual
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 3517 of file formcontroller.cxx.

References DBG_UNHANDLED_EXCEPTION, and Exception.

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

Definition at line 1487 of file formcontroller.cxx.

References DBG_UNHANDLED_EXCEPTION, and Exception.

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

Definition at line 1761 of file formcontroller.cxx.

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

Definition at line 1767 of file formcontroller.cxx.

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

Definition at line 1749 of file formcontroller.cxx.

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

Definition at line 1755 of file formcontroller.cxx.

void SAL_CALL svxform::FormController::propertyChange ( const css::beans::PropertyChangeEvent &  evt)
overrideprivatevirtual
Any SAL_CALL svxform::FormController::queryInterface ( const css::uno::Type &  type)
overrideprivatevirtual

Reimplemented from cppu::OPropertySetHelper.

Definition at line 618 of file formcontroller.cxx.

References Any.

void SAL_CALL svxform::FormController::release ( )
throw (
)
overrideprivatevirtual

Definition at line 612 of file formcontroller.cxx.

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

Definition at line 2589 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 2577 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 2902 of file formcontroller.cxx.

References m_aMutex.

void svxform::FormController::removeBoundFieldListener ( )
private

Definition at line 2636 of file formcontroller.cxx.

References FM_PROP_BOUNDFIELD.

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

Definition at line 3905 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 2463 of file formcontroller.cxx.

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

Definition at line 3795 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 953 of file formcontroller.cxx.

References m_aMutex, and SAL_WARN_IF.

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

Definition at line 871 of file formcontroller.cxx.

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

Definition at line 1937 of file formcontroller.cxx.

References nPos.

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

Definition at line 1478 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 3811 of file formcontroller.cxx.

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

Definition at line 3736 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 3776 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 4102 of file formcontroller.cxx.

References FMURL_CONFIRM_DELETION.

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 1265 of file formcontroller.cxx.

References DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, Exception, makeAny(), and nId.

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

Definition at line 671 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 2735 of file formcontroller.cxx.

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

Definition at line 2740 of file formcontroller.cxx.

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

Definition at line 1014 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 1964 of file formcontroller.cxx.

References DBG_ASSERT, and m_aMutex.

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

Definition at line 2955 of file formcontroller.cxx.

References m_aMutex.

void svxform::FormController::setControlLock ( const css::uno::Reference< css::awt::XControl > &  xControl)
private
virtual void SAL_CALL svxform::FormController::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overrideprivatevirtual
void svxform::FormController::setFilter ( ::std::vector< FmFieldInfo > &  rFieldInfos)
private
void SAL_CALL svxform::FormController::setInteractionHandler ( const css::uno::Reference< css::task::XInteractionHandler > &  _interactionHandler)
overrideprivatevirtual

Definition at line 2971 of file formcontroller.cxx.

References m_aMutex, and m_xInteractionHandler.

void svxform::FormController::setLocks ( )
private

Definition at line 2174 of file formcontroller.cxx.

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

Definition at line 3398 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 4096 of file formcontroller.cxx.

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

Definition at line 895 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 2213 of file formcontroller.cxx.

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

Definition at line 2310 of file formcontroller.cxx.

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

Definition at line 2262 of file formcontroller.cxx.

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

Definition at line 2321 of file formcontroller.cxx.

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

Definition at line 3448 of file formcontroller.cxx.

References comphelper::findValue(), and m_aMutex.

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

Definition at line 643 of file formcontroller.cxx.

References cppu::supportsService().

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

Definition at line 1405 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 2607 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 2568 of file formcontroller.cxx.

References m_aMutex.

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

Definition at line 2598 of file formcontroller.cxx.

References m_aMutex.

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

update all our dispatchers

Definition at line 2541 of file formcontroller.cxx.

Member Data Documentation

::comphelper::OInterfaceContainerHelper2 svxform::FormController::m_aActivateListeners
private

Definition at line 152 of file formcontroller.hxx.

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

Definition at line 179 of file formcontroller.hxx.

FmFormControllers svxform::FormController::m_aChildren
private

Definition at line 160 of file formcontroller.hxx.

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

Definition at line 168 of file formcontroller.hxx.

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

Definition at line 205 of file formcontroller.hxx.

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

Definition at line 150 of file formcontroller.hxx.

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

Definition at line 180 of file formcontroller.hxx.

::comphelper::OInterfaceContainerHelper2 svxform::FormController::m_aDeleteListeners
private

Definition at line 152 of file formcontroller.hxx.

::comphelper::OInterfaceContainerHelper2 svxform::FormController::m_aErrorListeners
private

Definition at line 152 of file formcontroller.hxx.

DispatcherContainer svxform::FormController::m_aFeatureDispatchers
private

Definition at line 172 of file formcontroller.hxx.

Timer svxform::FormController::m_aFeatureInvalidationTimer
private

Definition at line 165 of file formcontroller.hxx.

FilterComponents svxform::FormController::m_aFilterComponents
private

Definition at line 161 of file formcontroller.hxx.

::comphelper::OInterfaceContainerHelper2 svxform::FormController::m_aFilterListeners
private

Definition at line 152 of file formcontroller.hxx.

FmFilterRows svxform::FormController::m_aFilterRows
private

Definition at line 162 of file formcontroller.hxx.

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

Definition at line 173 of file formcontroller.hxx.

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

Definition at line 177 of file formcontroller.hxx.

OUString svxform::FormController::m_aMode
private

Definition at line 175 of file formcontroller.hxx.

::comphelper::OInterfaceContainerHelper2 svxform::FormController::m_aModifyListeners
private

Definition at line 152 of file formcontroller.hxx.

::comphelper::OInterfaceContainerHelper2 svxform::FormController::m_aParameterListeners
private

Definition at line 152 of file formcontroller.hxx.

::comphelper::OInterfaceContainerHelper2 svxform::FormController::m_aRowSetApproveListeners
private

Definition at line 152 of file formcontroller.hxx.

Idle svxform::FormController::m_aTabActivationIdle
private

Definition at line 164 of file formcontroller.hxx.

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

Definition at line 178 of file formcontroller.hxx.

bool svxform::FormController::m_bAttachEvents
private

Definition at line 198 of file formcontroller.hxx.

bool svxform::FormController::m_bAttemptedHandlerCreation
private

Definition at line 200 of file formcontroller.hxx.

bool svxform::FormController::m_bCanInsert
private

Definition at line 192 of file formcontroller.hxx.

bool svxform::FormController::m_bCanUpdate
private

Definition at line 193 of file formcontroller.hxx.

bool svxform::FormController::m_bCommitLock
private

Definition at line 194 of file formcontroller.hxx.

bool svxform::FormController::m_bControlsSorted
private

Definition at line 196 of file formcontroller.hxx.

bool svxform::FormController::m_bCurrentRecordModified
private

Definition at line 187 of file formcontroller.hxx.

bool svxform::FormController::m_bCurrentRecordNew
private

Definition at line 188 of file formcontroller.hxx.

bool svxform::FormController::m_bCycle
private

Definition at line 191 of file formcontroller.hxx.

bool svxform::FormController::m_bDBConnection
private

Definition at line 190 of file formcontroller.hxx.

Referenced by isListeningForChanges().

bool svxform::FormController::m_bDetachEvents
private

Definition at line 199 of file formcontroller.hxx.

bool svxform::FormController::m_bFiltering
private

Definition at line 197 of file formcontroller.hxx.

Referenced by isListeningForChanges().

bool svxform::FormController::m_bLocked
private

Definition at line 189 of file formcontroller.hxx.

Referenced by isLocked().

bool svxform::FormController::m_bModified
private

Definition at line 195 of file formcontroller.hxx.

bool svxform::FormController::m_bSuspendFilterTextListening
private

Definition at line 201 of file formcontroller.hxx.

sal_Int32 svxform::FormController::m_nCurrentFilterPosition
private

Definition at line 185 of file formcontroller.hxx.

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

Definition at line 183 of file formcontroller.hxx.

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

Definition at line 140 of file formcontroller.hxx.

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

Definition at line 138 of file formcontroller.hxx.

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

Definition at line 144 of file formcontroller.hxx.

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

Definition at line 146 of file formcontroller.hxx.

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

Definition at line 140 of file formcontroller.hxx.

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

Definition at line 148 of file formcontroller.hxx.

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

Definition at line 171 of file formcontroller.hxx.

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

Definition at line 147 of file formcontroller.hxx.

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

Definition at line 141 of file formcontroller.hxx.

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

Definition at line 142 of file formcontroller.hxx.

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

Definition at line 143 of file formcontroller.hxx.

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

Definition at line 139 of file formcontroller.hxx.


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