https://bugs.documentfoundation.org/show_bug.cgi?id=120615

Heiko Tietze <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |enhancement
                 CC|                            |heiko.tietze@documentfounda
                   |                            |tion.org,
                   |                            |[email protected]
           Keywords|needsUXEval                 |

--- Comment #11 from Heiko Tietze <[email protected]> ---
Hard-coded key combination implemented in Writer
sw/source/uibase/docvw/edtwin.cxx

        case CommandEventId::ModKeyChange :
        {
            const CommandModKeyData* pCommandData = rCEvt.GetModKeyData();
            if (!pCommandData->IsDown() && pCommandData->IsMod1() &&
!pCommandData->IsMod2())
            {
                sal_uInt16 nSlot = 0;
                if(pCommandData->IsLeftShift() &&
!pCommandData->IsRightShift())
                    nSlot = SID_ATTR_PARA_LEFT_TO_RIGHT;
                else if(!pCommandData->IsLeftShift() &&
pCommandData->IsRightShift())
                    nSlot = SID_ATTR_PARA_RIGHT_TO_LEFT;
                if(nSlot && SW_MOD()->GetCTLOptions().IsCTLFontEnabled())
                    GetView().GetViewFrame()->GetDispatcher()->Execute(nSlot);
            }
        }

Not sure where this should go in Draw/Impress. But potentially an easy hack.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to