LibreOffice Module sw (master) 1
docedt.cxx File Reference
#include <fmtanchr.hxx>
#include <fmtcntnt.hxx>
#include <acorrect.hxx>
#include <IDocumentRedlineAccess.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <IDocumentUndoRedo.hxx>
#include <docsh.hxx>
#include <docary.hxx>
#include <mdiexp.hxx>
#include <mvsave.hxx>
#include <redline.hxx>
#include <rolbck.hxx>
#include <rootfrm.hxx>
#include <splargs.hxx>
#include <swcrsr.hxx>
#include <txtfrm.hxx>
#include <unoflatpara.hxx>
#include <SwGrammarMarkUp.hxx>
#include <docedt.hxx>
#include <frmfmt.hxx>
#include <ndtxt.hxx>
#include <undobj.hxx>
#include <frameformats.hxx>
#include <vector>
#include <com/sun/star/linguistic2/XProofreadingIterator.hpp>
#include <osl/diagnose.h>
Include dependency graph for docedt.cxx:

Go to the source code of this file.


void RestFlyInRange (SaveFlyArr &rArr, const SwPosition &rStartPos, const SwNode *pInsertPos, bool const isForceToStartPos)
void SaveFlyInRange (const SwNodeRange &rRg, SaveFlyArr &rArr)
void SaveFlyInRange (const SwPaM &rPam, const SwPosition &rInsPos, SaveFlyArr &rArr, bool bMoveAllFlys, SwHistory *const pHistory)
void DelFlyInRange (SwNode &rMkNd, SwNode &rPtNd, std::optional< sal_Int32 > oMkContentIdx, std::optional< sal_Int32 > oPtContentIdx)
 Delete and move all Flys at the paragraph, that are within the selection. More...
static std::vector< sal_uInt16 > lcl_RangesToVector (const WhichRangesContainer &pRanges)
 Convert list of ranges of whichIds to a corresponding list of whichIds. More...
void sw_GetJoinFlags (SwPaM &rPam, bool &rJoinText, bool &rJoinPrev)
bool sw_JoinText (SwPaM &rPam, bool bJoinPrev)
static void lcl_syncGrammarError (SwTextNode &rTextNode, linguistic2::ProofreadingResult &rResult, const ModelToViewHelper &rConversionMap)
static bool lcl_HyphenateNode (SwNode *pNd, void *pArgs)

Function Documentation

◆ DelFlyInRange()

void DelFlyInRange ( SwNode rMkNd,
SwNode rPtNd,
std::optional< sal_Int32 >  oMkContentIdx,
std::optional< sal_Int32 >  oPtContentIdx 

◆ lcl_HyphenateNode()

static bool lcl_HyphenateNode ( SwNode pNd,
void *  pArgs 

◆ lcl_RangesToVector()

static std::vector< sal_uInt16 > lcl_RangesToVector ( const WhichRangesContainer pRanges)

Convert list of ranges of whichIds to a corresponding list of whichIds.

Definition at line 313 of file docedt.cxx.

Referenced by sw_JoinText().

◆ lcl_syncGrammarError()

static void lcl_syncGrammarError ( SwTextNode rTextNode,
linguistic2::ProofreadingResult &  rResult,
const ModelToViewHelper rConversionMap 

◆ RestFlyInRange()

void RestFlyInRange ( SaveFlyArr rArr,
const SwPosition rStartPos,
const SwNode pInsertPos,
bool const  isForceToStartPos 

◆ SaveFlyInRange() [1/2]

void SaveFlyInRange ( const SwNodeRange rRg,
SaveFlyArr rArr 

◆ SaveFlyInRange() [2/2]

void SaveFlyInRange ( const SwPaM rPam,
const SwPosition rInsPos,
SaveFlyArr rArr,
bool  bMoveAllFlys,
SwHistory *const  pHistory 

◆ sw_GetJoinFlags()

void sw_GetJoinFlags ( SwPaM rPam,
bool &  rJoinText,
bool &  rJoinPrev 

◆ sw_JoinText()

bool sw_JoinText ( SwPaM rPam,
bool  bJoinPrev