LibreOffice Module sw (master)  1
txtcrsr.cxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #include <sal/config.h>
21 
22 #include <memory>
23 
24 #include <sfx2/request.hxx>
25 #include <svl/eitem.hxx>
26 #include <sfx2/viewfrm.hxx>
27 #include <sfx2/bindings.hxx>
28 
29 #include <view.hxx>
30 #include <wrtsh.hxx>
31 #include <textsh.hxx>
32 #include <edtwin.hxx>
33 #include <doc.hxx>
34 #include <docsh.hxx>
35 
36 #include <cmdid.h>
37 #include <globals.hrc>
38 
39 #include <svx/svdouno.hxx>
40 #include <svx/fmshell.hxx>
41 #include <svx/sdrobjectfilter.hxx>
42 
43 using namespace ::com::sun::star;
44 
46 {
47  SwWrtShell &rSh = GetShell();
49  const SfxItemSet *pArgs = rReq.GetArgs();
50  bool bSelect = false;
51  sal_Int32 nCount = 1;
52  if(pArgs)
53  {
54  const SfxPoolItem *pItem;
55  if(SfxItemState::SET == pArgs->GetItemState(FN_PARAM_MOVE_COUNT, true, &pItem))
56  nCount = static_cast<const SfxInt32Item *>(pItem)->GetValue();
57  if(SfxItemState::SET == pArgs->GetItemState(FN_PARAM_MOVE_SELECTION, true, &pItem))
58  bSelect = static_cast<const SfxBoolItem *>(pItem)->GetValue();
59  }
60  switch(rReq.GetSlot())
61  {
62  case FN_CHAR_LEFT_SEL:
63  rReq.SetSlot( FN_CHAR_LEFT );
64  bSelect = true;
65  break;
66  case FN_CHAR_RIGHT_SEL:
67  rReq.SetSlot( FN_CHAR_RIGHT );
68  bSelect = true;
69  break;
70  case FN_LINE_UP_SEL:
71  rReq.SetSlot( FN_LINE_UP );
72  bSelect = true;
73  break;
74  case FN_LINE_DOWN_SEL:
75  rReq.SetSlot( FN_LINE_DOWN );
76  bSelect = true;
77  break;
78  }
79 
80  uno::Reference< frame::XDispatchRecorder > xRecorder =
82  if ( xRecorder.is() )
83  {
86  }
87  const sal_uInt16 nSlot = rReq.GetSlot();
88  rReq.Done();
89  // Get EditWin before calling the move functions (shell change may occur!)
90  SwEditWin& rTmpEditWin = GetView().GetEditWin();
91  for( sal_Int32 i = 0; i < nCount; i++ )
92  {
93  switch(nSlot)
94  {
95  case FN_CHAR_LEFT:
96  rSh.Left( CRSR_SKIP_CELLS, bSelect, 1, false, true );
97  break;
98  case FN_CHAR_RIGHT:
99  rSh.Right( CRSR_SKIP_CELLS, bSelect, 1, false, true );
100  break;
101  case FN_LINE_UP:
102  rSh.Up( bSelect );
103  break;
104  case FN_LINE_DOWN:
105  rSh.Down( bSelect );
106  break;
107  default:
108  OSL_FAIL("wrong Dispatcher");
109  return;
110  }
111  }
112 
113  //#i42732# - notify the edit window that from now on we do not use the input language
114  rTmpEditWin.SetUseInputLanguage( false );
115 }
116 
118 {
119  SwWrtShell &rSh = GetShell();
120  SwEditWin& rTmpEditWin = GetView().GetEditWin();
121  rTmpEditWin.FlushInBuffer();
122 
123  bool bRet = false;
124  switch ( rReq.GetSlot() )
125  {
126  case FN_START_OF_LINE_SEL:
127  bRet = rSh.LeftMargin( true, false );
128  break;
129  case FN_START_OF_LINE:
130  bRet = rSh.LeftMargin( false, false );
131  break;
132  case FN_END_OF_LINE_SEL:
133  bRet = rSh.RightMargin( true, false );
134  break;
135  case FN_END_OF_LINE:
136  bRet = rSh.RightMargin( false, false );
137  break;
138  case FN_START_OF_DOCUMENT_SEL:
139  bRet = rSh.StartOfSection( true );
140  break;
142  bRet = rSh.StartOfSection();
143  break;
144  case FN_END_OF_DOCUMENT_SEL:
145  bRet = rSh.EndOfSection( true );
146  break;
147  case FN_END_OF_DOCUMENT:
148  bRet = rSh.EndOfSection();
149  break;
150  case FN_SELECT_WORD:
151  bRet = rSh.SelNearestWrd();
152  break;
153  case FN_SELECT_SENTENCE:
154  rSh.SelSentence( nullptr );
155  bRet = true;
156  break;
157  case SID_SELECTALL:
158  rSh.SelAll();
159  bRet = true;
160  break;
161  default:
162  OSL_FAIL("wrong dispatcher");
163  return;
164  }
165 
166  if ( bRet )
167  rReq.Done();
168  else
169  rReq.Ignore();
170 
171  //#i42732# - notify the edit window that from now on we do not use the input language
172  rTmpEditWin.SetUseInputLanguage( false );
173 }
174 
176 {
177  SwWrtShell &rSh = GetShell();
179 
180  switch( rReq.GetSlot() )
181  {
182  case FN_START_OF_NEXT_PAGE_SEL :
183  rSh.SttNxtPg( true );
184  break;
186  rSh.SttNxtPg();
187  break;
188  case FN_END_OF_NEXT_PAGE_SEL:
189  rSh.EndNxtPg( true );
190  break;
191  case FN_END_OF_NEXT_PAGE:
192  rSh.EndNxtPg();
193  break;
194  case FN_START_OF_PREV_PAGE_SEL:
195  rSh.SttPrvPg( true );
196  break;
198  rSh.SttPrvPg();
199  break;
200  case FN_END_OF_PREV_PAGE_SEL:
201  rSh.EndPrvPg( true );
202  break;
203  case FN_END_OF_PREV_PAGE:
204  rSh.EndPrvPg();
205  break;
206  case FN_START_OF_PAGE_SEL:
207  rSh.SttPg( true );
208  break;
209  case FN_START_OF_PAGE:
210  rSh.SttPg();
211  break;
212  case FN_END_OF_PAGE_SEL:
213  rSh.EndPg( true );
214  break;
215  case FN_END_OF_PAGE:
216  rSh.EndPg();
217  break;
218  default:
219  OSL_FAIL("wrong dispatcher");
220  return;
221  }
222  rReq.Done();
223 }
224 
226 {
227  SwWrtShell &rSh = GetShell();
228  switch ( rReq.GetSlot() )
229  {
230  case FN_START_OF_COLUMN:
231  rSh.StartOfColumn();
232  break;
233  case FN_END_OF_COLUMN:
234  rSh.EndOfColumn();
235  break;
237  rSh.StartOfNextColumn() ;
238  break;
240  rSh.EndOfNextColumn();
241  break;
243  rSh.StartOfPrevColumn();
244  break;
246  rSh.EndOfPrevColumn();
247  break;
248  default:
249  OSL_FAIL("wrong dispatcher");
250  return;
251  }
252  rReq.Done();
253 }
254 
256 {
257  SwWrtShell &rSh = GetShell();
259 
260  switch ( rReq.GetSlot() )
261  {
262  case FN_NEXT_WORD_SEL:
263  rSh.NxtWrd( true );
264  break;
265  case FN_NEXT_WORD:
266  rSh.NxtWrd();
267  break;
268  case FN_START_OF_PARA_SEL:
269  rSh.SttPara( true );
270  break;
271  case FN_START_OF_PARA:
272  rSh.SttPara();
273  break;
274  case FN_END_OF_PARA_SEL:
275  rSh.EndPara( true );
276  break;
277  case FN_END_OF_PARA:
278  rSh.EndPara();
279  break;
280  case FN_PREV_WORD_SEL:
281  rSh.PrvWrd( true );
282  break;
283  case FN_PREV_WORD:
284  rSh.PrvWrd();
285  break;
286  case FN_NEXT_SENT_SEL:
287  rSh.FwdSentence( true );
288  break;
289  case FN_NEXT_SENT:
290  rSh.FwdSentence();
291  break;
292  case FN_PREV_SENT_SEL:
293  rSh.BwdSentence( true );
294  break;
295  case FN_PREV_SENT:
296  rSh.BwdSentence();
297  break;
298  case FN_NEXT_PARA:
299  rSh.FwdPara();
300  break;
301  case FN_PREV_PARA:
302  rSh.BwdPara();
303  break;
304  default:
305  OSL_FAIL("wrong dispatcher");
306  return;
307  }
308  rReq.Done();
309 }
310 
312 {
313  SwWrtShell &rSh = GetShell();
314  const sal_uInt16 nSlot = rReq.GetSlot();
315  bool bSetRetVal = true, bRet = true;
316  switch ( nSlot )
317  {
318  case SID_FM_TOGGLECONTROLFOCUS:
319  {
320  const SwDoc* pDoc = rSh.GetDoc();
321  const SwDocShell* pDocShell = pDoc ? pDoc->GetDocShell() : nullptr;
322  const SwView* pView = pDocShell ? pDocShell->GetView() : nullptr;
323  const FmFormShell* pFormShell = pView ? pView->GetFormShell() : nullptr;
324  SdrView* pDrawView = pView ? pView->GetDrawView() : nullptr;
325  vcl::Window* pWindow = pView ? pView->GetWrtShell().GetWin() : nullptr;
326 
327  OSL_ENSURE( pFormShell && pDrawView && pWindow, "SwXTextView::ExecMoveMisc: no chance!" );
328  if ( !pFormShell || !pDrawView || !pWindow )
329  break;
330 
331  std::unique_ptr< svx::ISdrObjectFilter > pFilter( FmFormShell::CreateFocusableControlFilter(
332  *pDrawView, *pWindow ) );
333  if (!pFilter)
334  break;
335 
336  const SdrObject* pNearestControl = rSh.GetBestObject( true, GotoObjFlags::DrawControl, false, pFilter.get() );
337  if ( !pNearestControl )
338  break;
339 
340  const SdrUnoObj* pUnoObject = dynamic_cast< const SdrUnoObj* >( pNearestControl );
341  OSL_ENSURE( pUnoObject, "SwTextShell::ExecMoveMisc: GetBestObject returned nonsense!" );
342  if ( !pUnoObject )
343  break;
344 
345  pFormShell->ToggleControlFocus( *pUnoObject, *pDrawView, *pWindow );
346  }
347  break;
349  bRet = rSh.GotoObj(true, GotoObjFlags::Any);
350  if(bRet)
351  {
352  rSh.HideCursor();
353  rSh.EnterSelFrameMode();
354  }
355  break;
356  case FN_NEXT_FOOTNOTE:
357  rSh.MoveCursor();
358  bRet = rSh.GotoNextFootnoteAnchor();
359  break;
360  case FN_PREV_FOOTNOTE:
361  rSh.MoveCursor();
362  bRet = rSh.GotoPrevFootnoteAnchor();
363  break;
364  case FN_TO_HEADER:
365  rSh.MoveCursor();
366  if ( FrameTypeFlags::HEADER & rSh.GetFrameType(nullptr,false) )
367  rSh.SttPg();
368  else
369  {
370  bool bMoved = rSh.GotoHeaderText();
371  if ( !bMoved )
372  rSh.SttPg();
373  }
374  bSetRetVal = false;
375  break;
376  case FN_TO_FOOTER:
377  rSh.MoveCursor();
378  if ( FrameTypeFlags::FOOTER & rSh.GetFrameType(nullptr,false) )
379  rSh.EndPg();
380  else
381  {
382  bool bMoved = rSh.GotoFooterText();
383  if ( !bMoved )
384  rSh.EndPg();
385  }
386  bSetRetVal = false;
387  break;
389  rSh.MoveCursor();
390  if ( FrameTypeFlags::FOOTNOTE & rSh.GetFrameType(nullptr,false) )
391  rSh.GotoFootnoteAnchor();
392  else
393  rSh.GotoFootnoteText();
394  bSetRetVal = false;
395  break;
396  case FN_TO_FOOTNOTE_AREA :
397  rSh.GotoFootnoteText();
398  break;
399  case FN_PREV_TABLE:
400  bRet = rSh.MoveTable( GotoPrevTable, fnTableStart);
401  break;
402  case FN_NEXT_TABLE:
403  bRet = rSh.MoveTable(GotoNextTable, fnTableStart);
404  break;
405  case FN_GOTO_NEXT_REGION :
407  break;
408  case FN_GOTO_PREV_REGION :
410  break;
411  case FN_NEXT_TOXMARK:
412  bRet = rSh.GotoNxtPrvTOXMark();
413  break;
414  case FN_PREV_TOXMARK:
415  bRet = rSh.GotoNxtPrvTOXMark( false );
416  break;
417  case FN_NEXT_TBLFML:
418  bRet = rSh.GotoNxtPrvTableFormula();
419  break;
420  case FN_PREV_TBLFML:
421  bRet = rSh.GotoNxtPrvTableFormula( false );
422  break;
423  case FN_NEXT_TBLFML_ERR:
424  bRet = rSh.GotoNxtPrvTableFormula( true, true );
425  break;
426  case FN_PREV_TBLFML_ERR:
427  bRet = rSh.GotoNxtPrvTableFormula( false, true );
428  break;
429  default:
430  OSL_FAIL("wrong dispatcher");
431  return;
432  }
433 
434  if( bSetRetVal )
435  rReq.SetReturnValue(SfxBoolItem( nSlot, bRet ));
436  rReq.Done();
437 
438  bool bInHeader = true;
439  if ( rSh.IsInHeaderFooter( &bInHeader ) )
440  {
441  if ( !bInHeader )
442  {
445  }
446  else
447  {
450  }
451 
452  // Force repaint
453  rSh.GetWin()->Invalidate();
454  }
455  if ( rSh.IsInHeaderFooter() != rSh.IsHeaderFooterEdit() )
457 }
458 
459 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SfxViewFrame * GetViewFrame() const
#define FN_START_OF_PREV_COLUMN
Definition: cmdid.h:687
bool Right(sal_uInt16 nMode, bool bSelect, sal_uInt16 nCount, bool bBasicCall, bool bVisual=false)
Definition: move.cxx:123
void NxtWrd(bool bSelect=false)
Definition: wrtsh.hxx:210
bool SelNearestWrd()
Definition: select.cxx:62
#define FN_TO_FOOTNOTE_AREA
Definition: cmdid.h:702
bool SttPara(bool bSelect=false)
Definition: move.cxx:352
void ExecMoveCol(SfxRequest &)
Definition: txtcrsr.cxx:225
void ExecBasicMove(SfxRequest &)
Definition: txtcrsr.cxx:45
bool EndPg(bool bSelect=false)
Definition: move.cxx:346
void ToggleControlFocus(const SdrUnoObj &i_rNextCandidate, const SdrView &i_rView, OutputDevice &i_rDevice) const
void EndOfPrevColumn()
Definition: move.cxx:398
SwView & GetView()
Definition: basesh.hxx:57
#define FN_TO_FOOTER
Definition: cmdid.h:698
#define FN_END_OF_NEXT_COLUMN
Definition: cmdid.h:686
#define FN_PREV_FOOTNOTE
Definition: cmdid.h:692
bool GotoPrevTable(SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosTable, bool bInReadOnly)
Definition: trvltbl.cxx:480
SwDocShell * GetDocShell()
Definition: doc.hxx:1350
#define FN_PREV_SENT
Definition: cmdid.h:657
bool GotoNextFootnoteAnchor()
Definition: trvlfnfl.cxx:333
void StartOfPrevColumn()
Definition: move.cxx:392
#define FN_START_OF_PREV_PAGE
Definition: cmdid.h:646
SwWrtShell & GetShell()
Definition: basesh.cxx:2687
bool SttNxtPg(bool bSelect=false)
Definition: move.cxx:316
bool LeftMargin(bool bSelect, bool bBasicCall)
Definition: move.cxx:170
virtual void SetShowHeaderFooterSeparator(FrameControlType eControl, bool bShow) override
Definition: wrtsh1.cxx:1885
bool EndPrvPg(bool bSelect=false)
Definition: move.cxx:334
Definition: doc.hxx:186
bool GotoFootnoteAnchor()
jump from footnote to anchor
Definition: trvlfnfl.cxx:162
SwEditWin & GetEditWin()
Definition: view.hxx:402
void Done(bool bRemove=false)
#define FN_GOTO_PREV_REGION
Definition: cmdid.h:435
#define FN_TO_HEADER
Definition: cmdid.h:697
#define FN_NEXT_TABLE
Definition: cmdid.h:682
const SfxItemSet * GetArgs() 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...
Definition: crstrvl.cxx:386
bool GotoHeaderText()
jump from the content to the header
Definition: crstrvl.cxx:128
void FlushInBuffer()
Character buffer is inserted into the document.
Definition: edtwin.cxx:868
void SetUseInputLanguage(bool bNew)
#i42732# display status of font size/name depending on either the input language or the selection pos...
Definition: edtwin.cxx:6424
void SttPrvPg(bool bSelect=false)
Definition: move.cxx:322
SwWrtShell & GetWrtShell() const
Definition: view.hxx:399
Used by the UI to modify the document model.
Definition: wrtsh.hxx:90
bool IsHeaderFooterEdit() const
Acts both for headers / footers, depending on the bShow(Header|Footer)Separator flags.
Definition: viewsh.hxx:562
void SetSlot(sal_uInt16 nNewSlot)
#define FN_SELECT_WORD
Definition: cmdid.h:675
bool GotoFootnoteText()
jump from content to footnote
Definition: trvlfnfl.cxx:83
int nCount
void BwdPara()
Definition: wrtsh.hxx:229
bool PrvWrd(bool bSelect=false)
Definition: wrtsh.hxx:211
SwDoc * GetDoc() const
Definition: viewsh.hxx:281
#define FN_NEXT_TBLFML
Definition: cmdid.h:714
#define FN_START_OF_LINE
Definition: cmdid.h:641
#define FN_LINE_UP
Definition: cmdid.h:639
void ExecMovePage(SfxRequest &)
Definition: txtcrsr.cxx:175
#define FN_CNTNT_TO_NEXT_FRAME
Definition: cmdid.h:694
void ExecMoveLingu(SfxRequest &)
Definition: txtcrsr.cxx:255
virtual FmFormShell * GetFormShell() override
Definition: view.hxx:564
bool Up(bool bSelect, sal_uInt16 nCount=1, bool bBasicCall=false)
Definition: move.cxx:141
#define FN_CHAR_LEFT
Definition: cmdid.h:637
#define FN_PREV_TOXMARK
Definition: cmdid.h:713
SfxItemState GetItemState(sal_uInt16 nWhich, bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
int i
#define FN_PREV_TABLE
Definition: cmdid.h:683
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
Definition: edtwin.hxx:58
#define FN_START_OF_COLUMN
Definition: cmdid.h:650
void BwdSentence(bool bSelect=false)
Definition: wrtsh.hxx:233
void StartOfNextColumn()
Definition: move.cxx:380
const SdrObject * GetBestObject(bool bNext, GotoObjFlags eType, bool bFlat=true, const svx::ISdrObjectFilter *pFilter=nullptr)
Definition: feshview.cxx:1467
SfxBindings & GetBindings()
virtual void Invalidate(InvalidateFlags nFlags=InvalidateFlags::NONE)
void SelSentence(const Point *)
Definition: select.cxx:90
#define FN_GOTO_NEXT_REGION
Definition: cmdid.h:434
bool RightMargin(bool bSelect, bool bBasicCall)
Definition: move.cxx:186
#define FN_PREV_TBLFML_ERR
Definition: cmdid.h:717
#define FN_END_OF_PARA
Definition: cmdid.h:653
void ToggleHeaderFooterEdit()
Definition: fews.cxx:1318
#define FN_START_OF_PAGE
Definition: cmdid.h:648
void StartOfColumn()
Definition: move.cxx:368
#define FN_NEXT_PARA
Definition: cmdid.h:707
void SelAll()
Definition: select.cxx:122
bool StartOfSection(bool bSelect=false)
Definition: move.cxx:304
void FwdSentence(bool bSelect=false)
Definition: wrtsh.hxx:231
bool SttPg(bool bSelect=false)
Definition: move.cxx:340
bool GotoPrevFootnoteAnchor()
Definition: trvlfnfl.cxx:338
void SetReturnValue(const SfxPoolItem &)
bool GotoObj(bool bNext, GotoObjFlags eType=GotoObjFlags::DrawAny)
Definition: feshview.cxx:1649
const sal_uInt16 CRSR_SKIP_CELLS
Definition: swcrsr.hxx:66
bool GotoNextRegion(SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosRegion, bool bInReadOnly)
Definition: trvlreg.cxx:106
void EndOfColumn()
Definition: move.cxx:374
sal_uInt16 GetSlot() const
bool MoveRegion(SwWhichRegion, SwMoveFnCollection const &)
Definition: trvlreg.cxx:236
const css::uno::Reference< css::frame::XDispatchRecorder > & GetRecorder() const
#define FN_END_OF_LINE
Definition: cmdid.h:642
#define FN_START_OF_DOCUMENT
Definition: cmdid.h:643
#define FN_START_OF_NEXT_COLUMN
Definition: cmdid.h:685
bool Left(sal_uInt16 nMode, bool bSelect, sal_uInt16 nCount, bool bBasicCall, bool bVisual=false)
Definition: move.cxx:106
SwMoveFnCollection const & fnTableStart
Definition: paminit.cxx:52
#define FN_CHAR_RIGHT
Definition: cmdid.h:638
void MoveCursor(bool bWithSelect=false)
Definition: move.cxx:70
#define FN_PREV_TBLFML
Definition: cmdid.h:715
void EndPara(bool bSelect=false)
Definition: move.cxx:358
#define FN_NEXT_TBLFML_ERR
Definition: cmdid.h:716
bool MoveTable(SwWhichTable, SwMoveFnCollection const &)
Definition: trvltbl.cxx:681
vcl::Window * GetWin() const
Definition: viewsh.hxx:337
#define FN_START_OF_NEXT_PAGE
Definition: cmdid.h:644
#define FN_END_OF_PREV_PAGE
Definition: cmdid.h:647
#define FN_NEXT_WORD
Definition: cmdid.h:654
#define FN_START_OF_PARA
Definition: cmdid.h:652
void ExecMoveMisc(SfxRequest &)
Definition: txtcrsr.cxx:311
#define FN_SELECT_SENTENCE
Definition: cmdid.h:725
#define FN_END_OF_COLUMN
Definition: cmdid.h:651
#define FN_PREV_WORD
Definition: cmdid.h:655
#define FN_PARAM_MOVE_COUNT
Definition: cmdid.h:760
void EndOfNextColumn()
Definition: move.cxx:386
static::std::unique_ptr< svx::ISdrObjectFilter > CreateFocusableControlFilter(const SdrView &i_rView, const OutputDevice &i_rDevice)
#define FN_NEXT_FOOTNOTE
Definition: cmdid.h:691
bool Down(bool bSelect, sal_uInt16 nCount=1, bool bBasicCall=false)
Definition: move.cxx:155
bool GotoPrevRegion(SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosRegion, bool bInReadOnly)
Definition: trvlreg.cxx:31
void EndNxtPg(bool bSelect=false)
Definition: move.cxx:328
void AppendItem(const SfxPoolItem &)
bool GotoNxtPrvTOXMark(bool bNext=true)
jump to next/previous index marker
Definition: crstrvl.cxx:505
bool EndOfSection(bool bSelect=false)
Definition: move.cxx:310
bool GotoNextTable(SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosTable, bool bInReadOnly)
Definition: trvltbl.cxx:560
#define FN_END_OF_PREV_COLUMN
Definition: cmdid.h:688
const SwView * GetView() const
Definition: docsh.hxx:220
void EnterSelFrameMode(const Point *pStartDrag=nullptr)
Definition: select.cxx:701
#define FN_END_OF_PAGE
Definition: cmdid.h:649
virtual SdrView * GetDrawView() const override
Definition: viewdraw.cxx:612
#define FN_NEXT_TOXMARK
Definition: cmdid.h:712
#define FN_END_OF_NEXT_PAGE
Definition: cmdid.h:645
#define FN_NEXT_SENT
Definition: cmdid.h:656
#define FN_LINE_DOWN
Definition: cmdid.h:640
#define FN_FOOTNOTE_TO_ANCHOR
Definition: cmdid.h:690
bool IsInHeaderFooter(bool *pbInHeader=nullptr) const
Definition: crsrsh.cxx:751
void Ignore()
bool FwdPara()
Definition: wrtsh.hxx:227
FrameTypeFlags GetFrameType(const Point *pPt, bool bStopAtFly) const
For return values see above FrameType.
Definition: fews.cxx:236
void ExecMove(SfxRequest &)
Definition: txtcrsr.cxx:117
void HideCursor()
Definition: crsrsh.cxx:2405
#define FN_PREV_PARA
Definition: cmdid.h:706
Definition: view.hxx:144
#define FN_PARAM_MOVE_SELECTION
Definition: cmdid.h:761
bool GotoFooterText()
jump from the content to the footer
Definition: crstrvl.cxx:156
SwMoveFnCollection const & fnRegionStart
Definition: paminit.cxx:55