28#include <osl/diagnose.h>
56 nCount = pCountItem->GetValue();
58 bSelect = pSelectionItem->GetValue();
62 case FN_CHAR_LEFT_SEL:
66 case FN_CHAR_RIGHT_SEL:
74 case FN_LINE_DOWN_SEL:
80 uno::Reference< frame::XDispatchRecorder > xRecorder =
87 const sal_uInt16 nSlot = rReq.
GetSlot();
108 OSL_FAIL(
"wrong Dispatcher");
127 case FN_START_OF_LINE_SEL:
133 case FN_END_OF_LINE_SEL:
139 case FN_START_OF_DOCUMENT_SEL:
145 case FN_END_OF_DOCUMENT_SEL:
148 case FN_END_OF_DOCUMENT:
163 OSL_FAIL(
"wrong dispatcher");
184 case FN_START_OF_NEXT_PAGE_SEL :
190 case FN_END_OF_NEXT_PAGE_SEL:
196 case FN_START_OF_PREV_PAGE_SEL:
202 case FN_END_OF_PREV_PAGE_SEL:
208 case FN_START_OF_PAGE_SEL:
214 case FN_END_OF_PAGE_SEL:
221 OSL_FAIL(
"wrong dispatcher");
252 OSL_FAIL(
"wrong dispatcher");
266 case FN_NEXT_WORD_SEL:
272 case FN_START_OF_PARA_SEL:
278 case FN_END_OF_PARA_SEL:
284 case FN_PREV_WORD_SEL:
290 case FN_NEXT_SENT_SEL:
296 case FN_PREV_SENT_SEL:
309 OSL_FAIL(
"wrong dispatcher");
319 const sal_uInt16 nSlot = rReq.
GetSlot();
320 bool bSetRetVal =
true, bRet =
true;
323 case SID_FM_TOGGLECONTROLFOCUS:
327 const SwView* pView = pDocShell ? pDocShell->
GetView() :
nullptr;
332 OSL_ENSURE( pFormShell && pDrawView && pWindow,
"SwXTextView::ExecMoveMisc: no chance!" );
333 if ( !pFormShell || !pDrawView || !pWindow )
342 if ( !pNearestControl )
346 OSL_ENSURE( pUnoObject,
"SwTextShell::ExecMoveMisc: GetBestObject returned nonsense!" );
435 OSL_FAIL(
"wrong dispatcher");
443 bool bInHeader =
true;
const css::uno::Reference< css::frame::XDispatchRecorder > & GetRecorder() const
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
sal_uInt16 GetSlot() const
const SfxItemSet * GetArgs() const
void SetSlot(sal_uInt16 nNewSlot)
void AppendItem(const SfxPoolItem &)
void SetReturnValue(const SfxPoolItem &)
void Done(bool bRemove=false)
SfxBindings & GetBindings()
SfxViewFrame & GetViewFrame() const
bool GotoNextFootnoteAnchor()
bool GotoHeaderText()
jump from the content to the header
bool MoveRegion(SwWhichRegion, SwMoveFnCollection const &)
bool MoveTable(SwWhichTable, SwMoveFnCollection const &)
bool GotoNxtPrvTOXMark(bool bNext=true)
jump to next/previous index marker
bool GotoFootnoteText()
jump from content to footnote
bool GotoPrevFootnoteAnchor()
bool IsInHeaderFooter(bool *pbInHeader=nullptr) const
bool GotoNxtPrvTableFormula(bool bNext=true, bool bOnlyErrors=false)
Jump to next/previous table formula Optionally it is possible to also jump to broken formulas.
bool GotoFooterText()
jump from the content to the footer
const SwView * GetView() const
SwDocShell * GetDocShell()
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
void FlushInBuffer()
Character buffer is inserted into the document.
void SetUseInputLanguage(bool bNew)
#i42732# display status of font size/name depending on either the input language or the selection pos...
FrameTypeFlags GetFrameType(const Point *pPt, bool bStopAtFly) const
For return values see above FrameType.
bool GotoObj(bool bNext, GotoObjFlags eType=GotoObjFlags::DrawAny)
void ToggleHeaderFooterEdit()
const SdrObject * GetBestObject(bool bNext, GotoObjFlags eType, bool bFlat=true, const svx::ISdrObjectFilter *pFilter=nullptr, bool *pbWrapped=nullptr)
void ExecBasicMove(SfxRequest &)
void ExecMoveMisc(SfxRequest &)
void ExecMoveLingu(SfxRequest &)
void ExecMovePage(SfxRequest &)
void ExecMoveCol(SfxRequest &)
void ExecMove(SfxRequest &)
bool IsHeaderFooterEdit() const
Acts both for headers / footers, depending on the bShow(Header|Footer)Separator flags.
vcl::Window * GetWin() const
SwWrtShell & GetWrtShell() const
virtual SdrView * GetDrawView() const override
virtual FmFormShell * GetFormShell() override
Used by the UI to modify the document model.
bool Down(bool bSelect, sal_uInt16 nCount=1, bool bBasicCall=false)
bool EndPg(bool bSelect=false)
void EnterSelFrameMode(const Point *pStartDrag=nullptr)
bool EndPrvPg(bool bSelect=false)
bool Right(SwCursorSkipMode nMode, bool bSelect, sal_uInt16 nCount, bool bBasicCall, bool bVisual=false)
void NxtWrd(bool bSelect=false)
void addCurrentPosition()
void FwdSentence(bool bSelect=false)
bool PrvWrd(bool bSelect=false)
bool Left(SwCursorSkipMode nMode, bool bSelect, sal_uInt16 nCount, bool bBasicCall, bool bVisual=false)
bool SttPara(bool bSelect=false)
void SelSentence(const Point *)
void EndPara(bool bSelect=false)
bool SttNxtPg(bool bSelect=false)
void EndNxtPg(bool bSelect=false)
bool SttPg(bool bSelect=false)
bool RightMargin(bool bSelect, bool bBasicCall)
void GotoFootnoteAnchor(const SwTextFootnote &rTextFootnote)
bool LeftMargin(bool bSelect, bool bBasicCall)
bool Up(bool bSelect, sal_uInt16 nCount=1, bool bBasicCall=false)
void BwdSentence(bool bSelect=false)
virtual void SetShowHeaderFooterSeparator(FrameControlType eControl, bool bShow) override
void SttPrvPg(bool bSelect=false)
bool EndOfSection(bool bSelect=false)
void MoveCursor(bool bWithSelect=false)
bool StartOfSection(bool bSelect=false)
::OutputDevice const * GetOutDev() const
void Invalidate(InvalidateFlags nFlags=InvalidateFlags::NONE)
#define FN_FOOTNOTE_TO_ANCHOR
#define FN_END_OF_NEXT_COLUMN
#define FN_START_OF_COLUMN
#define FN_END_OF_PREV_PAGE
#define FN_START_OF_PREV_PAGE
#define FN_START_OF_NEXT_COLUMN
#define FN_GOTO_PREV_REGION
#define FN_NEXT_TBLFML_ERR
#define FN_PARAM_MOVE_COUNT
#define FN_PARAM_MOVE_SELECTION
#define FN_SELECT_SENTENCE
#define FN_START_OF_DOCUMENT
#define FN_END_OF_PREV_COLUMN
#define FN_END_OF_NEXT_PAGE
#define FN_START_OF_NEXT_PAGE
#define FN_START_OF_PREV_COLUMN
#define FN_PREV_TBLFML_ERR
#define FN_TO_FOOTNOTE_AREA
#define FN_CNTNT_TO_NEXT_FRAME
#define FN_GOTO_NEXT_REGION
SwMoveFnCollection const & fnTableStart
SwMoveFnCollection const & fnRegionStart
bool GotoNextRegion(SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosRegion, bool bInReadOnly)
bool GotoPrevRegion(SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosRegion, bool bInReadOnly)
bool GotoNextTable(SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosTable, bool bInReadOnly)
bool GotoPrevTable(SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosTable, bool bInReadOnly)