cui/source/dialogs/SpellDialog.cxx | 2 idl/source/objects/slot.cxx | 2 include/sfx2/dispatch.hxx | 4 include/sfx2/msg.hxx | 4 include/sfx2/shell.hxx | 14 + sd/source/ui/dlg/PaneShells.cxx | 4 sfx2/source/control/dispatch.cxx | 15 - sfx2/source/control/shell.cxx | 8 sfx2/source/doc/sfxbasemodel.cxx | 2 sfx2/source/view/viewfrm.cxx | 2 svx/source/toolbars/extrusionbar.cxx | 2 svx/source/toolbars/fontworkbar.cxx | 2 sw/inc/cmdid.h | 4 sw/sdi/_annotsh.sdi | 74 +++---- sw/sdi/_basesh.sdi | 86 ++++---- sw/sdi/_beziers.sdi | 24 +- sw/sdi/_drwbase.sdi | 24 +- sw/sdi/_formsh.sdi | 4 sw/sdi/_frmsh.sdi | 88 ++++---- sw/sdi/_grfsh.sdi | 74 +++---- sw/sdi/_listsh.sdi | 22 +- sw/sdi/_mediash.sdi | 6 sw/sdi/_navsh.sdi | 4 sw/sdi/_tabsh.sdi | 90 ++++----- sw/sdi/_textsh.sdi | 348 +++++++++++++++++------------------ sw/sdi/_viewsh.sdi | 104 +++++----- sw/sdi/annotsh.sdi | 72 +++---- sw/sdi/basesh.sdi | 6 sw/sdi/beziersh.sdi | 24 +- sw/sdi/drawsh.sdi | 70 +++---- sw/sdi/drwbassh.sdi | 2 sw/sdi/drwtxtsh.sdi | 176 ++++++++--------- sw/sdi/frmsh.sdi | 4 sw/sdi/tabsh.sdi | 2 sw/sdi/textsh.sdi | 4 sw/sdi/viewsh.sdi | 14 - sw/sdi/wdrwbase.sdi | 2 sw/sdi/wrtapp.sdi | 8 sw/sdi/wtextsh.sdi | 2 sw/sdi/wviewsh.sdi | 8 sw/source/uibase/uiview/view.cxx | 10 - 41 files changed, 712 insertions(+), 705 deletions(-)
New commits: commit e9c7d259e8ed3144d4226aef7c3de351e4706b79 Author: Noel Grandin <[email protected]> Date: Tue Mar 21 20:09:21 2017 +0200 create SfxDisableFlags enum Change-Id: Ib59c7886017247977b916a8e140853fb8310582f Reviewed-on: https://gerrit.libreoffice.org/35514 Tested-by: Jenkins <[email protected]> Reviewed-by: Noel Grandin <[email protected]> diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index dabd9a02340d..7c6dfe4083c7 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -743,7 +743,7 @@ bool SpellDialog::Close() // Execute() does not work here when we are in a document with protected // section - in that case, the cursor can move from the editable field to // the protected area, and the slots get disabled because of - // SW_DISABLE_ON_PROTECTED_CURSOR (see FN_SPELL_GRAMMAR_DIALOG in .sdi). + // SfxDisableFlags::SwOnProtectedCursor (see FN_SPELL_GRAMMAR_DIALOG in .sdi). SfxViewFrame::Current()->ToggleChildWindow(rParent.GetType()); return true; diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index f5ac534ac30d..e456f5f639a5 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -754,7 +754,7 @@ void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount, rOutStm.WriteChar( ',' ) << endl; WriteTab( rOutStm, 4 ); if ( GetDisableFlags().isEmpty() ) - rOutStm.WriteCharPtr( "0" ); + rOutStm.WriteCharPtr( "SfxDisableFlags::NONE" ); else rOutStm.WriteOString( GetDisableFlags() ); diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx index 441254a5490f..2487d3e7f90e 100644 --- a/include/sfx2/dispatch.hxx +++ b/include/sfx2/dispatch.hxx @@ -165,8 +165,8 @@ public: SfxItemState QueryState( sal_uInt16 nSID, const SfxPoolItem* &rpState ); SfxItemState QueryState( sal_uInt16 nSID, css::uno::Any& rAny ); - void SetDisableFlags( sal_uInt32 nFlags ); - sal_uInt32 GetDisableFlags() const; + void SetDisableFlags( SfxDisableFlags nFlags ); + SfxDisableFlags GetDisableFlags() const; SAL_DLLPRIVATE void SetMenu_Impl(); SAL_DLLPRIVATE void Update_Impl( bool bForce = false ); // ObjectBars etc. diff --git a/include/sfx2/msg.hxx b/include/sfx2/msg.hxx index d29e21f4b4fc..13b5e25e8c41 100644 --- a/include/sfx2/msg.hxx +++ b/include/sfx2/msg.hxx @@ -156,7 +156,7 @@ SFX_DECL_TYPE(23); // for SvxSearchItem StateMethodPtr, \ (const SfxType*) &a##ItemClass##_Impl, \ 0, 0, \ - &a##aShellClass##Args_Impl[nArg0], nArgs, 0, Name \ + &a##aShellClass##Args_Impl[nArg0], nArgs, SfxDisableFlags::NONE, Name \ } #define SFX_SLOT( aShellClass, id, GroupId, ExecMethodPtr, StateMethodPtr, Flags, ItemClass ) \ @@ -220,7 +220,7 @@ public: const SfxFormalArgument* pFirstArgDef; // first formal Argument-Definition sal_uInt16 nArgDefCount; // Number of formal Arguments - long nDisableFlags; // DisableFlags that need to be + SfxDisableFlags nDisableFlags; // DisableFlags that need to be // present, so that the Slot // can be enabled const char* pUnoName; // UnoName for the Slots diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx index 9d10117f26cb..d6df8ab36717 100644 --- a/include/sfx2/shell.hxx +++ b/include/sfx2/shell.hxx @@ -123,6 +123,16 @@ namespace o3tl template<> struct typed_flags<SfxShellFeature> : is_typed_flags<SfxShellFeature, 0x3ffd> {}; } +/* Flags that are being used in the slot definitions for the disable-features */ +enum class SfxDisableFlags { + NONE, + SwOnProtectedCursor = 0x0001, + SwOnMailboxEditor = 0x0002, +}; +namespace o3tl { + template<> struct typed_flags<SfxDisableFlags> : is_typed_flags<SfxDisableFlags, 0x0003> {}; +} + typedef void (*SfxExecFunc)(SfxShell *, SfxRequest &rReq); typedef void (*SfxStateFunc)(SfxShell *, SfxItemSet &rSet); @@ -453,8 +463,8 @@ public: void SetHelpId(sal_uIntPtr nId); sal_uIntPtr GetHelpId() const; virtual SfxObjectShell* GetObjectShell(); - void SetDisableFlags( sal_uIntPtr nFlags ); - sal_uIntPtr GetDisableFlags() const; + void SetDisableFlags( SfxDisableFlags nFlags ); + SfxDisableFlags GetDisableFlags() const; virtual SfxItemSet* CreateItemSet( sal_uInt16 nId ); virtual void ApplyItemSet( sal_uInt16 nId, const SfxItemSet& rSet ); diff --git a/sd/source/ui/dlg/PaneShells.cxx b/sd/source/ui/dlg/PaneShells.cxx index d0735ac3da2f..9f7200569331 100644 --- a/sd/source/ui/dlg/PaneShells.cxx +++ b/sd/source/ui/dlg/PaneShells.cxx @@ -33,7 +33,7 @@ namespace sd { static SfxSlot aLeftImpressPaneShellSlots_Impl[] = { - { 0, 0, SfxSlotMode::NONE, 0, 0, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, 0, 0, nullptr } + { 0, 0, SfxSlotMode::NONE, 0, 0, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, 0, SfxDisableFlags::NONE, nullptr } }; SFX_IMPL_INTERFACE(LeftImpressPaneShell, SfxShell) @@ -58,7 +58,7 @@ LeftImpressPaneShell::~LeftImpressPaneShell() static SfxSlot aLeftDrawPaneShellSlots_Impl[] = { - { 0, 0, SfxSlotMode::NONE, 0, 0, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, 0, 0, nullptr } + { 0, 0, SfxSlotMode::NONE, 0, 0, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, 0, SfxDisableFlags::NONE, nullptr } }; SFX_IMPL_INTERFACE(LeftDrawPaneShell, SfxShell) diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index 37a1726b5abf..f6d19173b3c7 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -141,7 +141,7 @@ struct SfxDispatcher_Impl // 2==ReadOnlyDoc overturned sal_uInt16 nFilterCount; // Number of SIDs in pFilterSIDs const sal_uInt16* pFilterSIDs; // sorted Array of SIDs - sal_uInt32 nDisableFlags; + SfxDisableFlags nDisableFlags; bool bFlushed; std::deque< std::deque<SfxToDo_Impl> > aToDoCopyStack; }; @@ -437,7 +437,7 @@ void SfxDispatcher::Construct_Impl() xImp->nFilterEnabling = SfxSlotFilterState::DISABLED; xImp->nFilterCount = 0; xImp->pFilterSIDs = nullptr; - xImp->nDisableFlags = 0; + xImp->nDisableFlags = SfxDisableFlags::NONE; xImp->pParent = nullptr; @@ -1540,7 +1540,7 @@ void SfxDispatcher::FlushImpl() DBG_ASSERT( !xImp->aStack.empty(), "popping from empty stack" ); pPopped = xImp->aStack.back(); xImp->aStack.pop_back(); - pPopped->SetDisableFlags( 0 ); + pPopped->SetDisableFlags( SfxDisableFlags::NONE ); bFound = (pPopped == i->pCluster); // Mark the moved Shell @@ -1807,7 +1807,8 @@ bool SfxDispatcher::FindServer_(sal_uInt16 nSlot, SfxSlotServer& rServer, bool b SfxInterface *pIFace = pObjShell->GetInterface(); const SfxSlot *pSlot = pIFace->GetSlot(nSlot); - if ( pSlot && pSlot->nDisableFlags && ( pSlot->nDisableFlags & pObjShell->GetDisableFlags() ) != 0 ) + if ( pSlot && pSlot->nDisableFlags != SfxDisableFlags::NONE && + ( (int)pSlot->nDisableFlags & (int)pObjShell->GetDisableFlags() ) != 0 ) return false; if ( pSlot && !( pSlot->nFlags & SfxSlotMode::READONLYDOC ) && bReadOnly ) @@ -2148,7 +2149,7 @@ void SfxDispatcher::RemoveShell_Impl( SfxShell& rShell ) if ( xImp->aStack[n] == &rShell ) { xImp->aStack.erase( xImp->aStack.begin() + n ); - rShell.SetDisableFlags( 0 ); + rShell.SetDisableFlags( SfxDisableFlags::NONE ); rShell.DoDeactivate_Impl(xImp->pFrame, true); break; } @@ -2192,14 +2193,14 @@ bool SfxDispatcher::IsUpdated_Impl() const return xImp->bUpdated; } -void SfxDispatcher::SetDisableFlags( sal_uInt32 nFlags ) +void SfxDispatcher::SetDisableFlags( SfxDisableFlags nFlags ) { xImp->nDisableFlags = nFlags; for ( SfxShellStack_Impl::reverse_iterator it = xImp->aStack.rbegin(); it != xImp->aStack.rend(); ++it ) (*it)->SetDisableFlags( nFlags ); } -sal_uInt32 SfxDispatcher::GetDisableFlags() const +SfxDisableFlags SfxDispatcher::GetDisableFlags() const { return xImp->nDisableFlags; } diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx index 4703f7921972..a1a69b6cf169 100644 --- a/sfx2/source/control/shell.cxx +++ b/sfx2/source/control/shell.cxx @@ -61,7 +61,7 @@ struct SfxShell_Impl: public SfxBroadcaster SfxViewFrame* pFrame; // Frame, if <UI-active> SfxRepeatTarget* pRepeatTarget; // SbxObjectRef xParent; bool bActive; - sal_uIntPtr nDisableFlags; + SfxDisableFlags nDisableFlags; sal_uIntPtr nHelpId; svtools::AsynchronLink* pExecuter; svtools::AsynchronLink* pUpdater; @@ -75,7 +75,7 @@ struct SfxShell_Impl: public SfxBroadcaster , pFrame(nullptr) , pRepeatTarget(nullptr) , bActive(false) - , nDisableFlags(0) + , nDisableFlags(SfxDisableFlags::NONE) , nHelpId(0) , pExecuter(nullptr) , pUpdater(nullptr) @@ -684,12 +684,12 @@ void SfxShell::UIFeatureChanged() } } -void SfxShell::SetDisableFlags( sal_uIntPtr nFlags ) +void SfxShell::SetDisableFlags( SfxDisableFlags nFlags ) { pImpl->nDisableFlags = nFlags; } -sal_uIntPtr SfxShell::GetDisableFlags() const +SfxDisableFlags SfxShell::GetDisableFlags() const { return pImpl->nDisableFlags; } diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 5d46a2db7c60..75fe7d357dad 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -4135,7 +4135,7 @@ Reference< frame::XController2 > SAL_CALL SfxBaseModel::createViewController( ENSURE_OR_THROW( pViewShell, "invalid view shell provided by factory" ); // by setting the ViewShell it is prevented that disposing the Controller will destroy this ViewFrame also - pViewFrame->GetDispatcher()->SetDisableFlags( 0 ); + pViewFrame->GetDispatcher()->SetDisableFlags( SfxDisableFlags::NONE ); pViewFrame->SetViewShell_Impl( pViewShell ); // remember ViewID diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index a16fda352944..35ccfbebc980 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -1027,7 +1027,7 @@ void SfxViewFrame::ReleaseObjectShell_Impl() } } - GetDispatcher()->SetDisableFlags( 0 ); + GetDispatcher()->SetDisableFlags( SfxDisableFlags::NONE ); } bool SfxViewFrame::Close() diff --git a/svx/source/toolbars/extrusionbar.cxx b/svx/source/toolbars/extrusionbar.cxx index 481388ad269f..fbe92238b3bb 100644 --- a/svx/source/toolbars/extrusionbar.cxx +++ b/svx/source/toolbars/extrusionbar.cxx @@ -51,7 +51,7 @@ using namespace ::com::sun::star::uno; // tragen wir etwas ein, was hier (hoffentlich) nie vorkommt). static SfxSlot aExtrusionBarSlots_Impl[] = { - { 0, 0, SfxSlotMode::NONE, 0, 0, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, 0, 0, nullptr } + { 0, 0, SfxSlotMode::NONE, 0, 0, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, 0, SfxDisableFlags::NONE, nullptr } }; SFX_IMPL_INTERFACE(ExtrusionBar, SfxShell) diff --git a/svx/source/toolbars/fontworkbar.cxx b/svx/source/toolbars/fontworkbar.cxx index ef40b45bbe48..e2bd0ad7e518 100644 --- a/svx/source/toolbars/fontworkbar.cxx +++ b/svx/source/toolbars/fontworkbar.cxx @@ -172,7 +172,7 @@ void SetFontWorkShapeTypeState( SdrView* pSdrView, SfxItemSet& rSet ) // tragen wir etwas ein, was hier (hoffentlich) nie vorkommt). static SfxSlot aFontworkBarSlots_Impl[] = { - { 0, 0, SfxSlotMode::NONE, 0, 0, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, 0, 0, nullptr } + { 0, 0, SfxSlotMode::NONE, 0, 0, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, 0, SfxDisableFlags::NONE, nullptr } }; SFX_IMPL_INTERFACE(FontworkBar, SfxShell) diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h index 703a1cfd2532..74ac12b2c4a6 100644 --- a/sw/inc/cmdid.h +++ b/sw/inc/cmdid.h @@ -23,10 +23,6 @@ #include <sfx2/sfx.hrc> #include <unomid.h> -/* Flags that are being used in the slot definitions for the disable-features */ -#define SW_DISABLE_ON_PROTECTED_CURSOR 0x00000001 -#define SW_DISABLE_ON_MAILBOX_EDITOR 0x00000002 - #define FN_FILE SID_SW_START #define FN_EDIT (SID_SW_START + 100) #define FN_VIEW (SID_SW_START + 200) diff --git a/sw/sdi/_annotsh.sdi b/sw/sdi/_annotsh.sdi index 692c8885dac7..e3f9164ea03c 100644 --- a/sw/sdi/_annotsh.sdi +++ b/sw/sdi/_annotsh.sdi @@ -80,7 +80,7 @@ interface _Annotation [ ExecMethod = ExecClpbrd ; StateMethod = StateClpbrd ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_COPY // api: @@ -93,21 +93,21 @@ interface _Annotation [ ExecMethod = ExecClpbrd ; StateMethod = StateClpbrd ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_PASTE_SPECIAL // api: [ StateMethod = StateClpbrd ; ExecMethod = ExecClpbrd ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CLIPBOARD_FORMAT_ITEMS // status(final|play) [ StateMethod = StateClpbrd ; ExecMethod = ExecClpbrd ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_SELECTALL // api: @@ -150,7 +150,7 @@ interface _Annotation [ ExecMethod = Exec ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_FOOTNOTE_DLG // status() @@ -176,12 +176,12 @@ interface _Annotation SID_CHARMAP // api: [ ExecMethod = Exec ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_EMOJI_CONTROL [ - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LRSPACE @@ -206,202 +206,202 @@ interface _Annotation [ ExecMethod = Exec; StateMethod = GetState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_PARASPACE_DECREASE [ ExecMethod = Exec; StateMethod = GetState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_STRING [ ExecMethod = Exec ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_FONT // status() [ ExecMethod = Exec; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_FONTHEIGHT // status() [ ExecMethod = Exec; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_GROW_FONT_SIZE [ ExecMethod = Exec; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_SHRINK_FONT_SIZE [ ExecMethod = Exec; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_COLOR // api: [ ExecMethod = Exec; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_BACK_COLOR // api: [ ExecMethod = Exec; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CHAR_DLG_EFFECT [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_WEIGHT // api: [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_POSTURE // api: [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_UNDERLINE // api: [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_OVERLINE // api: [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_CONTOUR [ ExecMethod = Exec; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_SHADOWED [ ExecMethod = Exec; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_STRIKEOUT [ ExecMethod = Exec; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_LANGUAGE // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_ADJUST_LEFT // api: [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_ADJUST_CENTER // api: [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_ADJUST_RIGHT // api: [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_ADJUST_BLOCK // api: [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LINESPACE_10 // api: [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LINESPACE_15 // api: [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LINESPACE_20 // api: [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CHAR_DLG // api: [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_PARA_DLG // api: [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_SET_SUPER_SCRIPT [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_SET_SUB_SCRIPT [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_SEARCH_ITEM // status() @@ -429,7 +429,7 @@ interface _Annotation FID_SEARCH_REPLACESET // status() [ ExecMethod = ExecSearch ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] // ab hier Export = FALSE; FID_SEARCH_ON // status() diff --git a/sw/sdi/_basesh.sdi b/sw/sdi/_basesh.sdi index 12eec45a4c41..c0a4d6c3c594 100644 --- a/sw/sdi/_basesh.sdi +++ b/sw/sdi/_basesh.sdi @@ -21,7 +21,7 @@ interface BaseTextSelection SID_ATTR_BRUSH [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_DELETE // status(final|play) @@ -42,7 +42,7 @@ interface BaseTextSelection [ ExecMethod = ExecDelete ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_UNDO // status(final|play) @@ -71,14 +71,14 @@ interface BaseTextSelection [ ExecMethod = ExecUndo ; StateMethod = StateUndo ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CUT // status(final|play) [ ExecMethod = ExecClpbrd ; StateMethod = StateClpbrd ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_COPY // status(final|play) @@ -91,28 +91,28 @@ interface BaseTextSelection [ ExecMethod = ExecClpbrd ; StateMethod = StateClpbrd ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CLIPBOARD_FORMAT_ITEMS // status(final|play) [ StateMethod = StateClpbrd ; ExecMethod = ExecClpbrd ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_PASTE_UNFORMATTED // status(final|play) [ ExecMethod = ExecClpbrd ; StateMethod = StateClpbrd ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_PASTE_SPECIAL // status(final|play) [ ExecMethod = ExecClpbrd ; StateMethod = StateClpbrd ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_REPAGINATE // status(final|play) @@ -124,7 +124,7 @@ interface BaseTextSelection FN_CHANGE_DBFIELD [ ExecMethod = ExecField ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_UPDATE_FIELDS // status(final|play) @@ -203,7 +203,7 @@ interface BaseTextSelection [ Export = FALSE; StateMethod = GetState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BACKGROUND_COLOR // status() @@ -211,7 +211,7 @@ interface BaseTextSelection ExecMethod = ExecBckCol ; StateMethod = GetBckColState ; AutoUpdate ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_EDIT_REGION // status(final|play) @@ -230,82 +230,82 @@ interface BaseTextSelection [ ExecMethod = InsertRegionDialog; StateMethod = GetState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_PAGE_DLG // status(final|play) [ ExecMethod = ExecDlg ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_TITLEPAGE_DLG // status(final|play) [ ExecMethod = ExecDlg ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_PAGE_COLUMN_DLG // status(final|play) [ ExecMethod = ExecDlg ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_PAGE_SETTING_DLG [ ExecMethod = ExecDlg ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_CONVERT_TABLE_TO_TEXT [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_CONVERT_TEXT_TO_TABLE [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_CONVERT_TEXT_TABLE // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_BORDER_DLG // status(final|play) [ ExecMethod = ExecDlg ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_BORDER_INNER // status() [ StateMethod = GetBorderState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_BORDER_OUTER // status() [ ExecMethod = Execute ; StateMethod = GetBorderState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BORDER_REDUCED_MODE [ StateMethod = GetBorderState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_BACKGROUND_DLG // status(final|play) [ ExecMethod = ExecDlg ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SfxBoolItem StyleWatercanMode SID_STYLE_WATERCAN // status() @@ -319,7 +319,7 @@ interface BaseTextSelection StateMethod = StateStyle ; NoRecord; GroupId = GID_TEMPLATE ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_STYLE_UPDATE_BY_EXAMPLE // status() @@ -339,7 +339,7 @@ interface BaseTextSelection ExecMethod = Execute ; StateMethod = StateStyle ; FastCall = TRUE;// fuer Macroausfuehrung! - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_STYLE_FAMILY1 // status(fina|play) @@ -396,42 +396,42 @@ interface BaseTextSelection [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] // Methode fuer Rahmen und Objekte FN_TOOL_ANCHOR [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TOOL_ANCHOR_PARAGRAPH [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TOOL_ANCHOR_CHAR [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TOOL_ANCHOR_AT_CHAR [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TOOL_ANCHOR_FRAME [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_UPDATE_ALL_LINKS // status() @@ -446,7 +446,7 @@ interface BaseTextSelection [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE; ] @@ -454,7 +454,7 @@ interface BaseTextSelection [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE; ] @@ -462,7 +462,7 @@ interface BaseTextSelection [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE; ] @@ -470,7 +470,7 @@ interface BaseTextSelection [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE; ] @@ -478,7 +478,7 @@ interface BaseTextSelection [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE; ] @@ -486,7 +486,7 @@ interface BaseTextSelection [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE; ] @@ -494,7 +494,7 @@ interface BaseTextSelection [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE; ] @@ -502,7 +502,7 @@ interface BaseTextSelection [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE; ] @@ -510,7 +510,7 @@ interface BaseTextSelection [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE; ] @@ -518,14 +518,14 @@ interface BaseTextSelection [ ExecMethod = ExecuteGallery; StateMethod = GetGalleryState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE; ] SID_ATTR_BORDER_SHADOW // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_XFORMS_DESIGN_MODE diff --git a/sw/sdi/_beziers.sdi b/sw/sdi/_beziers.sdi index bf605ba23bc2..9c2b14cf1dfd 100644 --- a/sw/sdi/_beziers.sdi +++ b/sw/sdi/_beziers.sdi @@ -21,13 +21,13 @@ interface _Bezier : Base SID_DELETE [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_BACKSPACE [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_ESCAPE // api: @@ -40,7 +40,7 @@ interface _Bezier : Base Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_INSERT @@ -48,7 +48,7 @@ interface _Bezier : Base Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_DELETE @@ -56,7 +56,7 @@ interface _Bezier : Base Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_CUTLINE @@ -64,7 +64,7 @@ interface _Bezier : Base Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_CONVERT @@ -72,7 +72,7 @@ interface _Bezier : Base Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_EDGE @@ -80,7 +80,7 @@ interface _Bezier : Base Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_SMOOTH @@ -88,7 +88,7 @@ interface _Bezier : Base Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_SYMMTR @@ -96,7 +96,7 @@ interface _Bezier : Base Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_CLOSE @@ -104,7 +104,7 @@ interface _Bezier : Base Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_ELIMINATE_POINTS @@ -112,7 +112,7 @@ interface _Bezier : Base Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } diff --git a/sw/sdi/_drwbase.sdi b/sw/sdi/_drwbase.sdi index e3a4715855d7..eae02c15312c 100644 --- a/sw/sdi/_drwbase.sdi +++ b/sw/sdi/_drwbase.sdi @@ -22,28 +22,28 @@ interface BaseTextDrawBase [ ExecMethod = Execute; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_TRANSFORM [ ExecMethod = Execute; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_GROUP [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_UNGROUP [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ENTER_GROUP @@ -64,28 +64,28 @@ interface BaseTextDrawBase [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FRAME_TO_BOTTOM [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_UP [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_DOWN [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_DELETE @@ -93,7 +93,7 @@ interface BaseTextDrawBase ExecMethod = Execute ; StateMethod = GetState ; FastCall = FALSE ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_BACKSPACE @@ -101,7 +101,7 @@ interface BaseTextDrawBase ExecMethod = Execute ; StateMethod = GetState ; FastCall = FALSE ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] // #i68101# @@ -109,13 +109,13 @@ interface BaseTextDrawBase [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NAME_SHAPE [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } diff --git a/sw/sdi/_formsh.sdi b/sw/sdi/_formsh.sdi index b0d6b33c8009..cf4578ed0f36 100644 --- a/sw/sdi/_formsh.sdi +++ b/sw/sdi/_formsh.sdi @@ -20,12 +20,12 @@ interface BaseTextDrawForm SID_HYPERLINK_SETLINK [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_HYPERLINK_GETLINK [ StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } diff --git a/sw/sdi/_frmsh.sdi b/sw/sdi/_frmsh.sdi index 0ff541461cee..fbc58b0da453 100644 --- a/sw/sdi/_frmsh.sdi +++ b/sw/sdi/_frmsh.sdi @@ -23,7 +23,7 @@ interface BaseTextFrame Export = FALSE; ExecMethod = ExecDrawAttrArgsTextFrame; StateMethod = GetDrawAttrStateTextFrame; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_FILL_COLOR @@ -31,7 +31,7 @@ interface BaseTextFrame Export = FALSE; ExecMethod = ExecDrawAttrArgsTextFrame; StateMethod = GetDrawAttrStateTextFrame; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_FILL_GRADIENT @@ -39,7 +39,7 @@ interface BaseTextFrame Export = FALSE; ExecMethod = ExecDrawAttrArgsTextFrame; StateMethod = GetDrawAttrStateTextFrame; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_FILL_HATCH @@ -47,7 +47,7 @@ interface BaseTextFrame Export = FALSE; ExecMethod = ExecDrawAttrArgsTextFrame; StateMethod = GetDrawAttrStateTextFrame; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_FILL_BITMAP @@ -55,7 +55,7 @@ interface BaseTextFrame Export = FALSE; ExecMethod = ExecDrawAttrArgsTextFrame; StateMethod = GetDrawAttrStateTextFrame; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_FILL_TRANSPARENCE @@ -63,7 +63,7 @@ interface BaseTextFrame Export = FALSE; ExecMethod = ExecDrawAttrArgsTextFrame; StateMethod = GetDrawAttrStateTextFrame; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_FILL_FLOATTRANSPARENCE @@ -71,7 +71,7 @@ interface BaseTextFrame Export = FALSE; ExecMethod = ExecDrawAttrArgsTextFrame; StateMethod = GetDrawAttrStateTextFrame; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_COLOR_TABLE @@ -117,112 +117,112 @@ interface BaseTextFrame [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_ALIGN_VERT_BOTTOM // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_ALIGN_VERT_TOP // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_ALIGN_VERT_ROW_CENTER // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_ALIGN_VERT_ROW_BOTTOM // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_ALIGN_VERT_ROW_TOP // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_ALIGN_VERT_CHAR_CENTER // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_ALIGN_VERT_CHAR_BOTTOM // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_ALIGN_VERT_CHAR_TOP // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_ALIGN_HORZ_CENTER // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_ALIGN_HORZ_RIGHT // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_ALIGN_HORZ_LEFT // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FRAME_TO_TOP // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FRAME_TO_BOTTOM // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_UP // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_DOWN // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_TRANSFORM @@ -233,24 +233,24 @@ interface BaseTextFrame SID_ATTR_TRANSFORM_WIDTH [ StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_TRANSFORM_HEIGHT [ StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_TRANSFORM_PROTECT_SIZE [ StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_ULSPACE // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_LRSPACE // status(final|play) @@ -258,20 +258,20 @@ interface BaseTextFrame ExecMethod = Execute ; StateMethod = GetState ; GroupId = GID_FRAME; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_FRAME_DLG // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DRAW_WRAP_DLG // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FRAME_LINESTYLE // status() @@ -279,55 +279,55 @@ interface BaseTextFrame ExecMethod = ExecFrameStyle ; StateMethod = GetLineStyleState ; Export = FALSE; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FRAME_LINECOLOR // status(final|play) [ ExecMethod = ExecFrameStyle ; StateMethod = GetLineStyleState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_OBJECT_ALIGN_CENTER // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_OBJECT_ALIGN_RIGHT // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_OBJECT_ALIGN_LEFT // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_OBJECT_ALIGN_UP // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_OBJECT_ALIGN_MIDDLE // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_OBJECT_ALIGN_DOWN // status(play|final) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_FOOTNOTE_DLG // status() @@ -354,14 +354,14 @@ interface BaseTextFrame [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] // tdf#103268 FN_NAME_SHAPE [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] // Abfragefunktionen fuer ImageMaps @@ -372,7 +372,7 @@ interface BaseTextFrame ExecMethod = Execute ; StateMethod = StateInsert ; Export = False; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_BORDER // status() @@ -381,13 +381,13 @@ interface BaseTextFrame StateMethod = GetLineStyleState ; GroupId = GID_FRAME; Export = False; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_HYPERLINK_SETLINK // status() [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_HYPERLINK_GETLINK // status() @@ -398,7 +398,7 @@ interface BaseTextFrame FN_FRAME_MIRROR_ON_EVEN_PAGES // status(final|play|rec) [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } diff --git a/sw/sdi/_grfsh.sdi b/sw/sdi/_grfsh.sdi index be017d104ab2..c37d2a197edd 100644 --- a/sw/sdi/_grfsh.sdi +++ b/sw/sdi/_grfsh.sdi @@ -22,237 +22,237 @@ interface BaseTextGraphic [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FLIP_HORIZONTAL [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_GRAFIC_DLG // status(final|play) [ ExecMethod = Execute ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DRAW_WRAP_DLG // status(final|play) [ ExecMethod = Execute ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_SAVE_GRAPHIC [ ExecMethod = Execute ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_COMPRESS_GRAPHIC [ ExecMethod = Execute ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CHANGE_PICTURE [ ExecMethod = Execute ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_EXTERNAL_EDIT [ ExecMethod = Execute ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ROTATE_GRAPHIC_LEFT [ ExecMethod = ExecuteRotation ; StateMethod = GetAttrStateForRotation ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ROTATE_GRAPHIC_180 [ ExecMethod = ExecuteRotation ; StateMethod = GetAttrStateForRotation ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ROTATE_GRAPHIC_RIGHT [ ExecMethod = ExecuteRotation ; StateMethod = GetAttrStateForRotation ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_OBJECT_CROP [ ExecMethod = Execute ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_GRAPHIC // zeigt auf FN_FORMAT_GRAFIC_DLG [ ExecMethod = Execute ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TWAIN_TRANSFER [ ExecMethod = Execute ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_GRAPHIC_MIRROR_ON_EVEN_PAGES // status(final|play|rec) [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_GRAF_LUMINANCE // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_GRAF_CONTRAST // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_GRAF_RED // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_GRAF_GREEN // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_GRAF_BLUE // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_GRAF_GAMMA // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_GRAF_TRANSPARENCE // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_GRAF_INVERT // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_GRAF_MODE // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_GRFFILTER // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_GRFFILTER_INVERT // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_GRFFILTER_SMOOTH // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_GRFFILTER_SHARPEN // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_GRFFILTER_REMOVENOISE // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_GRFFILTER_SOBEL // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_GRFFILTER_MOSAIC // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_GRFFILTER_EMBOSS // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_GRFFILTER_POSTER // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_GRFFILTER_POPART // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_GRFFILTER_SEPIA // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_GRFFILTER_SOLARIZE // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_COLOR_SETTINGS // status(final|play|rec) [ ExecMethod = ExecAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } diff --git a/sw/sdi/_listsh.sdi b/sw/sdi/_listsh.sdi index d55073bc922f..a2835d575bf6 100644 --- a/sw/sdi/_listsh.sdi +++ b/sw/sdi/_listsh.sdi @@ -22,77 +22,77 @@ interface BaseTextList [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUM_BULLET_NEXT // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUM_BULLET_NONUM // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUM_BULLET_OFF // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUM_BULLET_OUTLINE_DOWN // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUM_BULLET_OUTLINE_MOVEDOWN // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUM_BULLET_OUTLINE_MOVEUP // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUM_BULLET_OUTLINE_UP // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUM_BULLET_PREV // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUM_BULLET_UP // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUM_OR_NONUM // status(play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } diff --git a/sw/sdi/_mediash.sdi b/sw/sdi/_mediash.sdi index 5a17d0e32d65..26538da3327d 100644 --- a/sw/sdi/_mediash.sdi +++ b/sw/sdi/_mediash.sdi @@ -21,19 +21,19 @@ interface BaseTextMedia SID_DELETE [ ExecMethod = ExecMedia; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_BACKSPACE [ ExecMethod = ExecMedia; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_AVMEDIA_TOOLBOX // status(final|play|rec) [ ExecMethod = ExecMedia; StateMethod = GetMediaState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } diff --git a/sw/sdi/_navsh.sdi b/sw/sdi/_navsh.sdi index 589364797645..03ecd8498544 100644 --- a/sw/sdi/_navsh.sdi +++ b/sw/sdi/_navsh.sdi @@ -13,14 +13,14 @@ interface _Navigation [ ExecMethod = Execute ; StateMethod = GetState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SfxVoidItem NavigateForward FN_NAVIGATION_FORWARD [ ExecMethod = Execute ; StateMethod = GetState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } diff --git a/sw/sdi/_tabsh.sdi b/sw/sdi/_tabsh.sdi index 554de39b5551..a42beeeeee47 100644 --- a/sw/sdi/_tabsh.sdi +++ b/sw/sdi/_tabsh.sdi @@ -58,34 +58,34 @@ interface BaseTextTable [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TABLE_VERT_CENTER [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TABLE_VERT_BOTTOM [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_SET_COL_WIDTH // status( final|play ) [ ExecMethod = Execute ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_ULSPACE // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_LRSPACE // status(final|play) @@ -93,27 +93,27 @@ interface BaseTextTable ExecMethod = Execute ; StateMethod = GetState ; GroupId = GID_TABLE; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_DELETE_COL // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_DELETE_ROW // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_DELETE_TABLE [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_GOTO_NEXT_CELL // status(final|play) [ @@ -142,7 +142,7 @@ interface BaseTextTable [ ExecMethod = Execute ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] // 2015/06 Deprecated, replaced by INSERT_COL_AFTER @@ -150,35 +150,35 @@ interface BaseTextTable [ ExecMethod = Execute ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_INSERT_COL_AFTER // status(final|play) [ ExecMethod = Execute ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_INSERT_COL_DLG // status(final|play) [ Export = FALSE ; ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_INSERT_ROW_BEFORE // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_INSERT_ROW_AFTER // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] // 2015/06 Deprecated, replaced by INSERT_ROW_AFTER @@ -186,7 +186,7 @@ interface BaseTextTable [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_INSERT_ROW_DLG // status(final|play) @@ -194,19 +194,19 @@ interface BaseTextTable Export = FALSE ; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_MERGE_CELLS // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_OPTIMIZE_TABLE [ - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; StateMethod = GetState ; ] @@ -214,21 +214,21 @@ interface BaseTextTable [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_BALANCE_CELLS // status() [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_BALANCE_ROWS // status() [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_SELECT_ALL // status(final|play) @@ -252,46 +252,46 @@ interface BaseTextTable [ ExecMethod = Execute ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_SET_ROW_HEIGHT // status(final|play) [ ExecMethod = Execute ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_ROW_SPLIT [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_OPTIMAL_HEIGHT // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_SPLIT_CELLS // status(final|play) [ ExecMethod = Execute ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_SPLIT_TABLE // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_MERGE_TABLE // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_UNSET_READ_ONLY_CELLS // status() @@ -304,7 +304,7 @@ interface BaseTextTable [ ExecMethod = Execute ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_BORDER // status() @@ -312,7 +312,7 @@ interface BaseTextTable ExecMethod = Execute ; StateMethod = GetFrameBorderState ; GroupId = GID_TABLE; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FRAME_LINESTYLE // status() @@ -320,14 +320,14 @@ interface BaseTextTable ExecMethod = ExecTableStyle ; StateMethod = GetLineStyleState ; Export = FALSE; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FRAME_LINECOLOR // status(play) [ ExecMethod = ExecTableStyle ; StateMethod = GetLineStyleState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_MODE_FIX @@ -351,50 +351,50 @@ interface BaseTextTable FN_NUMBER_FORMAT [ ExecMethod = ExecNumberFormat; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUMBER_STANDARD [ ExecMethod = ExecNumberFormat; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUMBER_TWODEC [ ExecMethod = ExecNumberFormat; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUMBER_SCIENTIFIC [ ExecMethod = ExecNumberFormat; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUMBER_DATE [ ExecMethod = ExecNumberFormat; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUMBER_TIME [ ExecMethod = ExecNumberFormat; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUMBER_CURRENCY [ ExecMethod = ExecNumberFormat; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUMBER_PERCENT [ ExecMethod = ExecNumberFormat; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] // Slots ohne Export @@ -403,25 +403,25 @@ interface BaseTextTable Export = FALSE ; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_HEADLINE_REPEAT [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_SELECT_CELL [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_DELETE_TABLE [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } diff --git a/sw/sdi/_textsh.sdi b/sw/sdi/_textsh.sdi index f365fc09993d..d691e8e216e1 100644 --- a/sw/sdi/_textsh.sdi +++ b/sw/sdi/_textsh.sdi @@ -34,146 +34,146 @@ interface BaseText FN_TXTATR_INET // status() [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_SCALEWIDTH // status() [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_ROTATED // status() [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_BRUSH_CHAR // status() [ ExecMethod = Execute ; StateMethod = GetTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_DROPCAPS [ ExecMethod = ExecParaAttrArgs ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_PARA_VERTALIGN [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_REGISTER [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_LRSPACE [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_ULSPACE [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_NUMRULE [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_OUTLINE_LEVEL [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_PAGENUM [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUMBER_NEWSTART [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUM_CONTINUE [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUMBER_NEWSTART_AT [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_LINENUMBER [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERTDOC // status(final|play|rec) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_BOOKMARK // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DELETE_BOOKMARK // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUM_BULLET_MOVEDOWN // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUM_BULLET_MOVEUP // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_EDIT_FORMULA // status() [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CHARMAP // status(final|play|rec) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_EMOJI_CONTROL [ StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_PAGEHEADER // status(final|play|rec) [ @@ -192,49 +192,49 @@ interface BaseText [ ExecMethod = ExecInsert ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_SOFT_HYPHEN // status(final|play) [ ExecMethod = ExecInsert ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_HARDHYPHEN // status() [ ExecMethod = ExecInsert ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_HARD_SPACE // status(final|play) [ ExecMethod = ExecInsert ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_RLM [ ExecMethod = ExecInsert ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_LRM [ ExecMethod = ExecInsert ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_ZWSP [ ExecMethod = ExecInsert ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_ZWNBSP [ ExecMethod = ExecInsert ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_BREAK // status(final|play) @@ -247,66 +247,66 @@ interface BaseText [ ExecMethod = ExecInsert ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_LINEBREAK // status(final|play) [ ExecMethod = ExecInsert ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_COLUMN_BREAK // status(final|play) [ ExecMethod = ExecInsert ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_BREAK_DLG // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_AVMEDIA // status(final|play) [ ExecMethod = ExecInsert; StateMethod = StateInsert ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_DIAGRAM // status(final|play) [ ExecMethod = ExecInsert ; StateMethod = StateInsert ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_SMA // status(final|play) [ ExecMethod = ExecInsert ; StateMethod = StateInsert ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_FLOATINGFRAME // status() [ ExecMethod = ExecInsert ; StateMethod = StateInsert ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_OBJECT // status(final|play) [ ExecMethod = ExecInsert ; StateMethod = StateInsert ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_TABLE // status(final|play) [ ExecMethod = ExecInsert ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_HYPERLINK_SETLINK // status() [ ExecMethod = ExecInsert ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_HYPERLINK_GETLINK // status() [ @@ -316,7 +316,7 @@ interface BaseText [ ExecMethod = Execute ; StateMethod = GetState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_HYPERLINK_DIALOG [ @@ -332,79 +332,79 @@ interface BaseText [ ExecMethod = Execute ; StateMethod = GetState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_REMOVE_HYPERLINK [ ExecMethod = Execute ; StateMethod = GetState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_COPY_HYPERLINK_LOCATION [ ExecMethod = Execute ; StateMethod = GetState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_UNSET_READ_ONLY // status(final|play) [ ExecMethod = Execute ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DELETE_SENT // status(final|play) [ ExecMethod = ExecDelete ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DELETE_BACK_SENT // status(final|play) [ ExecMethod = ExecDelete ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DELETE_WORD // status(final|play) [ ExecMethod = ExecDelete ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DELETE_BACK_WORD // status(final|play) [ ExecMethod = ExecDelete ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DELETE_LINE // status(final|play) [ ExecMethod = ExecDelete ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DELETE_BACK_LINE // status(final|play) [ ExecMethod = ExecDelete ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DELETE_PARA // status(final|play) [ ExecMethod = ExecDelete ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DELETE_BACK_PARA // status(final|play) [ ExecMethod = ExecDelete ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DELETE_WHOLE_LINE // status(final|play) [ ExecMethod = ExecDelete ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_CHAR_LEFT // status(final|play) [ @@ -646,37 +646,37 @@ interface BaseText [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_AUTOFORMAT_APPLY // status(final|play) [ ExecMethod = Execute ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_AUTOFORMAT_REDLINE_APPLY // status(final|play) [ ExecMethod = Execute ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_AUTO_CORRECT // status(final|play) [ ExecMethod = Execute ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_SORTING_DLG // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TABLE_SORT_DIALOG [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUMBERING_OUTLINE_DLG // status(final|play) @@ -688,13 +688,13 @@ interface BaseText [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_RESET // status(final|play) [ ExecMethod = Execute ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_GOTO_REFERENCE // status(final|play) [ @@ -706,63 +706,63 @@ interface BaseText [ ExecMethod = ExecEnterNum ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_BUL_NUM_RULE_INDEX // status(final|play) [ ExecMethod = ExecEnterNum ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUM_NUM_RULE_INDEX // status(final|play) [ ExecMethod = ExecEnterNum ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_OUTLINE_RULE_INDEX // status(final|play) [ StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUMBER_BULLETS // status(final|play) [ ExecMethod = ExecEnterNum ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_NUM_BULLET_ON // status(final|play) [ ExecMethod = ExecEnterNum ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_FRAME // status(final|play) [ ExecMethod = ExecInsert ; StateMethod = StateInsert ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_COLUMN // status() [ ExecMethod = ExecInsert ; StateMethod = StateInsert ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_FOOTNOTE // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_ENDNOTE // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_FOOTNOTE_DLG // status() [ @@ -791,56 +791,56 @@ interface BaseText FN_SVX_SET_NUMBER [ ExecMethod = ExecSetNumber; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_SVX_SET_BULLET [ ExecMethod = ExecSetNumber; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_SVX_SET_OUTLINE [ ExecMethod = ExecSetNumber; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_OUTLINE_BULLET // status(final|play) [ ExecMethod = ExecEnterNum ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_FOOTNOTE_DLG // status(final|play|rec) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_FIELD // status(final|play) [ ExecMethod = ExecField ; StateMethod = StateField ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; AutoUpdate ; ] FN_INSERT_DBFIELD [ ExecMethod = ExecField ; StateMethod = StateField ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_REF_FIELD [ ExecMethod = ExecField ; StateMethod = StateField ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; AutoUpdate ; ] FN_INSERT_FIELD_CTRL [ ExecMethod = ExecField ; StateMethod = StateField ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE ; ] @@ -848,14 +848,14 @@ interface BaseText [ ExecMethod = ExecField ; StateMethod = StateField ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ReadOnlyDoc = FALSE ; ] FN_INSERT_FLD_PGCOUNT [ ExecMethod = ExecField ; StateMethod = StateField ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ReadOnlyDoc = FALSE ; ] @@ -863,28 +863,28 @@ interface BaseText [ ExecMethod = ExecField ; StateMethod = StateField ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ReadOnlyDoc = FALSE ; ] FN_INSERT_FLD_DATE [ ExecMethod = ExecField ; StateMethod = StateField ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_FLD_TIME [ ExecMethod = ExecField ; StateMethod = StateField ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_FLD_AUTHOR [ ExecMethod = ExecField ; StateMethod = StateField ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_GOTO_NEXT_INPUTFLD // status(final|play) [ @@ -906,7 +906,7 @@ interface BaseText [ ExecMethod = ExecField ; StateMethod = StateField ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_GLOSSARY_DLG // status() [ @@ -917,7 +917,7 @@ interface BaseText [ ExecMethod = ExecGlossary ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_POSTIT // status(final|play) [ @@ -973,7 +973,7 @@ interface BaseText [ ExecMethod = ExecField ; StateMethod = StateField ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR|SW_DISABLE_ON_MAILBOX_EDITOR"; ... etc. - the rest is truncated _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
