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 #include <osl/diagnose.h>
29 
30 #include <view.hxx>
31 #include <wrtsh.hxx>
32 #include <textsh.hxx>
33 #include <edtwin.hxx>
34 #include <doc.hxx>
35 #include <docsh.hxx>
36 
37 #include <cmdid.h>
38 #include <globals.hrc>
39 
40 #include <svx/svdouno.hxx>
41 #include <svx/fmshell.hxx>
42 #include <svx/sdrobjectfilter.hxx>
43 
44 using namespace ::com::sun::star;
45 
47 {
48  SwWrtShell &rSh = GetShell();
50  const SfxItemSet *pArgs = rReq.GetArgs();
51  bool bSelect = false;
52  sal_Int32 nCount = 1;
53  if(pArgs)
54  {
55  const SfxPoolItem *pItem;
56  if(SfxItemState::SET == pArgs->GetItemState(FN_PARAM_MOVE_COUNT, true, &pItem))
57  nCount = static_cast<const SfxInt32Item *>(pItem)->GetValue();
58  if(SfxItemState::SET == pArgs->GetItemState(FN_PARAM_MOVE_SELECTION, true, &pItem))
59  bSelect = static_cast<const SfxBoolItem *>(pItem)->GetValue();
60  }
61  switch(rReq.GetSlot())
62  {
63  case FN_CHAR_LEFT_SEL:
64  rReq.SetSlot( FN_CHAR_LEFT );
65  bSelect = true;
66  break;
67  case FN_CHAR_RIGHT_SEL:
68  rReq.SetSlot( FN_CHAR_RIGHT );
69  bSelect = true;
70  break;
71  case FN_LINE_UP_SEL:
72  rReq.SetSlot( FN_LINE_UP );
73  bSelect = true;
74  break;
75  case FN_LINE_DOWN_SEL:
76  rReq.SetSlot( FN_LINE_DOWN );
77  bSelect = true;
78  break;
79  }
80 
81  uno::Reference< frame::XDispatchRecorder > xRecorder =
83  if ( xRecorder.is() )
84  {
87  }
88  const sal_uInt16 nSlot = rReq.GetSlot();
89  rReq.Done();
90  // Get EditWin before calling the move functions (shell change may occur!)
91  SwEditWin& rTmpEditWin = GetView().GetEditWin();
92  for( sal_Int32 i = 0; i < nCount; i++ )
93  {
94  switch(nSlot)
95  {
96  case FN_CHAR_LEFT:
97  rSh.Left( CRSR_SKIP_CELLS, bSelect, 1, false, true );
98  break;
99  case FN_CHAR_RIGHT:
100  rSh.Right( CRSR_SKIP_CELLS, bSelect, 1, false, true );
101  break;
102  case FN_LINE_UP:
103  rSh.Up( bSelect );
104  break;
105  case FN_LINE_DOWN:
106  rSh.Down( bSelect );
107  break;
108  default:
109  OSL_FAIL("wrong Dispatcher");
110  return;
111  }
112  }
113 
114  //#i42732# - notify the edit window that from now on we do not use the input language
115  rTmpEditWin.SetUseInputLanguage( false );
116 }
117 
119 {
120  SwWrtShell &rSh = GetShell();
121  rSh.addCurrentPosition();
122  SwEditWin& rTmpEditWin = GetView().GetEditWin();
123  rTmpEditWin.FlushInBuffer();
124 
125  bool bRet = false;
126  switch ( rReq.GetSlot() )
127  {
128  case FN_START_OF_LINE_SEL:
129  bRet = rSh.LeftMargin( true, false );
130  break;
131  case FN_START_OF_LINE:
132  bRet = rSh.LeftMargin( false, false );
133  break;
134  case FN_END_OF_LINE_SEL:
135  bRet = rSh.RightMargin( true, false );
136  break;
137  case FN_END_OF_LINE:
138  bRet = rSh.RightMargin( false, false );
139  break;
140  case FN_START_OF_DOCUMENT_SEL:
141  bRet = rSh.StartOfSection( true );
142  break;
144  bRet = rSh.StartOfSection();
145  break;
146  case FN_END_OF_DOCUMENT_SEL:
147  bRet = rSh.EndOfSection( true );
148  break;
149  case FN_END_OF_DOCUMENT:
150  bRet = rSh.EndOfSection();
151  break;
152  case FN_SELECT_WORD:
153  bRet = rSh.SelNearestWrd();
154  break;
155  case FN_SELECT_SENTENCE:
156  rSh.SelSentence( nullptr );
157  bRet = true;
158  break;
159  case SID_SELECTALL:
160  rSh.SelAll();
161  bRet = true;
162  break;
163  default:
164  OSL_FAIL("wrong dispatcher");
165  return;
166  }
167 
168  if ( bRet )
169  rReq.Done();
170  else
171  rReq.Ignore();
172 
173  //#i42732# - notify the edit window that from now on we do not use the input language
174  rTmpEditWin.SetUseInputLanguage( false );
175 }
176 
178 {
179  SwWrtShell &rSh = GetShell();
180  rSh.addCurrentPosition();
182 
183  switch( rReq.GetSlot() )
184  {
185  case FN_START_OF_NEXT_PAGE_SEL :
186  rSh.SttNxtPg( true );
187  break;
189  rSh.SttNxtPg();
190  break;
191  case FN_END_OF_NEXT_PAGE_SEL:
192  rSh.EndNxtPg( true );
193  break;
194  case FN_END_OF_NEXT_PAGE:
195  rSh.EndNxtPg();
196  break;
197  case FN_START_OF_PREV_PAGE_SEL:
198  rSh.SttPrvPg( true );
199  break;
201  rSh.SttPrvPg();
202  break;
203  case FN_END_OF_PREV_PAGE_SEL:
204  rSh.EndPrvPg( true );
205  break;
206  case FN_END_OF_PREV_PAGE:
207  rSh.EndPrvPg();
208  break;
209  case FN_START_OF_PAGE_SEL:
210  rSh.SttPg( true );
211  break;
212  case FN_START_OF_PAGE:
213  rSh.SttPg();
214  break;
215  case FN_END_OF_PAGE_SEL:
216  rSh.EndPg( true );
217  break;
218  case FN_END_OF_PAGE:
219  rSh.EndPg();
220  break;
221  default:
222  OSL_FAIL("wrong dispatcher");
223  return;
224  }
225  rReq.Done();
226 }
227 
229 {
230  SwWrtShell &rSh = GetShell();
231  rSh.addCurrentPosition();
232  switch ( rReq.GetSlot() )
233  {
234  case FN_START_OF_COLUMN:
235  rSh.StartOfColumn();
236  break;
237  case FN_END_OF_COLUMN:
238  rSh.EndOfColumn();
239  break;
241  rSh.StartOfNextColumn() ;
242  break;
244  rSh.EndOfNextColumn();
245  break;
247  rSh.StartOfPrevColumn();
248  break;
250  rSh.EndOfPrevColumn();
251  break;
252  default:
253  OSL_FAIL("wrong dispatcher");
254  return;
255  }
256  rReq.Done();
257 }
258 
260 {
261  SwWrtShell &rSh = GetShell();
262  rSh.addCurrentPosition();
264 
265  switch ( rReq.GetSlot() )
266  {
267  case FN_NEXT_WORD_SEL:
268  rSh.NxtWrd( true );
269  break;
270  case FN_NEXT_WORD:
271  rSh.NxtWrd();
272  break;
273  case FN_START_OF_PARA_SEL:
274  rSh.SttPara( true );
275  break;
276  case FN_START_OF_PARA:
277  rSh.SttPara();
278  break;
279  case FN_END_OF_PARA_SEL:
280  rSh.EndPara( true );
281  break;
282  case FN_END_OF_PARA:
283  rSh.EndPara();
284  break;
285  case FN_PREV_WORD_SEL:
286  rSh.PrvWrd( true );
287  break;
288  case FN_PREV_WORD:
289  rSh.PrvWrd();
290  break;
291  case FN_NEXT_SENT_SEL:
292  rSh.FwdSentence( true );
293  break;
294  case FN_NEXT_SENT:
295  rSh.FwdSentence();
296  break;
297  case FN_PREV_SENT_SEL:
298  rSh.BwdSentence( true );
299  break;
300  case FN_PREV_SENT:
301  rSh.BwdSentence();
302  break;
303  case FN_NEXT_PARA:
304  rSh.FwdPara();
305  break;
306  case FN_PREV_PARA:
307  rSh.BwdPara();
308  break;
309  default:
310  OSL_FAIL("wrong dispatcher");
311  return;
312  }
313  rReq.Done();
314 }
315 
317 {
318  SwWrtShell &rSh = GetShell();
319  rSh.addCurrentPosition();
320  const sal_uInt16 nSlot = rReq.GetSlot();
321  bool bSetRetVal = true, bRet = true;
322  switch ( nSlot )
323  {
324  case SID_FM_TOGGLECONTROLFOCUS:
325  {
326  const SwDoc* pDoc = rSh.GetDoc();
327  const SwDocShell* pDocShell = pDoc ? pDoc->GetDocShell() : nullptr;
328  const SwView* pView = pDocShell ? pDocShell->GetView() : nullptr;
329  const FmFormShell* pFormShell = pView ? pView->GetFormShell() : nullptr;
330  SdrView* pDrawView = pView ? pView->GetDrawView() : nullptr;
331  vcl::Window* pWindow = pView ? pView->GetWrtShell().GetWin() : nullptr;
332 
333  OSL_ENSURE( pFormShell && pDrawView && pWindow, "SwXTextView::ExecMoveMisc: no chance!" );
334  if ( !pFormShell || !pDrawView || !pWindow )
335  break;
336 
337  std::unique_ptr< svx::ISdrObjectFilter > pFilter( FmFormShell::CreateFocusableControlFilter(
338  *pDrawView, *pWindow->GetOutDev() ) );
339  if (!pFilter)
340  break;
341 
342  const SdrObject* pNearestControl = rSh.GetBestObject( true, GotoObjFlags::DrawControl, false, pFilter.get() );
343  if ( !pNearestControl )
344  break;
345 
346  const SdrUnoObj* pUnoObject = dynamic_cast< const SdrUnoObj* >( pNearestControl );
347  OSL_ENSURE( pUnoObject, "SwTextShell::ExecMoveMisc: GetBestObject returned nonsense!" );
348  if ( !pUnoObject )
349  break;
350 
351  pFormShell->ToggleControlFocus( *pUnoObject, *pDrawView, *pWindow->GetOutDev() );
352  }
353  break;
355  bRet = rSh.GotoObj(true, GotoObjFlags::Any);
356  if(bRet)
357  {
358  rSh.HideCursor();
359  rSh.EnterSelFrameMode();
360  }
361  break;
362  case FN_NEXT_FOOTNOTE:
363  rSh.MoveCursor();
364  bRet = rSh.GotoNextFootnoteAnchor();
365  break;
366  case FN_PREV_FOOTNOTE:
367  rSh.MoveCursor();
368  bRet = rSh.GotoPrevFootnoteAnchor();
369  break;
370  case FN_TO_HEADER:
371  rSh.MoveCursor();
372  if ( FrameTypeFlags::HEADER & rSh.GetFrameType(nullptr,false) )
373  rSh.SttPg();
374  else
375  {
376  bool bMoved = rSh.GotoHeaderText();
377  if ( !bMoved )
378  rSh.SttPg();
379  }
380  bSetRetVal = false;
381  break;
382  case FN_TO_FOOTER:
383  rSh.MoveCursor();
384  if ( FrameTypeFlags::FOOTER & rSh.GetFrameType(nullptr,false) )
385  rSh.EndPg();
386  else
387  {
388  bool bMoved = rSh.GotoFooterText();
389  if ( !bMoved )
390  rSh.EndPg();
391  }
392  bSetRetVal = false;
393  break;
395  rSh.MoveCursor();
396  if ( FrameTypeFlags::FOOTNOTE & rSh.GetFrameType(nullptr,false) )
397  rSh.GotoFootnoteAnchor();
398  else
399  rSh.GotoFootnoteText();
400  bSetRetVal = false;
401  break;
402  case FN_TO_FOOTNOTE_AREA :
403  rSh.GotoFootnoteText();
404  break;
405  case FN_PREV_TABLE:
406  bRet = rSh.MoveTable( GotoPrevTable, fnTableStart);
407  break;
408  case FN_NEXT_TABLE:
409  bRet = rSh.MoveTable(GotoNextTable, fnTableStart);
410  break;
411  case FN_GOTO_NEXT_REGION :
413  break;
414  case FN_GOTO_PREV_REGION :
416  break;
417  case FN_NEXT_TOXMARK:
418  bRet = rSh.GotoNxtPrvTOXMark();
419  break;
420  case FN_PREV_TOXMARK:
421  bRet = rSh.GotoNxtPrvTOXMark( false );
422  break;
423  case FN_NEXT_TBLFML:
424  bRet = rSh.GotoNxtPrvTableFormula();
425  break;
426  case FN_PREV_TBLFML:
427  bRet = rSh.GotoNxtPrvTableFormula( false );
428  break;
429  case FN_NEXT_TBLFML_ERR:
430  bRet = rSh.GotoNxtPrvTableFormula( true, true );
431  break;
432  case FN_PREV_TBLFML_ERR:
433  bRet = rSh.GotoNxtPrvTableFormula( false, true );
434  break;
435  default:
436  OSL_FAIL("wrong dispatcher");
437  return;
438  }
439 
440  if( bSetRetVal )
441  rReq.SetReturnValue(SfxBoolItem( nSlot, bRet ));
442  rReq.Done();
443 
444  bool bInHeader = true;
445  if ( rSh.IsInHeaderFooter( &bInHeader ) )
446  {
447  if ( !bInHeader )
448  {
451  }
452  else
453  {
456  }
457 
458  // Force repaint
459  rSh.GetWin()->Invalidate();
460  }
461  if ( rSh.IsInHeaderFooter() != rSh.IsHeaderFooterEdit() )
463 }
464 
465 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SfxViewFrame * GetViewFrame() const
#define FN_START_OF_PREV_COLUMN
Definition: cmdid.h:688
bool Right(sal_uInt16 nMode, bool bSelect, sal_uInt16 nCount, bool bBasicCall, bool bVisual=false)
Definition: move.cxx:127
void NxtWrd(bool bSelect=false)
Definition: wrtsh.hxx:213
bool SelNearestWrd()
Definition: select.cxx:63
#define FN_TO_FOOTNOTE_AREA
Definition: cmdid.h:703
bool SttPara(bool bSelect=false)
Definition: move.cxx:356
void ExecMoveCol(SfxRequest &)
Definition: txtcrsr.cxx:228
void ExecBasicMove(SfxRequest &)
Definition: txtcrsr.cxx:46
bool EndPg(bool bSelect=false)
Definition: move.cxx:350
void EndOfPrevColumn()
Definition: move.cxx:402
SwView & GetView()
Definition: basesh.hxx:59
#define FN_TO_FOOTER
Definition: cmdid.h:699
#define FN_END_OF_NEXT_COLUMN
Definition: cmdid.h:687
#define FN_PREV_FOOTNOTE
Definition: cmdid.h:693
bool GotoPrevTable(SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosTable, bool bInReadOnly)
Definition: trvltbl.cxx:481
SwDocShell * GetDocShell()
Definition: doc.hxx:1352
#define FN_PREV_SENT
Definition: cmdid.h:658
bool GotoNextFootnoteAnchor()
Definition: trvlfnfl.cxx:333
void StartOfPrevColumn()
Definition: move.cxx:396
#define FN_START_OF_PREV_PAGE
Definition: cmdid.h:647
SwWrtShell & GetShell()
Definition: basesh.cxx:2763
bool SttNxtPg(bool bSelect=false)
Definition: move.cxx:320
bool LeftMargin(bool bSelect, bool bBasicCall)
Definition: move.cxx:174
virtual void SetShowHeaderFooterSeparator(FrameControlType eControl, bool bShow) override
Definition: wrtsh1.cxx:1928
bool EndPrvPg(bool bSelect=false)
Definition: move.cxx:338
Definition: doc.hxx:188
bool GotoFootnoteAnchor()
jump from footnote to anchor
Definition: trvlfnfl.cxx:162
SwEditWin & GetEditWin()
Definition: view.hxx:416
void Done(bool bRemove=false)
#define FN_GOTO_PREV_REGION
Definition: cmdid.h:435
#define FN_TO_HEADER
Definition: cmdid.h:698
#define FN_NEXT_TABLE
Definition: cmdid.h:683
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:389
bool GotoHeaderText()
jump from the content to the header
Definition: crstrvl.cxx:131
void FlushInBuffer()
Character buffer is inserted into the document.
Definition: edtwin.cxx:872
void SetUseInputLanguage(bool bNew)
#i42732# display status of font size/name depending on either the input language or the selection pos...
Definition: edtwin.cxx:6381
void SttPrvPg(bool bSelect=false)
Definition: move.cxx:326
SwWrtShell & GetWrtShell() const
Definition: view.hxx:413
Used by the UI to modify the document model.
Definition: wrtsh.hxx:93
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:676
bool GotoFootnoteText()
jump from content to footnote
Definition: trvlfnfl.cxx:83
int nCount
void BwdPara()
Definition: wrtsh.hxx:232
bool PrvWrd(bool bSelect=false)
Definition: wrtsh.hxx:214
SwDoc * GetDoc() const
Definition: viewsh.hxx:281
#define FN_NEXT_TBLFML
Definition: cmdid.h:715
#define FN_START_OF_LINE
Definition: cmdid.h:642
#define FN_LINE_UP
Definition: cmdid.h:640
void ExecMovePage(SfxRequest &)
Definition: txtcrsr.cxx:177
#define FN_CNTNT_TO_NEXT_FRAME
Definition: cmdid.h:695
void ExecMoveLingu(SfxRequest &)
Definition: txtcrsr.cxx:259
virtual FmFormShell * GetFormShell() override
Definition: view.hxx:578
bool Up(bool bSelect, sal_uInt16 nCount=1, bool bBasicCall=false)
Definition: move.cxx:145
#define FN_CHAR_LEFT
Definition: cmdid.h:638
#define FN_PREV_TOXMARK
Definition: cmdid.h:714
SfxItemState GetItemState(sal_uInt16 nWhich, bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
int i
#define FN_PREV_TABLE
Definition: cmdid.h:684
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:651
void BwdSentence(bool bSelect=false)
Definition: wrtsh.hxx:236
void StartOfNextColumn()
Definition: move.cxx:384
const SdrObject * GetBestObject(bool bNext, GotoObjFlags eType, bool bFlat=true, const svx::ISdrObjectFilter *pFilter=nullptr)
Definition: feshview.cxx:1557
SfxBindings & GetBindings()
virtual void Invalidate(InvalidateFlags nFlags=InvalidateFlags::NONE)
void SelSentence(const Point *)
Definition: select.cxx:91
#define FN_GOTO_NEXT_REGION
Definition: cmdid.h:434
bool RightMargin(bool bSelect, bool bBasicCall)
Definition: move.cxx:190
#define FN_PREV_TBLFML_ERR
Definition: cmdid.h:718
#define FN_END_OF_PARA
Definition: cmdid.h:654
void ToggleHeaderFooterEdit()
Definition: fews.cxx:1320
#define FN_START_OF_PAGE
Definition: cmdid.h:649
void StartOfColumn()
Definition: move.cxx:372
#define FN_NEXT_PARA
Definition: cmdid.h:708
void SelAll()
Definition: select.cxx:123
bool StartOfSection(bool bSelect=false)
Definition: move.cxx:308
void FwdSentence(bool bSelect=false)
Definition: wrtsh.hxx:234
bool SttPg(bool bSelect=false)
Definition: move.cxx:344
bool GotoPrevFootnoteAnchor()
Definition: trvlfnfl.cxx:338
void SetReturnValue(const SfxPoolItem &)
bool GotoObj(bool bNext, GotoObjFlags eType=GotoObjFlags::DrawAny)
Definition: feshview.cxx:1739
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:378
sal_uInt16 GetSlot() const
bool MoveRegion(SwWhichRegion, SwMoveFnCollection const &)
Definition: trvlreg.cxx:236
void addCurrentPosition()
Definition: wrtsh1.cxx:1578
const css::uno::Reference< css::frame::XDispatchRecorder > & GetRecorder() const
#define FN_END_OF_LINE
Definition: cmdid.h:643
#define FN_START_OF_DOCUMENT
Definition: cmdid.h:644
#define FN_START_OF_NEXT_COLUMN
Definition: cmdid.h:686
bool Left(sal_uInt16 nMode, bool bSelect, sal_uInt16 nCount, bool bBasicCall, bool bVisual=false)
Definition: move.cxx:110
SwMoveFnCollection const & fnTableStart
Definition: paminit.cxx:52
#define FN_CHAR_RIGHT
Definition: cmdid.h:639
void MoveCursor(bool bWithSelect=false)
Definition: move.cxx:74
#define FN_PREV_TBLFML
Definition: cmdid.h:716
void EndPara(bool bSelect=false)
Definition: move.cxx:362
#define FN_NEXT_TBLFML_ERR
Definition: cmdid.h:717
bool MoveTable(SwWhichTable, SwMoveFnCollection const &)
Definition: trvltbl.cxx:682
vcl::Window * GetWin() const
Definition: viewsh.hxx:337
#define FN_START_OF_NEXT_PAGE
Definition: cmdid.h:645
#define FN_END_OF_PREV_PAGE
Definition: cmdid.h:648
::OutputDevice const * GetOutDev() const
#define FN_NEXT_WORD
Definition: cmdid.h:655
#define FN_START_OF_PARA
Definition: cmdid.h:653
void ExecMoveMisc(SfxRequest &)
Definition: txtcrsr.cxx:316
#define FN_SELECT_SENTENCE
Definition: cmdid.h:726
#define FN_END_OF_COLUMN
Definition: cmdid.h:652
#define FN_PREV_WORD
Definition: cmdid.h:656
#define FN_PARAM_MOVE_COUNT
Definition: cmdid.h:762
void EndOfNextColumn()
Definition: move.cxx:390
static::std::unique_ptr< svx::ISdrObjectFilter > CreateFocusableControlFilter(const SdrView &i_rView, const OutputDevice &i_rDevice)
#define FN_NEXT_FOOTNOTE
Definition: cmdid.h:692
bool Down(bool bSelect, sal_uInt16 nCount=1, bool bBasicCall=false)
Definition: move.cxx:159
bool GotoPrevRegion(SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosRegion, bool bInReadOnly)
Definition: trvlreg.cxx:31
void ToggleControlFocus(const SdrUnoObj &i_rNextCandidate, const SdrView &i_rView, const OutputDevice &i_rDevice) const
void EndNxtPg(bool bSelect=false)
Definition: move.cxx:332
void AppendItem(const SfxPoolItem &)
bool GotoNxtPrvTOXMark(bool bNext=true)
jump to next/previous index marker
Definition: crstrvl.cxx:508
bool EndOfSection(bool bSelect=false)
Definition: move.cxx:314
bool GotoNextTable(SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosTable, bool bInReadOnly)
Definition: trvltbl.cxx:561
#define FN_END_OF_PREV_COLUMN
Definition: cmdid.h:689
const SwView * GetView() const
Definition: docsh.hxx:220
void EnterSelFrameMode(const Point *pStartDrag=nullptr)
Definition: select.cxx:702
#define FN_END_OF_PAGE
Definition: cmdid.h:650
virtual SdrView * GetDrawView() const override
Definition: viewdraw.cxx:621
#define FN_NEXT_TOXMARK
Definition: cmdid.h:713
#define FN_END_OF_NEXT_PAGE
Definition: cmdid.h:646
#define FN_NEXT_SENT
Definition: cmdid.h:657
#define FN_LINE_DOWN
Definition: cmdid.h:641
#define FN_FOOTNOTE_TO_ANCHOR
Definition: cmdid.h:691
bool IsInHeaderFooter(bool *pbInHeader=nullptr) const
Definition: crsrsh.cxx:752
void Ignore()
bool FwdPara()
Definition: wrtsh.hxx:230
FrameTypeFlags GetFrameType(const Point *pPt, bool bStopAtFly) const
For return values see above FrameType.
Definition: fews.cxx:237
void ExecMove(SfxRequest &)
Definition: txtcrsr.cxx:118
void HideCursor()
Definition: crsrsh.cxx:2408
#define FN_PREV_PARA
Definition: cmdid.h:707
Definition: view.hxx:144
#define FN_PARAM_MOVE_SELECTION
Definition: cmdid.h:763
bool GotoFooterText()
jump from the content to the footer
Definition: crstrvl.cxx:159
SwMoveFnCollection const & fnRegionStart
Definition: paminit.cxx:55