LibreOffice Module sw (master) 1
Classes | Namespaces | Typedefs | Enumerations | Functions
mvsave.hxx File Reference
#include <vcl/keycod.hxx>
#include <IDocumentMarkAccess.hxx>
#include <ndindex.hxx>
#include <deque>
#include <optional>
#include <vector>
#include <o3tl/typed_flags_set.hxx>
Include dependency graph for mvsave.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sw::mark::SaveBookmark
 
class  sw::mark::ContentIdxStore
 Takes care of storing relevant attributes of an SwTextNode before split, then restore them on the new node. More...
 
struct  o3tl::typed_flags< sw::mark::RestoreMode >
 
struct  SaveFly
 data structure to temporarily hold fly anchor positions relative to some location. More...
 
class  SwDataChanged
 
class  ZSortFly
 Helper to copy paragraph-bound Flys. More...
 
class  SwTableNumFormatMerge
 
class  SaveRedlEndPosForRestore
 

Namespaces

namespace  sfx2
 
namespace  sw
 Dialog to specify the properties of date form field.
 
namespace  sw::mark
 
namespace  o3tl
 

Typedefs

typedef std::deque< SaveFlySaveFlyArr
 

Enumerations

enum class  sw::mark::RestoreMode {
  sw::mark::Flys = 1 ,
  sw::mark::NonFlys = 2 ,
  sw::mark::All = 3
}
 

Functions

void DelBookmarks (SwNode &rStt, const SwNode &rEnd, std::vector< ::sw::mark::SaveBookmark > *SaveBkmk=nullptr, std::optional< sal_Int32 > oStartContentIdx=std::nullopt, std::optional< sal_Int32 > oEndContentIdx=std::nullopt)
 
void RestFlyInRange (SaveFlyArr &rArr, const SwPosition &rSttIdx, const SwNode *pInsPos, bool isForceToStartPos=false)
 
void SaveFlyInRange (const SwNodeRange &rRg, SaveFlyArr &rArr)
 
void SaveFlyInRange (const SwPaM &rPam, const SwPosition &rInsPos, SaveFlyArr &rArr, bool bMoveAllFlys, SwHistory *pHistory=nullptr)
 
void DelFlyInRange (SwNode &rMkNd, SwNode &rPtNd, std::optional< sal_Int32 > nMkContentIdx=std::nullopt, std::optional< sal_Int32 > pPtContentIdx=std::nullopt)
 Delete and move all Flys at the paragraph, that are within the selection. More...
 
void PaMCorrAbs (const SwPaM &rRange, const SwPosition &rNewPos)
 Function declarations so that everything below the CursorShell can move the Cursor once in a while. More...
 
void PaMCorrRel (const SwNode &rOldNode, const SwPosition &rNewPos, const sal_Int32 nOffset=0)
 Sets all PaMs in OldNode to relative Pos. More...
 

Typedef Documentation

◆ SaveFlyArr

typedef std::deque< SaveFly > SaveFlyArr

Definition at line 117 of file mvsave.hxx.

Function Documentation

◆ DelBookmarks()

void DelBookmarks ( SwNode rStt,
const SwNode rEnd,
std::vector< ::sw::mark::SaveBookmark > *  SaveBkmk = nullptr,
std::optional< sal_Int32 >  oStartContentIdx = std::nullopt,
std::optional< sal_Int32 >  oEndContentIdx = std::nullopt 
)

◆ DelFlyInRange()

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

◆ PaMCorrAbs()

void PaMCorrAbs ( const SwPaM rRange,
const SwPosition rNewPos 
)

◆ PaMCorrRel()

void PaMCorrRel ( const SwNode rOldNode,
const SwPosition rNewPos,
const sal_Int32  nOffset = 0 
)

◆ RestFlyInRange()

void RestFlyInRange ( SaveFlyArr rArr,
const SwPosition rSttIdx,
const SwNode pInsPos,
bool  isForceToStartPos = false 
)

◆ 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 pHistory = nullptr 
)