diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-16 21:46:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-18 09:54:18 +0100 |
commit | ea37507b9d9afbc747af04af5d9a27bf1a9f3727 (patch) | |
tree | d341ef71ad0f4247a4e9b3bcfefbd92d6c5b8324 /svx/source/inc | |
parent | 0d2a607a849e3f1b51092c7d96bc5529420cfab2 (diff) |
convert RID_FMSHELL_CONVERSIONMENU menu to .ui
Change-Id: I6b38611063690a4038862f3a2810dd3c695b62d2
Diffstat (limited to 'svx/source/inc')
-rw-r--r-- | svx/source/inc/fmshimp.hxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx index 6a92aa8149eb..c8ed5a1d72cb 100644 --- a/svx/source/inc/fmshimp.hxx +++ b/svx/source/inc/fmshimp.hxx @@ -416,21 +416,21 @@ public: SAL_DLLPRIVATE void startFiltering(); SAL_DLLPRIVATE void stopFiltering(bool bSave); - SAL_DLLPRIVATE static VclPtr<PopupMenu> GetConversionMenu(); + SAL_DLLPRIVATE static VclBuilder* GetConversionMenu(); // ein Menue, das alle ControlConversion-Eintraege enthaelt /// checks whether a given control conversion slot can be applied to the current selection - SAL_DLLPRIVATE bool canConvertCurrentSelectionToControl( sal_Int16 nConversionSlot ); + SAL_DLLPRIVATE bool canConvertCurrentSelectionToControl(const OString& rIdent); /// enables or disables all conversion slots in a menu, according to the current selection SAL_DLLPRIVATE void checkControlConversionSlotsForCurrentSelection( Menu& rMenu ); /// executes a control conversion slot for a given object - SAL_DLLPRIVATE bool executeControlConversionSlot( const css::uno::Reference< css::form::XFormComponent >& _rxObject, sal_uInt16 _nSlotId ); + SAL_DLLPRIVATE bool executeControlConversionSlot(const css::uno::Reference< css::form::XFormComponent >& _rxObject, const OString& rIdent); /** executes a control conversion slot for the current selection @precond canConvertCurrentSelectionToControl( <arg>_nSlotId</arg> ) must return <TRUE/> */ - SAL_DLLPRIVATE void executeControlConversionSlot( sal_uInt16 _nSlotId ); + SAL_DLLPRIVATE void executeControlConversionSlot(const OString& rIdent); /// checks whether the given slot id denotes a control conversion slot - SAL_DLLPRIVATE static bool isControlConversionSlot( sal_uInt16 _nSlotId ); + SAL_DLLPRIVATE static bool isControlConversionSlot(const OString& rIdent); SAL_DLLPRIVATE void ExecuteTextAttribute( SfxRequest& _rReq ); SAL_DLLPRIVATE void GetTextAttributeState( SfxItemSet& _rSet ); @@ -526,6 +526,8 @@ public: */ SAL_DLLPRIVATE bool IsFormSlotEnabled( sal_Int32 _nSlot, css::form::runtime::FeatureState* _pCompleteState ); + SAL_DLLPRIVATE static OString SlotToIdent(sal_uInt16 nSlot); + protected: DECL_DLLPRIVATE_LINK( OnLoadForms, void*, void ); }; |