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

#include <fmshimp.hxx>

Inheritance diagram for FmXFormShell:
[legend]
Collaboration diagram for FmXFormShell:
[legend]

Classes

struct  InvalidSlotInfo
 
class  SuspendPropertyTracking
 

Public Member Functions

SAL_DLLPRIVATE const css::uno::Reference< css::frame::XFrame > & getHostFrame_Lock () const
 
SAL_DLLPRIVATE const css::uno::Reference< css::sdbc::XResultSet > & getExternallyDisplayedForm_Lock () const
 
SAL_DLLPRIVATE bool didPrepareClose_Lock () const
 
SAL_DLLPRIVATE void didPrepareClose_Lock (bool bDid)
 
SAL_DLLPRIVATE FmXFormShell (FmFormShell &_rShell, SfxViewFrame *_pViewFrame)
 
SAL_DLLPRIVATE void EnableTrackProperties_Lock (bool bEnable)
 
SAL_DLLPRIVATE bool IsTrackPropertiesEnabled_Lock () const
 
SAL_DLLPRIVATE void viewActivated_Lock (FmFormView &_rCurrentView, bool _bSyncAction=false)
 
SAL_DLLPRIVATE void viewDeactivated_Lock (FmFormView &_rCurrentView, bool _bDeactivateController=true)
 
virtual SAL_DLLPRIVATE void invalidateFeatures (const ::std::vector< sal_Int32 > &_rFeatures) override
 invalidates the given features More...
 
SAL_DLLPRIVATE void ExecuteTabOrderDialog_Lock (const css::uno::Reference< css::awt::XTabControllerModel > &_rxForForm)
 
SAL_DLLPRIVATE void AddElement_Lock (const css::uno::Reference< css::uno::XInterface > &Element)
 
SAL_DLLPRIVATE void RemoveElement_Lock (const css::uno::Reference< css::uno::XInterface > &Element)
 
SAL_DLLPRIVATE void UpdateForms_Lock (bool bInvalidate)
 updates m_xForms, to be either <NULL>, if we're in alive mode, or our current page's forms collection, if in design mode More...
 
SAL_DLLPRIVATE void ExecuteSearch_Lock ()
 
SAL_DLLPRIVATE void CreateExternalView_Lock ()
 
SAL_DLLPRIVATE bool GetY2KState_Lock (sal_uInt16 &n)
 
SAL_DLLPRIVATE void SetY2KState_Lock (sal_uInt16 n)
 
SAL_DLLPRIVATE void setActiveController_Lock (const css::uno::Reference< css::form::runtime::XFormController > &_xController, bool _bNoSaveOldContent=false)
 
SAL_DLLPRIVATE const css::uno::Reference< css::form::runtime::XFormController > & getActiveController_Lock () const
 
SAL_DLLPRIVATE const css::uno::Reference< css::form::runtime::XFormController > & getActiveInternalController_Lock () const
 
SAL_DLLPRIVATE const css::uno::Reference< css::form::XForm > & getActiveForm_Lock () const
 
SAL_DLLPRIVATE const css::uno::Reference< css::form::runtime::XFormController > & getNavController_Lock () const
 
SAL_DLLPRIVATE const svx::ControllerFeaturesgetActiveControllerFeatures_Lock () const
 
SAL_DLLPRIVATE const svx::ControllerFeaturesgetNavControllerFeatures_Lock () const
 
SAL_DLLPRIVATE bool setCurrentSelection_Lock (const InterfaceBag &rSelection)
 announces a new "current selection" More...
 
SAL_DLLPRIVATE bool selectLastMarkedControls_Lock ()
 sets the new selection to the last known marked controls More...
 
void getCurrentSelection_Lock (InterfaceBag &_rSelection) const
 retrieves the current selection More...
 
SAL_DLLPRIVATE bool setCurrentSelectionFromMark_Lock (const SdrMarkList &rMarkList)
 sets a new current selection as indicated by a mark list More...
 
SAL_DLLPRIVATE const css::uno::Reference< css::form::XForm > & getCurrentForm_Lock () const
 returns the currently selected form, or the form which all currently selected controls belong to, or <NULL> More...
 
SAL_DLLPRIVATE void forgetCurrentForm_Lock ()
 
SAL_DLLPRIVATE bool onlyControlsAreMarked_Lock () const
 returns whether the last known marking contained only controls More...
 
SAL_DLLPRIVATE bool isSolelySelected_Lock (const css::uno::Reference< css::uno::XInterface > &_rxObject)
 determines whether the current selection consists of exactly the given object More...
 
SAL_DLLPRIVATE void handleMouseButtonDown_Lock (const SdrViewEvent &_rViewEvent)
 handles a MouseButtonDown event of the FmFormView More...
 
SAL_DLLPRIVATE void handleShowPropertiesRequest_Lock ()
 handles the request for showing the "Properties" More...
 
SAL_DLLPRIVATE bool hasForms_Lock () const
 
SAL_DLLPRIVATE bool hasDatabaseBar_Lock () const
 
SAL_DLLPRIVATE void ShowSelectionProperties_Lock (bool bShow)
 
SAL_DLLPRIVATE bool IsPropBrwOpen_Lock () const
 
SAL_DLLPRIVATE void DetermineSelection_Lock (const SdrMarkList &rMarkList)
 
SAL_DLLPRIVATE void SetSelection_Lock (const SdrMarkList &rMarkList)
 
SAL_DLLPRIVATE void SetSelectionDelayed_Lock ()
 
SAL_DLLPRIVATE void SetDesignMode_Lock (bool bDesign)
 
SAL_DLLPRIVATE bool GetWizardUsing_Lock () const
 
SAL_DLLPRIVATE void SetWizardUsing_Lock (bool _bUseThem)
 
SAL_DLLPRIVATE bool isInFilterMode_Lock () const
 
SAL_DLLPRIVATE void startFiltering_Lock ()
 
SAL_DLLPRIVATE void stopFiltering_Lock (bool bSave)
 
SAL_DLLPRIVATE bool canConvertCurrentSelectionToControl_Lock (const OString &rIdent)
 checks whether a given control conversion slot can be applied to the current selection More...
 
SAL_DLLPRIVATE void checkControlConversionSlotsForCurrentSelection_Lock (Menu &rMenu)
 enables or disables all conversion slots in a menu, according to the current selection More...
 
SAL_DLLPRIVATE bool executeControlConversionSlot_Lock (const css::uno::Reference< css::form::XFormComponent > &_rxObject, const OString &rIdent)
 executes a control conversion slot for a given object More...
 
SAL_DLLPRIVATE void executeControlConversionSlot_Lock (const OString &rIdent)
 executes a control conversion slot for the current selection canConvertCurrentSelectionToControl( <arg>_nSlotId</arg> ) must return <TRUE> More...
 
SAL_DLLPRIVATE void ExecuteTextAttribute_Lock (SfxRequest &_rReq)
 
SAL_DLLPRIVATE void GetTextAttributeState_Lock (SfxItemSet &_rSet)
 
SAL_DLLPRIVATE bool IsActiveControl_Lock (bool _bCountRichTextOnly) const
 
SAL_DLLPRIVATE void ForgetActiveControl_Lock ()
 
SAL_DLLPRIVATE void SetControlActivationHandler_Lock (const Link< LinkParamNone *, void > &_rHdl)
 
SAL_DLLPRIVATE::svxform::DocumentType getDocumentType_Lock () const
 classifies our host document More...
 
SAL_DLLPRIVATE bool isEnhancedForm_Lock () const
 
SAL_DLLPRIVATE bool IsReadonlyDoc_Lock () const
 determines whether our host document is currently read-only More...
 
SAL_DLLPRIVATE bool IsSelectionUpdatePending_Lock () const
 
SAL_DLLPRIVATE void ForceUpdateSelection_Lock ()
 
SAL_DLLPRIVATE css::uno::Reference< css::frame::XModel > getContextDocument_Lock () const
 
SAL_DLLPRIVATE css::uno::Reference< css::form::XForm > getInternalForm_Lock (const css::uno::Reference< css::form::XForm > &_xForm) const
 
SAL_DLLPRIVATE css::uno::Reference< css::sdbc::XResultSet > getInternalForm_Lock (const css::uno::Reference< css::sdbc::XResultSet > &_xForm) const
 
SAL_DLLPRIVATE bool HasControlFocus_Lock () const
 
SAL_DLLPRIVATE void ExecuteFormSlot_Lock (sal_Int32 _nSlot)
 execute the given form slot More...
 
SAL_DLLPRIVATE bool IsFormSlotEnabled (sal_Int32 _nSlot, css::form::runtime::FeatureState *_pCompleteState)
 determines whether the current form slot is currently enabled More...
 
- Public Member Functions inherited from utl::ConfigItem
virtual ~ConfigItem () override
 
 ConfigItem (ConfigItem const &)=default
 
 ConfigItem (ConfigItem &&)=default
 
ConfigItemoperator= (ConfigItem const &)=delete
 
ConfigItemoperator= (ConfigItem &&)=delete
 
const OUString & GetSubTreeName () const
 
bool IsModified () const
 
void Commit ()
 
ConfigItemMode GetMode () const
 
- Public Member Functions inherited from utl::ConfigurationBroadcaster
void AddListener (utl::ConfigurationListener *pListener)
 
void RemoveListener (utl::ConfigurationListener const *pListener)
 
void NotifyListeners (ConfigurationHints nHint)
 
 ConfigurationBroadcaster ()
 
 ConfigurationBroadcaster (ConfigurationBroadcaster const &)
 
virtual ~ConfigurationBroadcaster ()
 
ConfigurationBroadcasteroperator= (ConfigurationBroadcaster const &other)
 
virtual void BlockBroadcasts (bool bBlock)
 

Static Public Member Functions

static SAL_DLLPRIVATE std::unique_ptr< VclBuilderGetConversionMenu_Lock ()
 
static SAL_DLLPRIVATE bool isControlConversionSlot (const OString &rIdent)
 checks whether the given slot id denotes a control conversion slot More...
 
static SAL_DLLPRIVATE OString SlotToIdent (sal_uInt16 nSlot)
 

Private Member Functions

virtual SAL_DLLPRIVATE ~FmXFormShell () override
 
virtual SAL_DLLPRIVATE void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual SAL_DLLPRIVATE void SAL_CALL elementInserted (const css::container::ContainerEvent &rEvent) override
 
virtual SAL_DLLPRIVATE void SAL_CALL elementReplaced (const css::container::ContainerEvent &rEvent) override
 
virtual SAL_DLLPRIVATE void SAL_CALL elementRemoved (const css::container::ContainerEvent &rEvent) override
 
virtual SAL_DLLPRIVATE void SAL_CALL selectionChanged (const css::lang::EventObject &rEvent) override
 
virtual SAL_DLLPRIVATE void SAL_CALL propertyChange (const css::beans::PropertyChangeEvent &evt) override
 
virtual SAL_DLLPRIVATE void SAL_CALL formActivated (const css::lang::EventObject &rEvent) override
 
virtual SAL_DLLPRIVATE void SAL_CALL formDeactivated (const css::lang::EventObject &rEvent) override
 
virtual SAL_DLLPRIVATE void SAL_CALL disposing () override
 
SAL_DLLPRIVATE void loadForms_Lock (FmFormPage *_pPage, const LoadFormsFlags _nBehaviour)
 load or unload the forms on a page More...
 
SAL_DLLPRIVATE void smartControlReset (const css::uno::Reference< css::container::XIndexAccess > &_rxModels)
 
SAL_DLLPRIVATE void startListening_Lock ()
 
SAL_DLLPRIVATE void stopListening_Lock ()
 
SAL_DLLPRIVATE css::uno::Reference< css::awt::XControl > impl_getControl_Lock (const css::uno::Reference< css::awt::XControlModel > &i_rxModel, const FmFormObj &i_rKnownFormObj)
 
SAL_DLLPRIVATE bool impl_checkDisposed_Lock () const
 checks whenever the instance is already disposed, if so, this is reported as assertion error (debug builds only) and <TRUE> is returned. More...
 
 DECL_DLLPRIVATE_LINK (OnFoundData_Lock, FmFoundRecordInformation &, void)
 
 DECL_DLLPRIVATE_LINK (OnCanceledNotFound_Lock, FmFoundRecordInformation &, void)
 
 DECL_DLLPRIVATE_LINK (OnSearchContextRequest_Lock, FmSearchContext &, sal_uInt32)
 
 DECL_DLLPRIVATE_LINK (OnTimeOut_Lock, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (OnFirstTimeActivation_Lock, void *, void)
 
 DECL_DLLPRIVATE_LINK (OnFormsCreated_Lock, FmFormPageImpl &, void)
 
SAL_DLLPRIVATE void LoopGrids_Lock (LoopGridsSync nSync, LoopGridsFlags nWhat=LoopGridsFlags::NONE)
 
SAL_DLLPRIVATE void InvalidateSlot_Lock (sal_Int16 nId, bool bWithId)
 
SAL_DLLPRIVATE void UpdateSlot_Lock (sal_Int16 nId)
 
SAL_DLLPRIVATE void LockSlotInvalidation_Lock (bool bLock)
 
 DECL_DLLPRIVATE_LINK (OnInvalidateSlots_Lock, void *, void)
 
SAL_DLLPRIVATE void CloseExternalFormViewer_Lock ()
 
virtual SAL_DLLPRIVATE void Notify (const css::uno::Sequence< OUString > &_rPropertyNames) override
 
SAL_DLLPRIVATE void implAdjustConfigCache_Lock ()
 
SAL_DLLPRIVATE css::uno::Reference< css::awt::XControlContainer > getControlContainerForView_Lock () const
 
SAL_DLLPRIVATE void impl_defaultCurrentForm_nothrow_Lock ()
 finds and sets a default for m_xCurrentForm, if it is currently NULL More...
 
SAL_DLLPRIVATE void impl_updateCurrentForm_Lock (const css::uno::Reference< css::form::XForm > &_rxNewCurForm)
 sets m_xCurrentForm to the provided form, and updates everything which depends on the current form More...
 
SAL_DLLPRIVATE void impl_switchActiveControllerListening_Lock (const bool _bListen)
 adds or removes ourself as XEventListener at m_xActiveController More...
 
SAL_DLLPRIVATE void impl_AddElement_nothrow (const css::uno::Reference< css::uno::XInterface > &Element)
 add an element More...
 
SAL_DLLPRIVATE void impl_RemoveElement_nothrow_Lock (const css::uno::Reference< css::uno::XInterface > &Element)
 remove an element More...
 
virtual SAL_DLLPRIVATE void ImplCommit () override
 
 DECL_DLLPRIVATE_LINK (OnLoadForms_Lock, void *, void)
 

Static Private Member Functions

static SAL_DLLPRIVATE void impl_collectFormSearchContexts_nothrow_Lock (const css::uno::Reference< css::uno::XInterface > &_rxStartingPoint, const OUString &_rCurrentLevelPrefix, FmFormArray &_out_rForms,::std::vector< OUString > &_out_rNames)
 

Private Attributes

Timer m_aMarkTimer
 
std::vector< SdrObject * > m_arrSearchedControls
 
FmFormArray m_aSearchForms
 
std::vector< InvalidSlotInfom_arrInvalidSlots
 
css::form::NavigationBarMode m_eNavigate
 
std::vector< long > m_arrRelativeGridColumn
 
::osl::Mutex m_aMutex
 
ImplSVEventm_nInvalidationEvent
 
ImplSVEventm_nActivationEvent
 
::std::queue< FmLoadActionm_aLoadingPages
 
FmFormShellm_pShell
 
std::unique_ptr< svx::FmTextControlShellm_pTextShell
 
svx::ControllerFeatures m_aActiveControllerFeatures
 
svx::ControllerFeatures m_aNavControllerFeatures
 
css::uno::Reference< css::form::runtime::XFormController > m_xActiveController
 
css::uno::Reference< css::form::runtime::XFormController > m_xNavigationController
 
css::uno::Reference< css::form::XForm > m_xActiveForm
 
css::uno::Reference< css::container::XIndexAccess > m_xForms
 
InterfaceBag m_aCurrentSelection
 
css::uno::Reference< css::form::XForm > m_xCurrentForm
 the currently selected form, or the form which all currently selected controls belong to, or <NULL> More...
 
InterfaceBag m_aLastKnownMarkedControls
 the last selection/marking of controls only. Necessary to implement the "Control properties" slot More...
 
css::uno::Reference< css::awt::XControlModel > m_xLastGridFound
 
css::uno::Reference< css::frame::XFrame > m_xAttachedFrame
 
css::uno::Reference< css::frame::XController > m_xExternalViewController
 
css::uno::Reference< css::form::runtime::XFormController > m_xExtViewTriggerController
 
css::uno::Reference< css::sdbc::XResultSet > m_xExternalDisplayedForm
 
mutable::svxform::DocumentType m_eDocumentType
 
sal_Int16 m_nLockSlotInvalidation
 the type of document we're living in More...
 
bool m_bHadPropertyBrowserInDesignMode: 1
 
bool m_bTrackProperties: 1
 
bool m_bUseWizards: 1
 
bool m_bDatabaseBar: 1
 
bool m_bInActivate: 1
 
bool m_bSetFocus: 1
 
bool m_bFilterMode: 1
 
bool m_bChangingDesignMode:1
 
bool m_bPreparedClose: 1
 
bool m_bFirstActivation: 1
 

Friends

class FmFormView
 
class FmXFormView
 
class SuspendPropertyTracking
 

Additional Inherited Members

- Protected Member Functions inherited from FmXFormShell_Base_Disambiguation
 FmXFormShell_Base_Disambiguation (::osl::Mutex &_rMutex)
 
- Protected Member Functions inherited from utl::ConfigItem
 ConfigItem (const OUString &rSubTree, ConfigItemMode nMode=ConfigItemMode::NONE)
 
void SetModified ()
 
void ClearModified ()
 
css::uno::Sequence< css::uno::Any > GetProperties (const css::uno::Sequence< OUString > &rNames)
 
css::uno::Sequence< sal_BoolGetReadOnlyStates (const css::uno::Sequence< OUString > &rNames)
 
bool PutProperties (const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues)
 
bool EnableNotification (const css::uno::Sequence< OUString > &rNames, bool bEnableInternalNotification=false)
 
void DisableNotification ()
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode)
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode, ConfigNameFormat eFormat)
 
bool ClearNodeSet (const OUString &rNode)
 
bool ClearNodeElements (const OUString &rNode, css::uno::Sequence< OUString > const &rElements)
 
bool SetSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool ReplaceSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool AddNode (const OUString &rNode, const OUString &rNewNode)
 
- Protected Member Functions inherited from svx::IControllerFeatureInvalidation
 ~IControllerFeatureInvalidation ()
 

Detailed Description

Definition at line 157 of file fmshimp.hxx.

Constructor & Destructor Documentation

FmXFormShell::FmXFormShell ( FmFormShell _rShell,
SfxViewFrame _pViewFrame 
)
FmXFormShell::~FmXFormShell ( )
overrideprivatevirtual

Definition at line 652 of file fmshimp.cxx.

Member Function Documentation

void FmXFormShell::AddElement_Lock ( const css::uno::Reference< css::uno::XInterface > &  Element)
bool FmXFormShell::canConvertCurrentSelectionToControl_Lock ( const OString &  rIdent)

checks whether a given control conversion slot can be applied to the current selection

Definition at line 1267 of file fmshimp.cxx.

References aConvertSlots, DBG_ASSERT, getControlTypeByObject(), m_aCurrentSelection, nObjectTypes, OBJ_FM_CONTROL, OBJ_FM_GRID, OBJ_FM_HIDDEN, and SAL_N_ELEMENTS.

Referenced by checkControlConversionSlotsForCurrentSelection_Lock(), and executeControlConversionSlot_Lock().

void FmXFormShell::checkControlConversionSlotsForCurrentSelection_Lock ( Menu rMenu)

enables or disables all conversion slots in a menu, according to the current selection

Definition at line 1304 of file fmshimp.cxx.

References canConvertCurrentSelectionToControl_Lock(), Menu::EnableItem(), Menu::GetItemCount(), Menu::GetItemId(), Menu::GetItemIdent(), and nId.

Referenced by svxform::NavigatorTree::Command().

void FmXFormShell::CloseExternalFormViewer_Lock ( )
private
void FmXFormShell::CreateExternalView_Lock ( )
FmXFormShell::DECL_DLLPRIVATE_LINK ( OnFoundData_Lock  ,
FmFoundRecordInformation ,
void   
)
private
FmXFormShell::DECL_DLLPRIVATE_LINK ( OnCanceledNotFound_Lock  ,
FmFoundRecordInformation ,
void   
)
private
FmXFormShell::DECL_DLLPRIVATE_LINK ( OnSearchContextRequest_Lock  ,
FmSearchContext ,
sal_uInt32   
)
private
FmXFormShell::DECL_DLLPRIVATE_LINK ( OnTimeOut_Lock  ,
Timer ,
void   
)
private
FmXFormShell::DECL_DLLPRIVATE_LINK ( OnFirstTimeActivation_Lock  ,
void ,
void   
)
private
FmXFormShell::DECL_DLLPRIVATE_LINK ( OnFormsCreated_Lock  ,
FmFormPageImpl ,
void   
)
private
FmXFormShell::DECL_DLLPRIVATE_LINK ( OnInvalidateSlots_Lock  ,
void ,
void   
)
private
FmXFormShell::DECL_DLLPRIVATE_LINK ( OnLoadForms_Lock  ,
void ,
void   
)
private
void FmXFormShell::DetermineSelection_Lock ( const SdrMarkList rMarkList)
SAL_DLLPRIVATE bool FmXFormShell::didPrepareClose_Lock ( ) const
inline

Definition at line 258 of file fmshimp.hxx.

Referenced by FmFormShell::PrepareClose().

SAL_DLLPRIVATE void FmXFormShell::didPrepareClose_Lock ( bool  bDid)
inline

Definition at line 260 of file fmshimp.hxx.

virtual SAL_DLLPRIVATE void SAL_CALL FmXFormShell::disposing ( const css::lang::EventObject &  Source)
overrideprivatevirtual
void FmXFormShell::disposing ( )
overrideprivatevirtual
void SAL_CALL FmXFormShell::elementInserted ( const css::container::ContainerEvent &  rEvent)
overrideprivatevirtual
void SAL_CALL FmXFormShell::elementRemoved ( const css::container::ContainerEvent &  rEvent)
overrideprivatevirtual
void SAL_CALL FmXFormShell::elementReplaced ( const css::container::ContainerEvent &  rEvent)
overrideprivatevirtual

Definition at line 2505 of file fmshimp.cxx.

References AddElement_Lock(), impl_checkDisposed_Lock(), and RemoveElement_Lock().

SAL_DLLPRIVATE void FmXFormShell::EnableTrackProperties_Lock ( bool  bEnable)
inline
SAL_DLLPRIVATE bool FmXFormShell::executeControlConversionSlot_Lock ( const css::uno::Reference< css::form::XFormComponent > &  _rxObject,
const OString &  rIdent 
)

executes a control conversion slot for a given object

Referenced by svxform::NavigatorTree::Command(), FmFormShell::Execute(), and executeControlConversionSlot_Lock().

void FmXFormShell::executeControlConversionSlot_Lock ( const OString &  rIdent)

executes a control conversion slot for the current selection canConvertCurrentSelectionToControl( <arg>_nSlotId</arg> ) must return <TRUE>

Definition at line 1058 of file fmshimp.cxx.

References canConvertCurrentSelectionToControl_Lock(), executeControlConversionSlot_Lock(), and m_aCurrentSelection.

void FmXFormShell::ExecuteFormSlot_Lock ( sal_Int32  _nSlot)

execute the given form slot

Warning. Only a small set of slots implemented currently.

Parameters
_nSlotthe slot to execute

Definition at line 1762 of file fmshimp.cxx.

References svx::FormControllerHelper::execute(), getActiveControllerFeatures_Lock(), getActiveForm_Lock(), getInternalForm_Lock(), getNavControllerFeatures_Lock(), and m_xExternalDisplayedForm.

Referenced by FmFormShell::Execute().

void FmXFormShell::ExecuteSearch_Lock ( )
void FmXFormShell::ExecuteTabOrderDialog_Lock ( const css::uno::Reference< css::awt::XTabControllerModel > &  _rxForForm)
void FmXFormShell::ExecuteTextAttribute_Lock ( SfxRequest _rReq)

Definition at line 3854 of file fmshimp.cxx.

References DBG_TESTSOLARMUTEX, and m_pTextShell.

void FmXFormShell::ForceUpdateSelection_Lock ( )
void FmXFormShell::ForgetActiveControl_Lock ( )

Definition at line 3875 of file fmshimp.cxx.

References DBG_TESTSOLARMUTEX, and m_pTextShell.

void FmXFormShell::forgetCurrentForm_Lock ( )
void SAL_CALL FmXFormShell::formActivated ( const css::lang::EventObject &  rEvent)
overrideprivatevirtual
void SAL_CALL FmXFormShell::formDeactivated ( const css::lang::EventObject &  rEvent)
overrideprivatevirtual

Definition at line 851 of file fmshimp.cxx.

References impl_checkDisposed_Lock(), m_pTextShell, and xController.

Referenced by FmXFormView::formDeactivated().

SAL_DLLPRIVATE const css::uno::Reference< css::form::runtime::XFormController>& FmXFormShell::getActiveController_Lock ( ) const
inline
SAL_DLLPRIVATE const svx::ControllerFeatures& FmXFormShell::getActiveControllerFeatures_Lock ( ) const
inline
SAL_DLLPRIVATE const css::uno::Reference< css::form::XForm>& FmXFormShell::getActiveForm_Lock ( ) const
inline
SAL_DLLPRIVATE const css::uno::Reference< css::form::runtime::XFormController>& FmXFormShell::getActiveInternalController_Lock ( ) const
inline

Definition at line 350 of file fmshimp.hxx.

Referenced by svxform::FmFilterNavigatorWin::UpdateContent().

Reference< css::frame::XModel > FmXFormShell::getContextDocument_Lock ( ) const

Definition at line 657 of file fmshimp.cxx.

References DBG_UNHANDLED_EXCEPTION, Exception, m_xAttachedFrame, and xController.

Referenced by getDocumentType_Lock().

Reference< XControlContainer > FmXFormShell::getControlContainerForView_Lock ( ) const
private
std::unique_ptr< VclBuilder > FmXFormShell::GetConversionMenu_Lock ( )
static
SAL_DLLPRIVATE const css::uno::Reference< css::form::XForm >& FmXFormShell::getCurrentForm_Lock ( ) const
inline

returns the currently selected form, or the form which all currently selected controls belong to, or <NULL>

Definition at line 381 of file fmshimp.hxx.

Referenced by svxform::NavigatorTree::DeleteSelection(), and FmFieldWin::UpdateContent().

void FmXFormShell::getCurrentSelection_Lock ( InterfaceBag _rSelection) const

retrieves the current selection

Definition at line 1914 of file fmshimp.cxx.

References m_aCurrentSelection.

Referenced by FmPropBrw::StateChanged().

svxform::DocumentType FmXFormShell::getDocumentType_Lock ( ) const
SAL_DLLPRIVATE const css::uno::Reference< css::sdbc::XResultSet >& FmXFormShell::getExternallyDisplayedForm_Lock ( ) const
inline

Definition at line 255 of file fmshimp.hxx.

Referenced by FmFormShell::GetFormState().

SAL_DLLPRIVATE const css::uno::Reference< css::frame::XFrame >& FmXFormShell::getHostFrame_Lock ( ) const
inline

Definition at line 253 of file fmshimp.hxx.

SAL_DLLPRIVATE css::uno::Reference< css::form::XForm> FmXFormShell::getInternalForm_Lock ( const css::uno::Reference< css::form::XForm > &  _xForm) const
SAL_DLLPRIVATE css::uno::Reference< css::sdbc::XResultSet> FmXFormShell::getInternalForm_Lock ( const css::uno::Reference< css::sdbc::XResultSet > &  _xForm) const
SAL_DLLPRIVATE const css::uno::Reference< css::form::runtime::XFormController>& FmXFormShell::getNavController_Lock ( ) const
inline

Definition at line 352 of file fmshimp.hxx.

Referenced by CreateExternalView_Lock().

SAL_DLLPRIVATE const svx::ControllerFeatures& FmXFormShell::getNavControllerFeatures_Lock ( ) const
inline
void FmXFormShell::GetTextAttributeState_Lock ( SfxItemSet _rSet)

Definition at line 3861 of file fmshimp.cxx.

References DBG_TESTSOLARMUTEX, and m_pTextShell.

SAL_DLLPRIVATE bool FmXFormShell::GetWizardUsing_Lock ( ) const
inline

Definition at line 408 of file fmshimp.hxx.

Referenced by FmXFormView::onCreatedFormObject().

bool FmXFormShell::GetY2KState_Lock ( sal_uInt16 &  n)
void FmXFormShell::handleMouseButtonDown_Lock ( const SdrViewEvent _rViewEvent)
void FmXFormShell::handleShowPropertiesRequest_Lock ( )

handles the request for showing the "Properties"

Definition at line 3888 of file fmshimp.cxx.

References onlyControlsAreMarked_Lock(), and ShowSelectionProperties_Lock().

Referenced by FmFormView::KeyInput().

bool FmXFormShell::HasControlFocus_Lock ( ) const
SAL_DLLPRIVATE bool FmXFormShell::hasDatabaseBar_Lock ( ) const
inline

Definition at line 397 of file fmshimp.hxx.

Referenced by FmFormShell::HasUIFeature().

SAL_DLLPRIVATE bool FmXFormShell::hasForms_Lock ( ) const
inline

Definition at line 396 of file fmshimp.hxx.

Referenced by FmFormShell::DetermineForms().

void FmXFormShell::impl_AddElement_nothrow ( const css::uno::Reference< css::uno::XInterface > &  Element)
private

add an element

Definition at line 2565 of file fmshimp.cxx.

Referenced by AddElement_Lock().

bool FmXFormShell::impl_checkDisposed_Lock ( ) const
private
void FmXFormShell::impl_collectFormSearchContexts_nothrow_Lock ( const css::uno::Reference< css::uno::XInterface > &  _rxStartingPoint,
const OUString &  _rCurrentLevelPrefix,
FmFormArray _out_rForms,
::std::vector< OUString > &  _out_rNames 
)
staticprivate

Definition at line 2860 of file fmshimp.cxx.

References DBG_UNHANDLED_EXCEPTION, and Exception.

Referenced by ExecuteSearch_Lock().

void FmXFormShell::impl_defaultCurrentForm_nothrow_Lock ( )
private
Reference< XControl > FmXFormShell::impl_getControl_Lock ( const css::uno::Reference< css::awt::XControlModel > &  i_rxModel,
const FmFormObj i_rKnownFormObj 
)
private
void FmXFormShell::impl_RemoveElement_nothrow_Lock ( const css::uno::Reference< css::uno::XInterface > &  Element)
private

remove an element

Definition at line 2597 of file fmshimp.cxx.

References m_aCurrentSelection.

Referenced by RemoveElement_Lock().

void FmXFormShell::impl_switchActiveControllerListening_Lock ( const bool  _bListen)
private

adds or removes ourself as XEventListener at m_xActiveController

Definition at line 1797 of file fmshimp.cxx.

References m_xActiveController.

Referenced by disposing(), and setActiveController_Lock().

void FmXFormShell::impl_updateCurrentForm_Lock ( const css::uno::Reference< css::form::XForm > &  _rxNewCurForm)
private

sets m_xCurrentForm to the provided form, and updates everything which depends on the current form

Definition at line 2035 of file fmshimp.cxx.

References DlgSlotMap, FmFormShell::GetCurPage(), FmFormPage::GetImpl(), impl_checkDisposed_Lock(), InvalidateSlot_Lock(), m_pShell, m_xCurrentForm, and FmFormPageImpl::setCurForm().

Referenced by forgetCurrentForm_Lock(), impl_defaultCurrentForm_nothrow_Lock(), and setCurrentSelection_Lock().

void FmXFormShell::implAdjustConfigCache_Lock ( )
private

Definition at line 3494 of file fmshimp.cxx.

References cppu::any2bool(), utl::ConfigItem::GetProperties(), and m_bUseWizards.

Referenced by FmXFormShell(), and Notify().

void FmXFormShell::ImplCommit ( )
overrideprivatevirtual

Implements utl::ConfigItem.

Definition at line 3518 of file fmshimp.cxx.

void FmXFormShell::invalidateFeatures ( const ::std::vector< sal_Int32 > &  _rFeatures)
overridevirtual

invalidates the given features

Invalidation means that any user interface representation (such as toolbox buttons), or any dispatches associated with the features in question are potentially out-of-date, and need to be updated

Parameters
_rFeaturesIds of the features to be invalidated.

Implements svx::IControllerFeatureInvalidation.

Definition at line 807 of file fmshimp.cxx.

References SfxViewFrame::GetBindings(), SfxViewShell::GetViewFrame(), SfxShell::GetViewShell(), impl_checkDisposed_Lock(), SfxBindings::Invalidate(), and m_pShell.

void FmXFormShell::InvalidateSlot_Lock ( sal_Int16  nId,
bool  bWithId 
)
private
bool FmXFormShell::IsActiveControl_Lock ( bool  _bCountRichTextOnly) const

Definition at line 3868 of file fmshimp.cxx.

References DBG_TESTSOLARMUTEX, and m_pTextShell.

bool FmXFormShell::isControlConversionSlot ( const OString &  rIdent)
static

checks whether the given slot id denotes a control conversion slot

Definition at line 1050 of file fmshimp.cxx.

References aConvertSlots.

Referenced by svxform::NavigatorTree::Command().

bool FmXFormShell::isEnhancedForm_Lock ( ) const
bool FmXFormShell::IsFormSlotEnabled ( sal_Int32  _nSlot,
css::form::runtime::FeatureState *  _pCompleteState 
)

determines whether the current form slot is currently enabled

Definition at line 1747 of file fmshimp.cxx.

References getActiveControllerFeatures_Lock(), getNavControllerFeatures_Lock(), svx::FormControllerHelper::getState(), and svx::FormControllerHelper::isEnabled().

Referenced by FmFormShell::GetFormState().

SAL_DLLPRIVATE bool FmXFormShell::isInFilterMode_Lock ( ) const
inline

Definition at line 412 of file fmshimp.hxx.

Referenced by FmFormShell::GetState(), and FmFormShell::HasUIFeature().

bool FmXFormShell::IsPropBrwOpen_Lock ( ) const
bool FmXFormShell::IsReadonlyDoc_Lock ( ) const

determines whether our host document is currently read-only

Definition at line 716 of file fmshimp.cxx.

References FmFormShell::GetFormModel(), FmFormModel::GetObjectShell(), impl_checkDisposed_Lock(), SfxObjectShell::IsReadOnly(), SfxObjectShell::IsReadOnlyUI(), and m_pShell.

Referenced by FmFormShell::HasUIFeature().

bool FmXFormShell::IsSelectionUpdatePending_Lock ( ) const
inline

Definition at line 532 of file fmshimp.hxx.

References Task::IsActive(), and m_aMarkTimer.

Referenced by ForceUpdateSelection_Lock().

bool FmXFormShell::isSolelySelected_Lock ( const css::uno::Reference< css::uno::XInterface > &  _rxObject)

determines whether the current selection consists of exactly the given object

Definition at line 2015 of file fmshimp.cxx.

References m_aCurrentSelection.

Referenced by svxform::NavigatorTree::Command(), and FmFormShell::GetState().

SAL_DLLPRIVATE bool FmXFormShell::IsTrackPropertiesEnabled_Lock ( ) const
inline
void FmXFormShell::loadForms_Lock ( FmFormPage _pPage,
const LoadFormsFlags  _nBehaviour 
)
private
void FmXFormShell::LockSlotInvalidation_Lock ( bool  bLock)
private
void FmXFormShell::LoopGrids_Lock ( LoopGridsSync  nSync,
LoopGridsFlags  nWhat = LoopGridsFlags::NONE 
)
private
void FmXFormShell::Notify ( const css::uno::Sequence< OUString > &  _rPropertyNames)
overrideprivatevirtual
SAL_DLLPRIVATE bool FmXFormShell::onlyControlsAreMarked_Lock ( ) const
inline

returns whether the last known marking contained only controls

Definition at line 384 of file fmshimp.hxx.

Referenced by handleMouseButtonDown_Lock(), and handleShowPropertiesRequest_Lock().

void SAL_CALL FmXFormShell::propertyChange ( const css::beans::PropertyChangeEvent &  evt)
overrideprivatevirtual
void FmXFormShell::RemoveElement_Lock ( const css::uno::Reference< css::uno::XInterface > &  Element)
void SAL_CALL FmXFormShell::selectionChanged ( const css::lang::EventObject &  rEvent)
overrideprivatevirtual
bool FmXFormShell::selectLastMarkedControls_Lock ( )

sets the new selection to the last known marked controls

Definition at line 1931 of file fmshimp.cxx.

References m_aLastKnownMarkedControls, and setCurrentSelection_Lock().

Referenced by FmFormShell::Execute().

void FmXFormShell::setActiveController_Lock ( const css::uno::Reference< css::form::runtime::XFormController > &  _xController,
bool  _bNoSaveOldContent = false 
)
void FmXFormShell::SetControlActivationHandler_Lock ( const Link< LinkParamNone *, void > &  _rHdl)

Definition at line 3882 of file fmshimp.cxx.

References DBG_TESTSOLARMUTEX, and m_pTextShell.

bool FmXFormShell::setCurrentSelection_Lock ( const InterfaceBag rSelection)
bool FmXFormShell::setCurrentSelectionFromMark_Lock ( const SdrMarkList rMarkList)

sets a new current selection as indicated by a mark list

Returns
<TRUE> if and only if the to-bet-set selection was different from the previous selection

Definition at line 1920 of file fmshimp.cxx.

References SdrMarkList::GetMarkCount(), isControlList(), m_aLastKnownMarkedControls, and setCurrentSelection_Lock().

Referenced by DetermineSelection_Lock(), and svxform::NavigatorTree::ShowSelectionProperties().

void FmXFormShell::SetDesignMode_Lock ( bool  bDesign)
void FmXFormShell::SetSelection_Lock ( const SdrMarkList rMarkList)
void FmXFormShell::SetSelectionDelayed_Lock ( )
void FmXFormShell::SetWizardUsing_Lock ( bool  _bUseThem)

Definition at line 3523 of file fmshimp.cxx.

References m_bUseWizards, and utl::ConfigItem::PutProperties().

Referenced by FmFormShell::Execute().

void FmXFormShell::SetY2KState_Lock ( sal_uInt16  n)
void FmXFormShell::ShowSelectionProperties_Lock ( bool  bShow)
OString FmXFormShell::SlotToIdent ( sal_uInt16  nSlot)
static

Definition at line 1037 of file fmshimp.cxx.

References aConvertSlots, SAL_N_ELEMENTS, and SelObjectSlotMap.

Referenced by FmFormShell::Execute(), and FmFormShell::GetState().

void FmXFormShell::smartControlReset ( const css::uno::Reference< css::container::XIndexAccess > &  _rxModels)
private

Definition at line 3676 of file fmshimp.cxx.

References FM_PROP_BOUNDFIELD, and FM_PROP_CLASSID.

Referenced by loadForms_Lock().

void FmXFormShell::startFiltering_Lock ( )
void FmXFormShell::startListening_Lock ( )
private
void FmXFormShell::stopFiltering_Lock ( bool  bSave)
void FmXFormShell::stopListening_Lock ( )
private
void FmXFormShell::UpdateForms_Lock ( bool  bInvalidate)

updates m_xForms, to be either <NULL>, if we're in alive mode, or our current page's forms collection, if in design mode

Definition at line 2535 of file fmshimp.cxx.

References AddElement_Lock(), FmFormShell::DetermineForms(), FmFormShell::GetCurPage(), FmFormPage::GetForms(), impl_checkDisposed_Lock(), FmFormShell::m_bDesignMode, m_pShell, m_xForms, and RemoveElement_Lock().

Referenced by FmXFormView::onCreatedFormObject(), SetDesignMode_Lock(), FmFormView::ShowSdrPage(), viewActivated_Lock(), and viewDeactivated_Lock().

void FmXFormShell::UpdateSlot_Lock ( sal_Int16  nId)
private
void FmXFormShell::viewActivated_Lock ( FmFormView _rCurrentView,
bool  _bSyncAction = false 
)
void FmXFormShell::viewDeactivated_Lock ( FmFormView _rCurrentView,
bool  _bDeactivateController = true 
)

Friends And Related Function Documentation

friend class FmFormView
friend

Definition at line 161 of file fmshimp.hxx.

friend class FmXFormView
friend

Definition at line 162 of file fmshimp.hxx.

friend class SuspendPropertyTracking
friend

Definition at line 164 of file fmshimp.hxx.

Member Data Documentation

svx::ControllerFeatures FmXFormShell::m_aActiveControllerFeatures
private

Definition at line 198 of file fmshimp.hxx.

Referenced by disposing(), and setActiveController_Lock().

InterfaceBag FmXFormShell::m_aCurrentSelection
private
InterfaceBag FmXFormShell::m_aLastKnownMarkedControls
private

the last selection/marking of controls only. Necessary to implement the "Control properties" slot

Definition at line 216 of file fmshimp.hxx.

Referenced by selectLastMarkedControls_Lock(), and setCurrentSelectionFromMark_Lock().

::std::queue< FmLoadAction > FmXFormShell::m_aLoadingPages
private

Definition at line 193 of file fmshimp.hxx.

Referenced by disposing(), loadForms_Lock(), and viewDeactivated_Lock().

Timer FmXFormShell::m_aMarkTimer
private
::osl::Mutex FmXFormShell::m_aMutex
private

Definition at line 189 of file fmshimp.hxx.

svx::ControllerFeatures FmXFormShell::m_aNavControllerFeatures
private

Definition at line 199 of file fmshimp.hxx.

Referenced by disposing(), and startListening_Lock().

std::vector<InvalidSlotInfo> FmXFormShell::m_arrInvalidSlots
private

Definition at line 178 of file fmshimp.hxx.

Referenced by IMPL_LINK_NOARG(), and InvalidateSlot_Lock().

std::vector<long> FmXFormShell::m_arrRelativeGridColumn
private

Definition at line 187 of file fmshimp.hxx.

Referenced by IMPL_LINK().

std::vector<SdrObject*> FmXFormShell::m_arrSearchedControls
private

Definition at line 169 of file fmshimp.hxx.

Referenced by IMPL_LINK().

FmFormArray FmXFormShell::m_aSearchForms
private

Definition at line 171 of file fmshimp.hxx.

Referenced by ExecuteSearch_Lock(), and IMPL_LINK().

bool FmXFormShell::m_bChangingDesignMode
private

Definition at line 245 of file fmshimp.hxx.

Referenced by setActiveController_Lock(), and SetDesignMode_Lock().

bool FmXFormShell::m_bDatabaseBar
private

Definition at line 241 of file fmshimp.hxx.

Referenced by startListening_Lock(), and stopListening_Lock().

bool FmXFormShell::m_bFilterMode
private

Definition at line 244 of file fmshimp.hxx.

Referenced by SetDesignMode_Lock(), startFiltering_Lock(), and stopFiltering_Lock().

bool FmXFormShell::m_bFirstActivation
private

Definition at line 248 of file fmshimp.hxx.

Referenced by viewActivated_Lock().

bool FmXFormShell::m_bHadPropertyBrowserInDesignMode
private

Definition at line 234 of file fmshimp.hxx.

Referenced by SetDesignMode_Lock().

bool FmXFormShell::m_bInActivate
private

Definition at line 242 of file fmshimp.hxx.

Referenced by setActiveController_Lock().

bool FmXFormShell::m_bPreparedClose
private

Definition at line 246 of file fmshimp.hxx.

bool FmXFormShell::m_bSetFocus
private

Definition at line 243 of file fmshimp.hxx.

Referenced by setActiveController_Lock().

bool FmXFormShell::m_bTrackProperties
private

Definition at line 236 of file fmshimp.hxx.

bool FmXFormShell::m_bUseWizards
private

Definition at line 239 of file fmshimp.hxx.

Referenced by implAdjustConfigCache_Lock(), and SetWizardUsing_Lock().

mutable ::svxform::DocumentType FmXFormShell::m_eDocumentType
private

Definition at line 232 of file fmshimp.hxx.

Referenced by getDocumentType_Lock().

css::form::NavigationBarMode FmXFormShell::m_eNavigate
private

Definition at line 182 of file fmshimp.hxx.

Referenced by startListening_Lock(), and stopListening_Lock().

ImplSVEvent* FmXFormShell::m_nActivationEvent
private

Definition at line 191 of file fmshimp.hxx.

Referenced by disposing(), and viewActivated_Lock().

ImplSVEvent* FmXFormShell::m_nInvalidationEvent
private

Definition at line 190 of file fmshimp.hxx.

Referenced by disposing(), IMPL_LINK_NOARG(), and LockSlotInvalidation_Lock().

sal_Int16 FmXFormShell::m_nLockSlotInvalidation
private

the type of document we're living in

Definition at line 233 of file fmshimp.hxx.

Referenced by InvalidateSlot_Lock(), LockSlotInvalidation_Lock(), and UpdateSlot_Lock().

FmFormShell* FmXFormShell::m_pShell
private
std::unique_ptr<svx::FmTextControlShell> FmXFormShell::m_pTextShell
private
css::uno::Reference< css::form::runtime::XFormController > FmXFormShell::m_xActiveController
private
css::uno::Reference< css::form::XForm > FmXFormShell::m_xActiveForm
private
css::uno::Reference< css::frame::XFrame> FmXFormShell::m_xAttachedFrame
private
css::uno::Reference< css::form::XForm > FmXFormShell::m_xCurrentForm
private

the currently selected form, or the form which all currently selected controls belong to, or <NULL>

Definition at line 214 of file fmshimp.hxx.

Referenced by disposing(), forgetCurrentForm_Lock(), impl_defaultCurrentForm_nothrow_Lock(), and impl_updateCurrentForm_Lock().

css::uno::Reference< css::sdbc::XResultSet > FmXFormShell::m_xExternalDisplayedForm
private
css::uno::Reference< css::frame::XController > FmXFormShell::m_xExternalViewController
private
css::uno::Reference< css::form::runtime::XFormController > FmXFormShell::m_xExtViewTriggerController
private
css::uno::Reference< css::container::XIndexAccess> FmXFormShell::m_xForms
private

Definition at line 209 of file fmshimp.hxx.

Referenced by disposing(), SetY2KState_Lock(), and UpdateForms_Lock().

css::uno::Reference< css::awt::XControlModel> FmXFormShell::m_xLastGridFound
private

Definition at line 223 of file fmshimp.hxx.

Referenced by disposing(), and IMPL_LINK().

css::uno::Reference< css::form::runtime::XFormController > FmXFormShell::m_xNavigationController
private

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