diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2017-03-21 20:09:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-22 06:46:10 +0000 |
commit | e9c7d259e8ed3144d4226aef7c3de351e4706b79 (patch) | |
tree | 155034670744a756c45d122652092871281c82bf | |
parent | bdf41d8aeb53a298780f3633a76d71598a695bab (diff) |
create SfxDisableFlags enum
Change-Id: Ib59c7886017247977b916a8e140853fb8310582f
Reviewed-on: https://gerrit.libreoffice.org/35514
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
41 files changed, 712 insertions, 705 deletions
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"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor|SfxDisableFlags::SwOnMailboxEditor"; ] FN_JAVAEDIT // status(final|play) [ @@ -1118,56 +1118,56 @@ interface BaseText [ ExecMethod = ExecDB ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE ; ] SID_ATTR_PARA_ADJUST_LEFT [ ExecMethod = ExecParaAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE ; ] SID_ATTR_PARA_ADJUST_RIGHT [ ExecMethod = ExecParaAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE ; ] SID_ATTR_PARA_ADJUST_CENTER [ ExecMethod = ExecParaAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE ; ] SID_ATTR_PARA_ADJUST_BLOCK [ ExecMethod = ExecParaAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE ; ] SID_ATTR_PARA_LINESPACE_10 [ ExecMethod = ExecParaAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE ; ] SID_ATTR_PARA_LINESPACE_15 [ ExecMethod = ExecParaAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE ; ] SID_ATTR_PARA_LINESPACE_20 [ ExecMethod = ExecParaAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; Export = FALSE ; ] SID_ATTR_PARA_ADJUST // status(final|play) @@ -1175,7 +1175,7 @@ interface BaseText // (0=links, 1=rechts, 2=block, 3=zentriert, )" ExecMethod = ExecParaAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LINESPACE // status(final|play) [ @@ -1185,48 +1185,48 @@ interface BaseText // INT16 InterSpace MID_INTER_SPACE; ExecMethod = ExecParaAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_SPLIT // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_KEEP // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_WIDOWS // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_ORPHANS // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_PAGEBREAK // status(final|play) [ ExecMethod = ExecParaAttrArgs ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_MODEL // status(final|play) [ ExecMethod = ExecParaAttrArgs ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_PARA_DLG // status(final|play) [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LRSPACE [ @@ -1241,367 +1241,367 @@ interface BaseText [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INC_INDENT [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DEC_INDENT_OFFSET [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INC_INDENT_OFFSET [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_DROPCAPS // status(final|play) [ ExecMethod = Execute ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DROP_TEXT [ ExecMethod = Execute; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DROP_CHAR_STYLE_NAME [ ExecMethod = ExecParaAttrArgs; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_HYPHENZONE // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_RELIEF [ ExecMethod = ExecTextCtrl ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_FONT // status(final|play) [ ExecMethod = ExecTextCtrl ; StateMethod = GetTextFontCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_CJK_FONT // status(final|play) [ ExecMethod = ExecTextCtrl ; StateMethod = GetTextFontCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_CTL_FONT // status(final|play) [ ExecMethod = ExecTextCtrl ; StateMethod = GetTextFontCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_FONTHEIGHT // status(final|play) [ ExecMethod = ExecTextCtrl ; StateMethod = GetTextFontCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_CJK_FONTHEIGHT // status(final|play) [ ExecMethod = ExecTextCtrl ; StateMethod = GetTextFontCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_CTL_FONTHEIGHT // status(final|play) [ ExecMethod = ExecTextCtrl ; StateMethod = GetTextFontCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_COLOR_BACKGROUND // status() [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_COLOR_BACKGROUND_EXT // status() [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_COLOR_EXT // status() [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_COLOR2 [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_COLOR // status(final|play) [ ExecMethod = ExecTextCtrl ; StateMethod = GetTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_WEIGHT // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextFontCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_CJK_WEIGHT // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextFontCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_CTL_WEIGHT // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextFontCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_POSTURE // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextFontCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_CJK_POSTURE // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextFontCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_CTL_POSTURE // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextFontCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_UNDERLINE // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_OVERLINE // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_FLASH // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_STRIKEOUT // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_UNDERLINE_DOUBLE // status(final|play) [ ExecMethod = ExecCharAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_CONTOUR // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_SHADOWED // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_AUTOKERN // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_ESCAPEMENT // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_SET_SUPER_SCRIPT [ ExecMethod = ExecCharAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_SET_SUB_SCRIPT [ ExecMethod = ExecCharAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_SET_SMALL_CAPS [ ExecMethod = ExecCharAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_CASEMAP // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_LANGUAGE // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextFontCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_KERNING // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CHAR_DLG // status(final|play) [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CHAR_DLG_EFFECT [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CHAR_DLG_FOR_PARAGRAPH [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_WORDLINEMODE // status(final|play) [ ExecMethod = ExecTextCtrl; StateMethod = GetTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_GROW_FONT_SIZE // status(final|play) [ ExecMethod = ExecCharAttrArgs ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_SHRINK_FONT_SIZE // status(final|play) [ ExecMethod = ExecCharAttrArgs ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_REMOVE_DIRECT_CHAR_FORMATS [ ExecMethod = ExecCharAttr ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_SENTENCE_CASE [ ExecMethod = ExecTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_TITLE_CASE [ ExecMethod = ExecTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_TOGGLE_CASE [ ExecMethod = ExecTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_ROTATE_CASE [ ExecMethod = ExecRotateTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_UPPER [ ExecMethod = ExecTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_LOWER [ ExecMethod = ExecTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_HALFWIDTH [ ExecMethod = ExecTransliteration; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_FULLWIDTH [ ExecMethod = ExecTransliteration; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_HIRAGANA [ ExecMethod = ExecTransliteration; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_KATAGANA [ ExecMethod = ExecTransliteration; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LEFT_TO_RIGHT [ ExecMethod = ExecParaAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_RIGHT_TO_LEFT [ ExecMethod = ExecParaAttr ; StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_VERTICALTEXT_STATE [ StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CTLFONT_STATE [ StateMethod = GetAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_READONLY_SELECTION_MODE [ @@ -1642,7 +1642,7 @@ interface BaseText [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; // e.g. disable for read-only documents + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; // e.g. disable for read-only documents ] SID_UNICODE_NOTATION_TOGGLE @@ -1654,7 +1654,7 @@ interface BaseText [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; // e.g. disable for read-only documents + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; // e.g. disable for read-only documents ] } //ende interface text diff --git a/sw/sdi/_viewsh.sdi b/sw/sdi/_viewsh.sdi index 02706cc34247..991262d924e0 100644 --- a/sw/sdi/_viewsh.sdi +++ b/sw/sdi/_viewsh.sdi @@ -41,7 +41,7 @@ interface BaseTextEditView [ ExecMethod = ExecFormatPaintbrush ; StateMethod = StateFormatPaintbrush ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CLEARHISTORY // status(final|play) [ @@ -107,62 +107,62 @@ interface BaseTextEditView [ ExecMethod = Execute; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR"; + DisableFlags="SfxDisableFlags::SwOnMailboxEditor"; ] FN_REDLINE_ON // status() [ ExecMethod = Execute; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR"; + DisableFlags="SfxDisableFlags::SwOnMailboxEditor"; ] FN_REDLINE_SHOW // status() [ ExecMethod = Execute; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR"; + DisableFlags="SfxDisableFlags::SwOnMailboxEditor"; ] FN_REDLINE_ACCEPT // status(play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR"; + DisableFlags="SfxDisableFlags::SwOnMailboxEditor"; ] FN_REDLINE_ACCEPT_DIRECT [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR"; + DisableFlags="SfxDisableFlags::SwOnMailboxEditor"; ] FN_REDLINE_REJECT_DIRECT [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR"; + DisableFlags="SfxDisableFlags::SwOnMailboxEditor"; ] FN_REDLINE_NEXT_CHANGE [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR"; + DisableFlags="SfxDisableFlags::SwOnMailboxEditor"; ] FN_REDLINE_PREV_CHANGE [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR"; + DisableFlags="SfxDisableFlags::SwOnMailboxEditor"; ] SID_DOCUMENT_COMPARE // status(play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR"; + DisableFlags="SfxDisableFlags::SwOnMailboxEditor"; ] SID_DOCUMENT_MERGE // status(play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR"; + DisableFlags="SfxDisableFlags::SwOnMailboxEditor"; ] FN_ESCAPE // status(final|play|rec) [ @@ -187,103 +187,103 @@ interface BaseTextEditView ExecMethod = ExecTabWin ; StateMethod = StateTabWin ; GroupId = GID_EDIT ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_ULSPACE [ ExecMethod = ExecTabWin ; StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_LONG_LRSPACE // status() [ ExecMethod = ExecTabWin ; StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_LONG_ULSPACE // status() [ ExecMethod = ExecTabWin ; StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LRSPACE // status() [ ExecMethod = ExecTabWin ; StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LRSPACE_VERTICAL // status() [ ExecMethod = ExecTabWin ; StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_RULER_BORDERS // status() [ ExecMethod = ExecTabWin ; StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_RULER_BORDERS_VERTICAL // status() [ ExecMethod = ExecTabWin ; StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_RULER_BORDER_DISTANCE // status() [ StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_RULER_PAGE_POS // status() [ ExecMethod = NoExec ; StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_RULER_TEXT_RIGHT_TO_LEFT [ StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_RULER_LR_MIN_MAX // status() [ StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_RULER_PROTECT // status() [ StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_RULER_ROWS // status() [ ExecMethod = ExecTabWin ; StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_RULER_ROWS_VERTICAL // status() [ ExecMethod = ExecTabWin ; StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_EDIT_LINK_DLG // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_SPELL_GRAMMAR_DIALOG [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_RECHECK_DOCUMENT [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_LINE_NUMBERING_DLG // status() [ @@ -315,7 +315,7 @@ interface BaseTextEditView [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] //From here the statusbar @@ -393,7 +393,7 @@ interface BaseTextEditView SID_ATTR_BORDER_SHADOW // status() [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] // Properties Page Format @@ -432,14 +432,14 @@ interface BaseTextEditView [ ExecMethod = ExecTabWin; StateMethod = StateTabWin; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_PARASPACE_DECREASE [ ExecMethod = ExecTabWin; StateMethod = StateTabWin; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PAGE_COLUMN @@ -516,37 +516,37 @@ interface BaseTextEditView [ ExecMethod = ExecTabWin ; StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PAGE_LRSPACE [ ExecMethod = ExecTabWin ; StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PAGE_MARGIN [ StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_THESAURUS // status(final|play) [ ExecMethod = ExecLingu ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_HANGUL_HANJA_CONVERSION // status(final|play) [ ExecMethod = ExecLingu ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CHINESE_CONVERSION [ ExecMethod = ExecLingu ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] /* search and replace */ @@ -576,19 +576,19 @@ interface BaseTextEditView FID_SEARCH_REPLACESET // status() [ ExecMethod = ExecSearch ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_TABSTOP // status() [ ExecMethod = ExecTabWin ; StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_TABSTOP_VERTICAL // status() [ ExecMethod = ExecTabWin ; StateMethod = StateTabWin ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] // from here Export = FALSE; FID_SEARCH_ON // status() @@ -611,28 +611,28 @@ interface BaseTextEditView ExecMethod = Execute ; StateMethod = GetState ; Export = FALSE; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_LANGUAGE [ ExecMethod = Execute ; StateMethod = GetState ; Export = FALSE; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_CJK_LANGUAGE [ ExecMethod = Execute ; StateMethod = GetState ; Export = FALSE; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_CTL_LANGUAGE [ ExecMethod = Execute ; StateMethod = GetState ; Export = FALSE; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_JUMPTOMARK @@ -656,7 +656,7 @@ interface BaseTextEditView [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_GALLERY [ @@ -688,7 +688,7 @@ interface BaseTextEditView FN_QRY_MERGE // status() [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR"; + DisableFlags="SfxDisableFlags::SwOnMailboxEditor"; ] SID_ALIGN_ANY_LEFT [ @@ -734,7 +734,7 @@ interface BaseTextEditView [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_AUTOSPELL_CHECK [ @@ -770,7 +770,7 @@ interface BaseTextEditView ExecMethod = ExecViewOptions ; StateMethod = StateViewOptions ; Export = FALSE; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_VIEW_BOUNDS // status() @@ -841,7 +841,7 @@ interface BaseTextEditView ExecMethod = ExecViewOptions ; StateMethod = StateViewOptions ; Export = FALSE; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_HSCROLLBAR // status() @@ -862,7 +862,7 @@ interface BaseTextEditView [ ExecMethod = ExecViewOptions ; StateMethod = StateViewOptions ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRACK_CHANGES_BAR [ diff --git a/sw/sdi/annotsh.sdi b/sw/sdi/annotsh.sdi index 802024692a2a..263f1e7f05f8 100644 --- a/sw/sdi/annotsh.sdi +++ b/sw/sdi/annotsh.sdi @@ -23,21 +23,21 @@ interface Annotation : _Annotation [ ExecMethod = ExecLingu ; StateMethod = GetLinguState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_HANGUL_HANJA_CONVERSION // api: [ ExecMethod = ExecLingu ; StateMethod = GetLinguState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CHINESE_CONVERSION // api: [ ExecMethod = ExecLingu ; StateMethod = GetLinguState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TWAIN_SELECT @@ -64,7 +64,7 @@ interface Annotation : _Annotation SID_HYPERLINK_SETLINK // status() [ ExecMethod = Exec ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_HYPERLINK_GETLINK // status() [ @@ -75,207 +75,207 @@ interface Annotation : _Annotation [ ExecMethod = Exec ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_HARDHYPHEN // status() [ ExecMethod = Exec ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_HARD_SPACE // status(final|play) [ ExecMethod = Exec ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_RLM [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_LRM [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_ZWSP [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_ZWNBSP [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LEFT_TO_RIGHT [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_RIGHT_TO_LEFT [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TEXTDIRECTION_LEFT_TO_RIGHT [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TEXTDIRECTION_TOP_TO_BOTTOM [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_VERTICALTEXT_STATE [ StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CTLFONT_STATE [ StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_SENTENCE_CASE [ ExecMethod = ExecTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_TITLE_CASE [ ExecMethod = ExecTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_TOGGLE_CASE [ ExecMethod = ExecTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_ROTATE_CASE [ ExecMethod = ExecRotateTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_UPPER [ ExecMethod = ExecTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_LOWER [ ExecMethod = ExecTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_HALFWIDTH [ ExecMethod = ExecTransliteration; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_FULLWIDTH [ ExecMethod = ExecTransliteration; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_HIRAGANA [ ExecMethod = ExecTransliteration; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_KATAGANA [ ExecMethod = ExecTransliteration; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_WORDLINEMODE // status(final|play) [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_RELIEF [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_LANGUAGE // status(final|play) [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_KERNING // status(final|play) [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_AUTOKERN // status(final|play) [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_ESCAPEMENT // status(final|play) [ ExecMethod = Exec ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_SCALEWIDTH // status() [ ExecMethod = Exec ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_STYLE_FAMILY1 @@ -367,14 +367,14 @@ interface Annotation : _Annotation [ ExecMethod = ExecLingu ; StateMethod = GetLinguState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_THES [ ExecMethod = ExecLingu ; StateMethod = GetLinguState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; // e.g. disable for read-only documents + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; // e.g. disable for read-only documents ] } diff --git a/sw/sdi/basesh.sdi b/sw/sdi/basesh.sdi index df3ff961a685..90a69597ab30 100644 --- a/sw/sdi/basesh.sdi +++ b/sw/sdi/basesh.sdi @@ -25,21 +25,21 @@ interface TextSelection : BaseTextSelection [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CONTOUR_DLG [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CONTOUR_EXEC [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } // end interface Base diff --git a/sw/sdi/beziersh.sdi b/sw/sdi/beziersh.sdi index f9549fb89904..f6425d161eb1 100644 --- a/sw/sdi/beziersh.sdi +++ b/sw/sdi/beziersh.sdi @@ -21,13 +21,13 @@ interface TextBezier : TextSelection 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 TextBezier : TextSelection Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_INSERT @@ -48,7 +48,7 @@ interface TextBezier : TextSelection Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_DELETE @@ -56,7 +56,7 @@ interface TextBezier : TextSelection Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_CUTLINE @@ -64,7 +64,7 @@ interface TextBezier : TextSelection Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_CONVERT @@ -72,7 +72,7 @@ interface TextBezier : TextSelection Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_EDGE @@ -80,7 +80,7 @@ interface TextBezier : TextSelection Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_SMOOTH @@ -88,7 +88,7 @@ interface TextBezier : TextSelection Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_SYMMTR @@ -96,7 +96,7 @@ interface TextBezier : TextSelection Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_CLOSE @@ -104,7 +104,7 @@ interface TextBezier : TextSelection Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_ELIMINATE_POINTS @@ -112,7 +112,7 @@ interface TextBezier : TextSelection Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } diff --git a/sw/sdi/drawsh.sdi b/sw/sdi/drawsh.sdi index 6b9542033d60..9cea22be76a1 100644 --- a/sw/sdi/drawsh.sdi +++ b/sw/sdi/drawsh.sdi @@ -44,14 +44,14 @@ interface TextDraw : TextDrawBase Export = FALSE; ExecMethod = ExecDrawAttrArgs ; StateMethod = GetDrawAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_LINE_DASH [ ExecMethod = ExecDrawAttrArgs ; StateMethod = GetDrawAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_LINE_TRANSPARENCE @@ -59,7 +59,7 @@ interface TextDraw : TextDrawBase Export = FALSE; ExecMethod = ExecDrawAttrArgs ; StateMethod = GetDrawAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_LINE_JOINT @@ -67,7 +67,7 @@ interface TextDraw : TextDrawBase Export = FALSE; ExecMethod = ExecDrawAttrArgs ; StateMethod = GetDrawAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_LINE_CAP @@ -75,7 +75,7 @@ interface TextDraw : TextDrawBase Export = FALSE; ExecMethod = ExecDrawAttrArgs ; StateMethod = GetDrawAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_DASH_LIST @@ -118,7 +118,7 @@ interface TextDraw : TextDrawBase ExecMethod = ExecDrawAttrArgs ; StateMethod = GetDrawAttrState ; Export = FALSE; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_LINE_COLOR @@ -126,7 +126,7 @@ interface TextDraw : TextDrawBase Export = FALSE; ExecMethod = ExecDrawAttrArgs ; StateMethod = GetDrawAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_FILL_STYLE @@ -134,7 +134,7 @@ interface TextDraw : TextDrawBase Export = FALSE; ExecMethod = ExecDrawAttrArgs ; StateMethod = GetDrawAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_FILL_COLOR @@ -142,7 +142,7 @@ interface TextDraw : TextDrawBase Export = FALSE; ExecMethod = ExecDrawAttrArgs ; StateMethod = GetDrawAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_FILL_GRADIENT @@ -150,7 +150,7 @@ interface TextDraw : TextDrawBase Export = FALSE; ExecMethod = ExecDrawAttrArgs ; StateMethod = GetDrawAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_FILL_HATCH @@ -158,7 +158,7 @@ interface TextDraw : TextDrawBase Export = FALSE; ExecMethod = ExecDrawAttrArgs ; StateMethod = GetDrawAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_FILL_BITMAP @@ -166,7 +166,7 @@ interface TextDraw : TextDrawBase Export = FALSE; ExecMethod = ExecDrawAttrArgs ; StateMethod = GetDrawAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_FILL_TRANSPARENCE @@ -174,7 +174,7 @@ interface TextDraw : TextDrawBase Export = FALSE; ExecMethod = ExecDrawAttrArgs ; StateMethod = GetDrawAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_FILL_FLOATTRANSPARENCE @@ -182,7 +182,7 @@ interface TextDraw : TextDrawBase Export = FALSE; ExecMethod = ExecDrawAttrArgs ; StateMethod = GetDrawAttrState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTRIBUTES_LINE @@ -207,14 +207,14 @@ interface TextDraw : TextDrawBase [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FLIP_HORIZONTAL [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_OBJECT_ROTATE @@ -222,7 +222,7 @@ interface TextDraw : TextDrawBase Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_BEZIER_EDIT @@ -230,35 +230,35 @@ interface TextDraw : TextDrawBase Export = FALSE; ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FONTWORK [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_OBJECT_HELL [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_OBJECT_HEAVEN [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_TOOL_HIERARCHIE [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_EXTRUSION_TOOGLE @@ -418,77 +418,77 @@ shell SwDrawShell : SwDrawBaseShell [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_ADJUST [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_DISTANCE [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_START [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_MIRROR [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_HIDEFORM [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_OUTLINE [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_SHDWXVAL [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_SHADOW [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_SHDWCOLOR [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_SHDWYVAL [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FORMAT_FOOTNOTE_DLG // status() @@ -515,14 +515,14 @@ shell SwDrawShell : SwDrawBaseShell [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_REMOVE_TEXT_BOX [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } diff --git a/sw/sdi/drwbassh.sdi b/sw/sdi/drwbassh.sdi index 7a950dbcf8f0..4dd539504f8c 100644 --- a/sw/sdi/drwbassh.sdi +++ b/sw/sdi/drwbassh.sdi @@ -30,7 +30,7 @@ shell SwDrawBaseShell: SwBaseShell [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } diff --git a/sw/sdi/drwtxtsh.sdi b/sw/sdi/drwtxtsh.sdi index e67373095d57..80085545b181 100644 --- a/sw/sdi/drwtxtsh.sdi +++ b/sw/sdi/drwtxtsh.sdi @@ -28,7 +28,7 @@ interface TextDrawText [ ExecMethod = ExecClpbrd ; StateMethod = StateClpbrd ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_COPY // api: @@ -41,19 +41,19 @@ interface TextDrawText [ ExecMethod = ExecClpbrd ; StateMethod = StateClpbrd ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_PASTE_SPECIAL // api: [ StateMethod = StateClpbrd ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CLIPBOARD_FORMAT_ITEMS // api: [ StateMethod = StateClpbrd ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_ESCAPE // api: @@ -94,117 +94,117 @@ interface TextDrawText [ ExecMethod = ExecDraw ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CHARMAP // api: [ ExecMethod = ExecDraw ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_EMOJI_CONTROL [ - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_STRING [ ExecMethod = ExecDraw ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_SOFT_HYPHEN // status(final|play) [ ExecMethod = ExecDraw ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_HARDHYPHEN // status() [ ExecMethod = ExecDraw ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_HARD_SPACE // status(final|play) [ ExecMethod = ExecDraw ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_RLM [ ExecMethod = ExecDraw ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_LRM [ ExecMethod = ExecDraw ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_ZWSP [ ExecMethod = ExecDraw ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_ZWNBSP [ ExecMethod = ExecDraw ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_WEIGHT // api: [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_POSTURE // api: [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_UNDERLINE // api: [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_OVERLINE // api: [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_CONTOUR [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_SHADOWED [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_STRIKEOUT [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LRSPACE //for indent @@ -217,14 +217,14 @@ interface TextDrawText [ ExecMethod = Execute; StateMethod = GetState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_PARASPACE_DECREASE [ ExecMethod = Execute; StateMethod = GetState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LINESPACE // api: @@ -243,235 +243,235 @@ interface TextDrawText [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_ADJUST_CENTER // api: [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_ADJUST_RIGHT // api: [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_ADJUST_BLOCK // api: [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LINESPACE_10 // api: [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LINESPACE_15 // api: [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LINESPACE_20 // api: [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_LEFT_TO_RIGHT [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_PARA_RIGHT_TO_LEFT [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TEXTDIRECTION_LEFT_TO_RIGHT [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TEXTDIRECTION_TOP_TO_BOTTOM [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_VERTICALTEXT_STATE [ StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CTLFONT_STATE [ StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CHAR_DLG // api: [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CHAR_DLG_EFFECT [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CHAR_DLG_FOR_PARAGRAPH [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_PARA_DLG // api: [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_SET_SUPER_SCRIPT [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_SET_SUB_SCRIPT [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FONTWORK // api: [ ExecMethod = ExecFontWork ; StateMethod = StateFontWork ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_STYLE // api: [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_ADJUST // api: [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_DISTANCE // api: [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_START // api: [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_MIRROR // api: [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_HIDEFORM // api: [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_OUTLINE // api: [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_SHADOW // api: [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_SHDWCOLOR // api: [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_SHDWXVAL // api: [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FORMTEXT_SHDWYVAL // api: [ ExecMethod = ExecFormText ; StateMethod = GetFormTextState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_THESAURUS // api: [ ExecMethod = ExecDrawLingu ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_HANGUL_HANJA_CONVERSION // api: [ ExecMethod = ExecDrawLingu ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CHINESE_CONVERSION // api: [ ExecMethod = ExecDrawLingu ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_DRAWTEXT_ATTR_DLG [ ExecMethod = ExecDraw ; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_AUTOSPELL_CHECK @@ -488,7 +488,7 @@ interface TextDrawText SID_HYPERLINK_SETLINK // status() [ ExecMethod = Execute ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_HYPERLINK_GETLINK // status() @@ -499,75 +499,75 @@ interface TextDrawText [ ExecMethod = ExecTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_TITLE_CASE [ ExecMethod = ExecTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_TOGGLE_CASE [ ExecMethod = ExecTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_ROTATE_CASE [ ExecMethod = ExecRotateTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_UPPER [ ExecMethod = ExecTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_LOWER [ ExecMethod = ExecTransliteration; StateMethod = NoState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_HALFWIDTH [ ExecMethod = ExecTransliteration; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_FULLWIDTH [ ExecMethod = ExecTransliteration; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_HIRAGANA [ ExecMethod = ExecTransliteration; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TRANSLITERATE_KATAGANA [ ExecMethod = ExecTransliteration; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_LANGUAGE_STATUS [ ExecMethod = Execute; StateMethod = GetState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; // e.g. disable for read-only documents + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; // e.g. disable for read-only documents ] SID_THES [ ExecMethod = Execute; StateMethod = GetState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; // e.g. disable for read-only documents + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; // e.g. disable for read-only documents ] FN_FORMAT_FOOTNOTE_DLG // status() @@ -608,32 +608,32 @@ interface TextDrawText [ ExecMethod = ExecDraw ; StateMethod = GetStatePropPanelAttr ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TABLE_VERT_CENTER [ ExecMethod = ExecDraw ; StateMethod = GetStatePropPanelAttr ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_TABLE_VERT_BOTTOM [ ExecMethod = ExecDraw ; StateMethod = GetStatePropPanelAttr ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_GROW_FONT_SIZE [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_SHRINK_FONT_SIZE [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } @@ -643,71 +643,71 @@ interface TextDrawFont [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_FONTHEIGHT // status() [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_COLOR // api: [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_BACK_COLOR // api: [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_WORDLINEMODE // status(final|play) [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_RELIEF [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_LANGUAGE // status(final|play) [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_KERNING // status(final|play) [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_AUTOKERN // status(final|play) [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_ATTR_CHAR_ESCAPEMENT // status(final|play) [ ExecMethod = Execute ; StateMethod = GetDrawTextCtrlState ; - 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"; ] } diff --git a/sw/sdi/frmsh.sdi b/sw/sdi/frmsh.sdi index 73f8af14341d..f49873e6494a 100644 --- a/sw/sdi/frmsh.sdi +++ b/sw/sdi/frmsh.sdi @@ -29,14 +29,14 @@ shell SwFrameShell : SwBaseShell [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_FRAME_UNCHAIN [ 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 1e362ef48019..b6926a68c48e 100644 --- a/sw/sdi/tabsh.sdi +++ b/sw/sdi/tabsh.sdi @@ -27,7 +27,7 @@ interface TextTable : BaseTextTable [ ExecMethod = Execute; StateMethod = NoState; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } diff --git a/sw/sdi/textsh.sdi b/sw/sdi/textsh.sdi index 2b8f19460b04..2a33932cbb0d 100644 --- a/sw/sdi/textsh.sdi +++ b/sw/sdi/textsh.sdi @@ -22,7 +22,7 @@ interface Text : BaseText [ ExecMethod = ExecInsert ; StateMethod = StateInsert ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] // Here should the slots be integrated, which are not supported // in StarWriter/WEB @@ -33,7 +33,7 @@ interface Text : BaseText [ ExecMethod = ExecField ; StateMethod = StateField ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ReadOnlyDoc = FALSE ; ] diff --git a/sw/sdi/viewsh.sdi b/sw/sdi/viewsh.sdi index c6d83c8c32a2..fe1357d9801a 100644 --- a/sw/sdi/viewsh.sdi +++ b/sw/sdi/viewsh.sdi @@ -47,31 +47,31 @@ interface TextEditView : BaseTextEditView [ StateMethod = GetState ; Export = FALSE ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_INSERT_CAPTION // status() [ ExecMethod = ExecDlgExt ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_EDIT_FOOTNOTE // status(final|play) [ ExecMethod = ExecDlgExt ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_HYPHENATE_OPT_DLG // status(final|play) [ ExecMethod = ExecLingu ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] FN_CHANGE_PAGENUM // status(final) [ ExecMethod = ExecDlg ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_INSERT_DRAW // status() [ @@ -264,12 +264,12 @@ interface TextEditView : BaseTextEditView SID_FM_CREATE_CONTROL // status() [ ExecMethod = ExecDraw ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_FM_CREATE_FIELDCONTROL [ ExecMethod = ExecDraw ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } diff --git a/sw/sdi/wdrwbase.sdi b/sw/sdi/wdrwbase.sdi index adf752d98597..60bb334ce5f8 100644 --- a/sw/sdi/wdrwbase.sdi +++ b/sw/sdi/wdrwbase.sdi @@ -30,7 +30,7 @@ shell SwWebDrawBaseShell: SwBaseShell [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } diff --git a/sw/sdi/wrtapp.sdi b/sw/sdi/wrtapp.sdi index c13ee75304c9..e3680a229843 100644 --- a/sw/sdi/wrtapp.sdi +++ b/sw/sdi/wrtapp.sdi @@ -22,28 +22,28 @@ interface StarWriter [ ExecMethod = ExecOther ; StateMethod = StateOther ; - DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR"; + DisableFlags="SfxDisableFlags::SwOnMailboxEditor"; ] FN_LABEL // status(final|play) [ ExecMethod = ExecOther ; StateMethod = StateOther ; - DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR"; + DisableFlags="SfxDisableFlags::SwOnMailboxEditor"; ] FN_BUSINESS_CARD // status() [ ExecMethod = ExecOther ; StateMethod = StateOther ; - DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR"; + DisableFlags="SfxDisableFlags::SwOnMailboxEditor"; ] FN_XFORMS_INIT // #i31958# [ ExecMethod = ExecOther ; StateMethod = StateOther ; - DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR"; + DisableFlags="SfxDisableFlags::SwOnMailboxEditor"; ] SID_ATTR_METRIC // status(final|play) diff --git a/sw/sdi/wtextsh.sdi b/sw/sdi/wtextsh.sdi index d196d9fc3072..9b6c301a3a4a 100644 --- a/sw/sdi/wtextsh.sdi +++ b/sw/sdi/wtextsh.sdi @@ -22,7 +22,7 @@ interface WebText : BaseText [ ExecMethod = ExecInsert ; StateMethod = StateInsert ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] // Here should the slots are be inserted, but O N L Y those that are supported // by StarWriter/WEB diff --git a/sw/sdi/wviewsh.sdi b/sw/sdi/wviewsh.sdi index 0e2a0ac5d056..f7995e072932 100644 --- a/sw/sdi/wviewsh.sdi +++ b/sw/sdi/wviewsh.sdi @@ -41,7 +41,7 @@ interface WebEditView : BaseTextEditView [ ExecMethod = ExecDraw ; StateMethod = GetDrawState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] } @@ -113,14 +113,14 @@ interface WebSourceView [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_CUT // status(final|play) [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_COPY // status(final|play) @@ -133,7 +133,7 @@ interface WebSourceView [ ExecMethod = Execute ; StateMethod = GetState ; - DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] SID_SELECTALL // status(final|play) diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx index 32b1a518b90c..cc3d48c693c0 100644 --- a/sw/source/uibase/uiview/view.cxx +++ b/sw/source/uibase/uiview/view.cxx @@ -625,16 +625,16 @@ void SwView::CheckReadonlyState() void SwView::CheckReadonlySelection() { - sal_uInt32 nDisableFlags = 0; + SfxDisableFlags nDisableFlags = SfxDisableFlags::NONE; SfxDispatcher &rDis = GetDispatcher(); if( m_pWrtShell->HasReadonlySel(m_bAnnotationMode) && ( !m_pWrtShell->GetDrawView() || !m_pWrtShell->GetDrawView()->GetMarkedObjectList().GetMarkCount() )) - nDisableFlags |= SW_DISABLE_ON_PROTECTED_CURSOR; + nDisableFlags |= SfxDisableFlags::SwOnProtectedCursor; - if( (SW_DISABLE_ON_PROTECTED_CURSOR & nDisableFlags ) != - (SW_DISABLE_ON_PROTECTED_CURSOR & rDis.GetDisableFlags() ) ) + if( (SfxDisableFlags::SwOnProtectedCursor & nDisableFlags ) != + (SfxDisableFlags::SwOnProtectedCursor & rDis.GetDisableFlags() ) ) { // Additionally move at the Window the InputContext, so that // in japanese / chinese versions the external input will be @@ -655,7 +655,7 @@ void SwView::CheckReadonlySelection() // text formatting and the correct font will be build together. InputContext aCntxt( GetEditWin().GetInputContext() ); - aCntxt.SetOptions( SW_DISABLE_ON_PROTECTED_CURSOR & nDisableFlags + aCntxt.SetOptions( SfxDisableFlags::SwOnProtectedCursor & nDisableFlags ? (aCntxt.GetOptions() & ~ InputContextFlags( InputContextFlags::Text | InputContextFlags::ExtText )) |