LibreOffice Module sw (master)  1
delete.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 <wrtsh.hxx>
21 #include <swcrsr.hxx>
22 #include <editeng/lrspitem.hxx>
23 #include <view.hxx>
24 #include <drawbase.hxx>
25 #include <unobaseclass.hxx>
26 #include <fmtanchr.hxx>
27 #include <flyfrm.hxx>
28 #include <ndtxt.hxx>
29 #include <txtfld.hxx>
30 #include <docufld.hxx>
31 #include <IDocumentUndoRedo.hxx>
32 #include <i18nutil/unicode.hxx>
33 #include <rtl/character.hxx>
34 
35 inline void SwWrtShell::OpenMark()
36 {
39  KillPams();
40  SetMark();
41 }
42 
43 inline void SwWrtShell::CloseMark( bool bOkFlag )
44 {
45  if( bOkFlag )
46  UpdateAttr();
47  else
48  SwapPam();
49 
50  ClearMark();
51  EndAllAction();
52 }
53 
54 
55 
56 // #i23725#
58 {
59  bool bResult = false;
60 
62  GetCurAttr(aAttrSet);
63 
64  SvxLRSpaceItem aItem = aAttrSet.Get(RES_LR_SPACE);
65  short aOldFirstLineOfst = aItem.GetTextFirstLineOfst();
66 
67  if (aOldFirstLineOfst > 0)
68  {
69  aItem.SetTextFirstLineOfst(0);
70  bResult = true;
71  }
72  else if (aOldFirstLineOfst < 0)
73  {
74  aItem.SetTextFirstLineOfst(0);
75  aItem.SetLeft(aItem.GetLeft() + aOldFirstLineOfst);
76 
77  bResult = true;
78  }
79  else if (aItem.GetLeft() != 0)
80  {
81  aItem.SetLeft(0);
82  bResult = true;
83  }
84 
85  if (bResult)
86  {
87  aAttrSet.Put(aItem);
88  SetAttrSet(aAttrSet);
89  }
90 
91  return bResult;
92 }
93 
97 {
98  SwActContext aActContext(this);
100  // remember the old cursor
101  Push();
102  ClearMark();
104  SetMark();
106 
107  bool bRet = Delete();
109  if( bRet )
110  UpdateAttr();
111 }
112 
114 {
115  OpenMark();
117  bool bRet = Delete();
118  CloseMark( bRet );
119 }
120 
122 {
123  OpenMark();
125  bool bRet = Delete();
126  CloseMark( bRet );
127 }
128 
130 {
131  // If it's a Fly, throw it away
132  SelectionType nSelType = GetSelectionType();
134  if( nCmp & nSelType )
135  {
136  // #108205# Remember object's position.
137  Point aTmpPt = GetObjRect().TopLeft();
138 
139  DelSelectedObj();
140 
141  // #108205# Set cursor to remembered position.
142  SetCursor(&aTmpPt);
143 
145  UnSelectFrame();
146 
147  nSelType = GetSelectionType();
148  if ( nCmp & nSelType )
149  {
151  GotoNextFly();
152  }
153 
154  return true;
155  }
156 
157  // If a selection exists, erase this
158  if ( IsSelection() )
159  {
160  if( !IsBlockMode() || HasSelection() )
161  {
162  //OS: Once again Basic: SwActContext must be leaved
163  //before EnterStdMode!
164  {
165  SwActContext aActContext(this);
167  Delete();
168  UpdateAttr();
169  }
170  if( IsBlockMode() )
171  {
172  NormalizePam();
173  ClearMark();
174  EnterBlockMode();
175  }
176  else
177  EnterStdMode();
178  return true;
179  }
180  else
181  EnterStdMode();
182  }
183 
184  // JP 29.06.95: never erase a table standing in front of it.
185  bool bSwap = false;
186  const SwTableNode * pWasInTableNd = SwCursorShell::IsCursorInTable();
187 
189  {
190  // Start/EndAllAction to avoid cursor flickering
193 
194  // #i4032# Don't actually call a 'delete' if we
195  // changed the table cell, compare DelRight().
196  const SwStartNode * pSNdOld = pWasInTableNd ?
198  nullptr;
199 
200  // If the cursor is at the beginning of a paragraph, try to step
201  // backwards. On failure we are done.
202  bool bDoSomething = SwCursorShell::Left(1,CRSR_SKIP_CHARS);
203 
204  if (bDoSomething)
205  {
206  // If the cursor entered or left a table (or both) we are done.
207  const SwTableNode* pIsInTableNd = SwCursorShell::IsCursorInTable();
208  bDoSomething = pIsInTableNd == pWasInTableNd;
209 
210  if (bDoSomething)
211  {
212  const SwStartNode* pSNdNew = pIsInTableNd ?
214  nullptr;
215 
216  // #i4032# Don't actually call a 'delete' if we
217  // changed the table cell, compare DelRight().
218  bDoSomething = pSNdOld == pSNdNew;
219  }
220  }
221 
222  if (!bDoSomething)
223  {
224  // tdf#115132 Restore previous position and we are done
226  return false;
227  }
228 
230 
231  OpenMark();
234  bSwap = true;
235  }
236  else
237  {
238  // If we are just to the right to a fieldmark, then remove it completely
239  const SwPosition* pCurPos = GetCursor()->GetPoint();
240  SwPosition aPrevChar(*pCurPos);
241  --aPrevChar.nContent;
243  if (pFm && pFm->GetMarkEnd() == *pCurPos)
244  {
246  return true;
247  }
248 
249  OpenMark();
251  if (SvtScriptType::ASIAN == GetScriptType())
252  {
253  sal_uInt32 nCode = GetChar(false);
254  if ( rtl::isSurrogate( nCode ) )
255  {
256  OUString sStr = GetSelText();
257  sal_Int32 nIndex = 0;
258  nCode = sStr.iterateCodePoints( &nIndex );
259  }
260 
261  if ( unicode::isIVSSelector( nCode ) )
262  {
265  OUString sStr = GetSelText();
266  sal_Int32 nIndex = 0;
267  nCode = sStr.iterateCodePoints( &nIndex );
268  if ( unicode::isCJKIVSCharacter( nCode ) )
270  else
272  }
273  }
274  }
275  bool bRet = Delete();
276  if( !bRet && bSwap )
278  CloseMark( bRet );
279  return bRet;
280 }
281 
283 {
284  // Will be or'ed, if a tableselection exists;
285  // will here be implemented on SelectionType::Table
286  bool bRet = false;
287  SelectionType nSelection = GetSelectionType();
288  if(nSelection & SelectionType::TableCell)
289  nSelection = SelectionType::Table;
290  if(nSelection & SelectionType::Text)
291  nSelection = SelectionType::Text;
292 
293  switch( nSelection & ~SelectionType::Ornament )
294  {
296  case SelectionType::Text:
299  // If a selection exists, erase it.
300  if( IsSelection() )
301  {
302  if( !IsBlockMode() || HasSelection() )
303  {
304  //OS: And once again Basic: SwActContext must be
305  //leaved before EnterStdMode !
306  {
307  SwActContext aActContext(this);
309  Delete();
310  UpdateAttr();
311  }
312  if( IsBlockMode() )
313  {
314  NormalizePam();
315  ClearMark();
316  EnterBlockMode();
317  }
318  else
319  EnterStdMode();
320  bRet = true;
321  break;
322  }
323  else
324  EnterStdMode();
325  }
326 
328  {
329  // Start/EndAllAction to avoid cursor flickering
331 
332  const SwTableNode* pWasInTableNd = IsCursorInTable();
333  // #108049# Save the startnode of the current cell
334  const SwStartNode* pSNdOld = pWasInTableNd ?
335  GetSwCursor()->GetNode().FindTableBoxStartNode() : nullptr;
336  bool bCheckDelFull = SelectionType::Text & nSelection && SwCursorShell::IsSttPara();
337  bool bDelFull = false;
338  bool bDoNothing = false;
339 
340  // #i41424# Introduced a couple of
341  // Push()-Pop() pairs here. The reason for this is that a
342  // Right()-Left() combination does not make sure, that
343  // the cursor will be in its initial state, because there
344  // may be a numbering in front of the next paragraph.
346 
348  {
349  const SwTableNode* pCurrTableNd = IsCursorInTable();
350  bDelFull = bCheckDelFull && pCurrTableNd && pCurrTableNd != pWasInTableNd;
351  if (!bDelFull && (IsCursorInTable() || (pCurrTableNd != pWasInTableNd)))
352  {
353  // #108049# Save the startnode of the current cell.
354  // May be different to pSNdOld as we have moved.
355  const SwStartNode* pSNdNew = pCurrTableNd ?
356  GetSwCursor()->GetNode().FindTableBoxStartNode() : nullptr;
357 
358  // tdf#115132 Only keep cursor position instead of deleting
359  // if we have moved to a different cell
360  bDoNothing = pSNdOld != pSNdNew;
361  }
362  }
363 
364  // restore cursor
366 
367  if (bDelFull)
368  {
369  DelFullPara();
370  UpdateAttr();
371  }
372  if (bDelFull || bDoNothing)
373  break;
374  }
375 
376  {
377  // If we are just ahead of a fieldmark, then remove it completely
379  if (pFm && pFm->GetMarkStart() == *GetCursor()->GetPoint())
380  {
382  bRet = true;
383  break;
384  }
385  }
386 
387  OpenMark();
389  bRet = Delete();
390  CloseMark( bRet );
391  break;
392 
395  case SelectionType::Ole:
399  {
400  // #108205# Remember object's position.
401  Point aTmpPt = GetObjRect().TopLeft();
402 
403  // Remember the anchor of the selected object before deletion.
404  std::unique_ptr<SwPosition> pAnchor;
406  if (pFly)
407  {
408  SwFrameFormat* pFormat = pFly->GetFormat();
409  if (pFormat)
410  {
411  RndStdIds eAnchorId = pFormat->GetAnchor().GetAnchorId();
412  if ((eAnchorId == RndStdIds::FLY_AS_CHAR || eAnchorId == RndStdIds::FLY_AT_CHAR)
413  && pFormat->GetAnchor().GetContentAnchor())
414  {
415  pAnchor.reset(new SwPosition(*pFormat->GetAnchor().GetContentAnchor()));
416  }
417  }
418  }
419 
420  // Group deletion of the object and its comment together.
421  mxDoc->GetIDocumentUndoRedo().StartUndo(SwUndoId::EMPTY, nullptr);
422 
423  DelSelectedObj();
424 
425  if (pAnchor)
426  {
427  SwTextNode* pTextNode = pAnchor->nNode.GetNode().GetTextNode();
428  if (pTextNode)
429  {
430  const SwTextField* pField(
431  pTextNode->GetFieldTextAttrAt(pAnchor->nContent.GetIndex(), true));
432  if (pField
433  && dynamic_cast<const SwPostItField*>(pField->GetFormatField().GetField()))
434  {
435  // Remove the comment of the deleted object.
436  *GetCurrentShellCursor().GetPoint() = *pAnchor;
437  DelRight();
438  }
439  }
440  }
441 
442  mxDoc->GetIDocumentUndoRedo().EndUndo(SwUndoId::EMPTY, nullptr);
443 
444  // #108205# Set cursor to remembered position.
445  SetCursor(&aTmpPt);
446 
448  UnSelectFrame();
449  OSL_ENSURE( !IsFrameSelected(),
450  "<SwWrtShell::DelRight(..)> - <SwWrtShell::UnSelectFrame()> should unmark all objects" );
451  // leave draw mode, if necessary.
452  {
453  if (GetView().GetDrawFuncPtr())
454  {
456  GetView().SetDrawFuncPtr(nullptr);
457  }
458  if ( GetView().IsDrawMode() )
459  {
461  }
462  }
463  }
464 
465  // <IsFrameSelected()> can't be true - see above.
466  {
467  nSelection = GetSelectionType();
468  if ( SelectionType::Frame & nSelection ||
469  SelectionType::Graphic & nSelection ||
470  SelectionType::Ole & nSelection ||
471  SelectionType::DrawObject & nSelection )
472  {
474  GotoNextFly();
475  }
476  }
477  bRet = true;
478  break;
479  default: break;
480  }
481  return bRet;
482 }
483 
485 {
486  SwActContext aActContext(this);
488  Push();
489  SetMark();
491  {
493  return;
494  }
495  bool bRet = Delete();
497  if( bRet )
498  UpdateAttr();
499 }
500 
502 {
503  SwActContext aActContext(this);
505  Push();
506  SetMark();
508  {
510  return;
511  }
512  bool bRet = Delete();
514  if( bRet )
515  UpdateAttr();
516 }
517 
518 // All erase operations should work with Find instead with
519 // Nxt-/PrvDelim, because the latter works with Wrap Around
520 // -- that's probably not wished.
521 
523 {
524  if(IsStartOfDoc())
525  return;
526  OpenMark();
527  bool bRet = BwdSentence_() && Delete();
528  CloseMark( bRet );
529 }
530 
532 {
533  if(IsEndOfDoc())
534  return false;
535  OpenMark();
536  bool bRet(false);
537  // fdo#60967: special case that is documented in help: delete
538  // paragraph following table if cursor is at end of last cell in table
539  if (IsEndOfTable())
540  {
541  Push();
542  ClearMark();
544  {
545  SetMark();
546  if (!IsEndPara()) // can only be at the end if it's empty
547  { // for an empty paragraph this would actually select the _next_
549  }
550  if (!IsEndOfDoc()) // do not delete last paragraph in body text
551  {
552  bRet = DelFullPara();
553  }
554  }
556  }
557  else
558  {
559  bRet = FwdSentence_() && Delete();
560  }
561  CloseMark( bRet );
562  return bRet;
563 }
564 
566 {
567  if(IsEndOfDoc())
568  return;
569  SwActContext aActContext(this);
571  EnterStdMode();
572  SetMark();
573  if(IsEndWrd() && !IsStartWord())
574  NxtWrdForDelete(); // #i92468#
575  if(IsStartWord() || IsEndPara())
576  NxtWrdForDelete(); // #i92468#
577  else
578  EndWrd();
579 
580  bool bRet = Delete();
581  if( bRet )
582  UpdateAttr();
583  else
584  SwapPam();
585  ClearMark();
586 }
587 
589 {
590  if(IsStartOfDoc())
591  return;
592  SwActContext aActContext(this);
594  EnterStdMode();
595  SetMark();
596  if ( !IsStartWord() ||
597  !PrvWrdForDelete() ) // #i92468#
598  {
599  if (IsEndWrd() || IsSttPara())
600  PrvWrdForDelete(); // #i92468#
601  else
602  SttWrd();
603  }
604  bool bRet = Delete();
605  if( bRet )
606  UpdateAttr();
607  else
608  SwapPam();
609  ClearMark();
610 }
611 
612 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
long GetLeft() const
Starts a section of nodes in the document model.
Definition: node.hxx:303
void EnterBlockMode()
Definition: select.cxx:652
void KillPams()
Definition: crsrsh.cxx:1010
SwMoveFnCollection const & fnParaEnd
Definition: paminit.cxx:47
SwNode & GetNode(bool bPoint=true) const
Definition: pam.hxx:223
virtual const SwFlyFrameFormat * GetFormat() const override
Definition: fly.cxx:2814
void ResetCursorStack()
Definition: wrtsh.hxx:618
Marks a position in the document model.
Definition: pam.hxx:35
const SwField * GetField() const
Definition: fmtfld.hxx:71
bool Right(sal_uInt16 nCnt, sal_uInt16 nMode, bool bAllowVisual=false)
Definition: crsrsh.hxx:353
bool DelFullPara()
Remove a complete paragraph.
Definition: eddel.cxx:337
SwPaM * GetCursor(bool bMakeTableCursor=true) const
Return pointer to the current shell cursor.
Definition: crsrsh.cxx:185
void DelToStartOfPara()
Definition: delete.cxx:501
bool GoCurrPara(SwPaM &rPam, SwMoveFnCollection const &aPosPara)
Definition: pam.cxx:949
void DelNxtWord()
Definition: delete.cxx:565
short GetTextFirstLineOfst() const
sal_Unicode GetChar(bool bEnd=true, long nOffset=0)
get the nth character of the current SSelection
Definition: crsrsh.cxx:2487
bool IsSttPara() const
Definition: crsrsh.cxx:1083
bool IsStartOfDoc() const
Definition: crsrsh.cxx:2634
void SetAttrSet(const SfxItemSet &, SetAttrMode nFlags=SetAttrMode::DEFAULT, SwPaM *pCursor=nullptr, const bool bParagraphSetting=false)
Definition: edatmisc.cxx:152
bool Pop(SwCursorShell::PopMode=SwCursorShell::PopMode::DeleteStack)
Definition: wrtsh1.cxx:1697
SwCursor * GetSwCursor() const
Definition: crsrsh.hxx:866
SwMoveFnCollection const & fnParaStart
Definition: paminit.cxx:46
void UpdateAttr()
Definition: crsrsh.hxx:758
SAL_DLLPRIVATE void EndWrd()
Definition: wrtsh4.cxx:50
bool Left(sal_uInt16 nCnt, sal_uInt16 nMode, bool bAllowVisual=false)
Definition: crsrsh.hxx:351
void EnterStdMode()
Definition: select.cxx:552
SAL_DLLPRIVATE bool FwdSentence_()
Definition: wrtsh4.cxx:174
SwFlyFrame * GetSelectedFlyFrame() const
Definition: fefly1.cxx:281
void DelToEndOfLine()
Definition: delete.cxx:121
void EndAllAction()
Definition: edws.cxx:96
bool GotoNextFly(GotoObjFlags eType=GotoObjFlags::FlyAny)
Independent selecting of flys.
Definition: fesh.hxx:409
bool DelRight()
Definition: delete.cxx:282
void SwapPam()
Definition: crsrsh.cxx:964
void SetDrawFuncPtr(std::unique_ptr< SwDrawBase > pFuncPtr)
Definition: viewdraw.cxx:642
const SwView & GetView() const
Definition: wrtsh.hxx:426
void SetLeft(const long nL, const sal_uInt16 nProp=100)
rtl::Reference< SwDoc > mxDoc
The document; never 0.
Definition: viewsh.hxx:174
SwIndex nContent
Definition: pam.hxx:38
static bool isCJKIVSCharacter(sal_uInt32 nCode)
void NormalizePam(bool bPointFirst=true)
Ensure point and mark of the current PaM are in a specific order.
Definition: crsrsh.cxx:958
virtual ::sw::mark::IFieldmark * getFieldmarkFor(const SwPosition &pos) const =0
bool IsBlockMode() const
Definition: wrtsh.hxx:159
SwDoc * GetDoc() const
Definition: viewsh.hxx:284
const SwFormatField & GetFormatField() const
Definition: txatbase.hxx:191
const IDocumentMarkAccess * getIDocumentMarkAccess() const
Provides access to the document bookmark interface.
Definition: viewsh.cxx:2592
static bool isIVSSelector(sal_uInt32 nCode)
virtual void Deactivate()
Definition: drawbase.cxx:441
virtual std::unique_ptr< ILazyDeleter > deleteMark(const IDocumentMarkAccess::const_iterator_t &ppMark)=0
Deletes a mark.
bool MovePara(SwWhichPara, SwMoveFnCollection const &)
Definition: crsrsh.cxx:684
const SfxItemPool & GetAttrPool() const
Definition: viewsh.hxx:614
Class for automated call of Start- and EndAction().
Definition: editsh.hxx:1016
bool IsSelection() const
Definition: crsrsh.hxx:877
bool LeftMargin()
Definition: crsrsh.hxx:357
const SwTableNode * IsCursorInTable() const
Definition: crsrsh.hxx:887
Style of a layout element.
Definition: frmfmt.hxx:57
virtual SwPaM & GetCurrentShellCursor() override
Return the current shell cursor.
Definition: crsrsh.cxx:176
SvtScriptType GetScriptType() const
returns the script type of the selection
Definition: edattr.cxx:671
bool HasSelection() const
Definition: wrtsh.hxx:139
const SwFormatAnchor & GetAnchor(bool=true) const
Definition: fmtanchr.hxx:81
const SwPosition * GetPoint() const
Definition: pam.hxx:207
RndStdIds GetAnchorId() const
Definition: fmtanchr.hxx:65
const SwPosition * GetContentAnchor() const
Definition: fmtanchr.hxx:67
void Push()
store a copy of the current cursor on the cursor stack
Definition: crsrsh.cxx:2145
bool IsEndOfTable() const
at the very last SwPosition inside a table
Definition: crsrsh.cxx:1121
SAL_DLLPRIVATE bool BwdSentence_()
Definition: wrtsh4.cxx:191
void DelLine()
Description: Erase the line.
Definition: delete.cxx:96
bool RightMargin(bool bAPI=false)
Definition: crsrsh.hxx:358
void DelToStartOfLine()
Definition: delete.cxx:113
void SetMark()
Definition: crsrsh.hxx:873
SAL_DLLPRIVATE void CloseMark(bool bOkFlag)
Definition: delete.cxx:43
SAL_DLLPRIVATE bool PrvWrdForDelete()
Definition: wrtsh4.cxx:152
SwTextField * GetFieldTextAttrAt(const sal_Int32 nIndex, const bool bIncludeInputFieldAtStart=false) const
Definition: ndtxt.cxx:1770
bool DelLeft()
Definition: delete.cxx:129
void DelPrvWord()
Definition: delete.cxx:588
void LeaveDrawCreate()
Definition: view.hxx:525
SwDrawBase * GetDrawFuncPtr() const
Definition: view.hxx:513
SAL_DLLPRIVATE void SttWrd()
Definition: wrtsh4.cxx:30
#define RES_LR_SPACE
Definition: hintids.hxx:196
const Point TopLeft() const
Definition: swrect.cxx:177
bool IsStartWord(sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const
Definition: crstrvl1.cxx:27
bool Delete()
Delete content of all ranges.
Definition: eddel.cxx:117
SelectionType
Definition: wrtsh.hxx:58
bool DelToEndOfSentence()
Definition: delete.cxx:531
const sal_uInt16 CRSR_SKIP_CELLS
Definition: swcrsr.hxx:64
SwTextNode is a paragraph in the document model.
Definition: ndtxt.hxx:79
void SetTextFirstLineOfst(const short nF, const sal_uInt16 nProp=100)
general base class for all free-flowing frames
Definition: flyfrm.hxx:60
SAL_DLLPRIVATE void OpenMark()
Definition: delete.cxx:35
OUString GetSelText() const
get selected text of a node at current cursor
Definition: crsrsh.cxx:2431
SwRect GetObjRect() const
For adjustment of PosAttr when anchor changes.
Definition: fefly1.cxx:1263
void DelSelectedObj()
Definition: feshview.cxx:2297
void UnSelectFrame()
Definition: select.cxx:327
SAL_DLLPRIVATE long SetCursor(const Point *, bool bProp=false)
Definition: select.cxx:308
virtual const SwPosition & GetMarkEnd() const =0
void ClearMark()
Definition: crsrsh.cxx:927
bool GetCurAttr(SfxItemSet &, const bool bMergeIndentValuesOfNumRule=false) const
Definition: edattr.cxx:181
const SwStartNode * FindTableBoxStartNode() const
Definition: node.hxx:196
void LeaveSelFrameMode()
Definition: select.cxx:721
bool IsEndOfDoc() const
Definition: crsrsh.cxx:2646
bool IsEndWrd()
Definition: wrtsh1.cxx:158
const sal_uInt16 CRSR_SKIP_CHARS
Definition: swcrsr.hxx:63
RndStdIds
void EnterSelFrameMode(const Point *pStartDrag=nullptr)
Definition: select.cxx:703
virtual const SwPosition & GetMarkStart() const =0
bool IsEndPara() const
Definition: crsrsh.cxx:1102
bool Pop(PopMode)
delete cursor
Definition: crsrsh.cxx:2167
SelectionType GetSelectionType() const
Definition: wrtsh1.cxx:1380
bool TryRemoveIndent()
Definition: delete.cxx:57
void StartAllAction()
For all views of this document.
Definition: edws.cxx:85
void DelToEndOfPara()
Definition: delete.cxx:484
bool IsFrameSelected() const
Definition: feshview.cxx:1175
SAL_DLLPRIVATE bool NxtWrdForDelete()
Definition: wrtsh4.cxx:129
void DelToStartOfSentence()
Definition: delete.cxx:522
::sw::mark::IFieldmark * GetCurrentFieldmark()
Definition: crbm.cxx:285
SwTextNode * GetTextNode()
Inline methods from Node.hxx.
Definition: ndtxt.hxx:843