LibreOffice Module svx (master) 1
|
#include <textchaincursor.hxx>
Public Member Functions | |
TextChainCursorManager (SdrObjEditView *pEditView, const SdrTextObj *pTextObj) | |
bool | HandleKeyEvent (const KeyEvent &rKEvt) |
void | HandleCursorEvent (const CursorChainingEvent aCurEvt, const ESelection &aNewSel) |
void | HandleCursorEventAfterChaining (const CursorChainingEvent aCurEvt, const ESelection &aNewSel) |
Private Member Functions | |
void | impChangeEditingTextObj (SdrTextObj *pTargetTextObj, ESelection aNewSel) |
void | impDetectEvent (const KeyEvent &rKEvt, CursorChainingEvent &rOutCursorEvt, ESelection &rOutSel, bool &rOutHandled) |
Private Attributes | |
SdrObjEditView * | mpEditView |
const SdrTextObj * | mpTextObj |
bool | mbHandlingDel |
Definition at line 32 of file textchaincursor.hxx.
TextChainCursorManager::TextChainCursorManager | ( | SdrObjEditView * | pEditView, |
const SdrTextObj * | pTextObj | ||
) |
Definition at line 30 of file textchaincursor.cxx.
References mpEditView, and mpTextObj.
void TextChainCursorManager::HandleCursorEvent | ( | const CursorChainingEvent | aCurEvt, |
const ESelection & | aNewSel | ||
) |
Definition at line 157 of file textchaincursor.cxx.
References SdrTextObj::GetNextLinkInChain(), SdrTextObj::GetPrevLinkInChain(), SdrTextObj::GetTextChain(), SdrObjEditView::GetTextEditOutlinerView(), impChangeEditingTextObj(), mpEditView, mpTextObj, NULL_EVENT, OutlinerView::SetSelection(), TextChain::SetSwitchingToNextBox(), TO_NEXT_LINK, TO_PREV_LINK, and UNCHANGED.
Referenced by HandleCursorEventAfterChaining(), and HandleKeyEvent().
void TextChainCursorManager::HandleCursorEventAfterChaining | ( | const CursorChainingEvent | aCurEvt, |
const ESelection & | aNewSel | ||
) |
Definition at line 135 of file textchaincursor.cxx.
References SdrTextObj::GetPrevLinkInChain(), HandleCursorEvent(), impChangeEditingTextObj(), mbHandlingDel, and mpTextObj.
Referenced by SdrObjEditView::ImpMoveCursorAfterChainingEvent().
bool TextChainCursorManager::HandleKeyEvent | ( | const KeyEvent & | rKEvt | ) |
Definition at line 40 of file textchaincursor.cxx.
References HandleCursorEvent(), impDetectEvent(), and NULL_EVENT.
|
private |
Definition at line 189 of file textchaincursor.cxx.
References SdrObjEditView::GetTextEditOutlinerView(), mpEditView, mpTextObj, SdrObjEditView::SdrBeginTextEdit(), SdrObjEditView::SdrEndTextEdit(), and OutlinerView::SetSelection().
Referenced by HandleCursorEvent(), and HandleCursorEventAfterChaining().
|
private |
Definition at line 58 of file textchaincursor.cxx.
References vcl::KeyCode::GetCode(), vcl::KeyCode::GetFunction(), KeyEvent::GetKeyCode(), SdrTextObj::GetNextLinkInChain(), Outliner::GetParagraph(), Outliner::GetParagraphCount(), SdrTextObj::GetPrevLinkInChain(), OutlinerView::GetSelection(), Outliner::GetText(), SdrObjEditView::GetTextEditOutliner(), SdrObjEditView::GetTextEditOutlinerView(), KEY_BACKSPACE, KEY_LEFT, KEY_RIGHT, mbHandlingDel, mpEditView, mpTextObj, NULL_EVENT, TO_NEXT_LINK, and TO_PREV_LINK.
Referenced by HandleKeyEvent().
|
private |
Definition at line 52 of file textchaincursor.hxx.
Referenced by HandleCursorEventAfterChaining(), and impDetectEvent().
|
private |
Definition at line 48 of file textchaincursor.hxx.
Referenced by HandleCursorEvent(), impChangeEditingTextObj(), impDetectEvent(), and TextChainCursorManager().
|
private |
Definition at line 49 of file textchaincursor.hxx.
Referenced by HandleCursorEvent(), HandleCursorEventAfterChaining(), impChangeEditingTextObj(), impDetectEvent(), and TextChainCursorManager().