LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | List of all members
SwUnoInternalPaM Class Referencefinal

#include <unotextrange.hxx>

Inheritance diagram for SwUnoInternalPaM:
Collaboration diagram for SwUnoInternalPaM:

Public Member Functions

 SwUnoInternalPaM (SwDoc &rDoc)
virtual ~SwUnoInternalPaM () override
SwUnoInternalPaMoperator= (const SwPaM &rPaM)
- Public Member Functions inherited from SwPaM
 SwPaM (const SwPosition &rPos, SwPaM *pRing=nullptr)
 SwPaM (const SwPosition &rMk, const SwPosition &rPt, SwPaM *pRing=nullptr)
 SwPaM (const SwNodeIndex &rMk, const SwNodeIndex &rPt, SwNodeOffset nMkOffset=SwNodeOffset(0), SwNodeOffset nPtOffset=SwNodeOffset(0), SwPaM *pRing=nullptr)
 SwPaM (const SwNode &rMk, const SwNode &rPt, SwNodeOffset nMkOffset=SwNodeOffset(0), SwNodeOffset nPtOffset=SwNodeOffset(0), SwPaM *pRing=nullptr)
 SwPaM (const SwNodeIndex &rMk, sal_Int32 nMkContent, const SwNodeIndex &rPt, sal_Int32 nPtContent, SwPaM *pRing=nullptr)
 SwPaM (const SwNode &rMk, sal_Int32 nMkContent, const SwNode &rPt, sal_Int32 nPtContent, SwPaM *pRing=nullptr)
 SwPaM (const SwNode &rNd, sal_Int32 nContent=0, SwPaM *pRing=nullptr)
 SwPaM (const SwNodeIndex &rNd, sal_Int32 nContent=0, SwPaM *pRing=nullptr)
virtual ~SwPaM () override
 SwPaM (SwPaM const &rPaM, SwPaM *pRing)
 this takes a second parameter, which indicates the Ring that the new PaM should be part of (may be null) More...
SwPaMoperator= (const SwPaM &)
 @@ semantic: no copy assignment for super class Ring. More...
bool Move (SwMoveFnCollection const &fnMove=fnMoveForward, SwGoInDoc fnGo=GoInContent)
 Movement of cursor. More...
bool IsInFrontOfLabel () const
void SetInFrontOfLabel_ (bool bNew)
virtual void SetMark ()
 Unless this is called, the getter method of Mark will return Point. More...
void DeleteMark ()
void Exchange ()
bool HasMark () const
 A PaM marks a selection if Point and Mark are distinct positions. More...
const SwPositionGetPoint () const
SwPositionGetPoint ()
const SwPositionGetMark () const
SwPositionGetMark ()
const SwPositionStart () const
SwPositionStart ()
const SwPositionEnd () const
SwPositionEnd ()
SwNodeGetNode (bool bPoint=true) const
SwContentNodeGetContentNode (bool bPoint=true) const
void Normalize (bool bPointFirst=true)
 Normalizes PaM, i.e. More...
SwDocGetDoc () const
SwPositionGetBound (bool bOne=true)
const SwPositionGetBound (bool bOne=true) const
sal_uInt16 GetPageNum (bool bAtPoint=true, const Point *pLayPos=nullptr)
 Get number of page which contains cursor. More...
bool HasReadonlySel (bool bFormView) const
 Is in something protected (readonly) or selection contains something protected. More...
bool ContainsPosition (const SwPosition &rPos) const
OUString GetText () const
void InvalidatePaM ()
SwPaMGetNext ()
const SwPaMGetNext () const
SwPaMGetPrev ()
const SwPaMGetPrev () const
bool IsMultiSelection () const
void dumpAsXml (xmlTextWriterPtr pWriter) const
- Public Member Functions inherited from sw::Ring< SwPaM >
void unlink ()
 algo::unlink is buggy! don't call it directly! More...
void MoveTo (SwPaM *pDestRing)
 Removes this item from its current ring container and adds it to another ring container. More...
ring_container GetRingContainer ()
const_ring_container GetRingContainer () const

Private Member Functions

 SwUnoInternalPaM (const SwUnoInternalPaM &)=delete

Additional Inherited Members

- Public Types inherited from sw::Ring< SwPaM >
typedef std::add_const< SwPaM >::type const_value_type
typedef RingContainer< SwPaMring_container
typedef RingContainer< const_value_typeconst_ring_container
- Protected Member Functions inherited from sw::Ring< SwPaM >
 Ring ()
 Creates a new item in a ring container all by itself. More...
 Ring (SwPaM *pRing)
 Creates a new item and add it to an existing ring container. More...
SwPaMGetNextInRing ()
const_value_typeGetNextInRing () const
SwPaMGetPrevInRing ()
const_value_typeGetPrevInRing () const
bool unique () const

Detailed Description

Definition at line 42 of file unotextrange.hxx.

Constructor & Destructor Documentation

SwUnoInternalPaM::SwUnoInternalPaM ( const SwUnoInternalPaM )
SwUnoInternalPaM::SwUnoInternalPaM ( SwDoc rDoc)

Definition at line 78 of file unoobj.cxx.

SwUnoInternalPaM::~SwUnoInternalPaM ( )

Definition at line 83 of file unoobj.cxx.

References SwPaM::GetNext().

Member Function Documentation

SwUnoInternalPaM & SwUnoInternalPaM::operator= ( const SwPaM rPaM)

The documentation for this class was generated from the following files: