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

#include <extinput.hxx>

Inheritance diagram for SwExtTextInput:
[legend]
Collaboration diagram for SwExtTextInput:
[legend]

Public Member Functions

 SwExtTextInput (const SwPaM &rPam, Ring *pRing)
 
virtual ~SwExtTextInput () override
 
void SetInputData (const CommandExtTextInputData &rData)
 
const std::vector< ExtTextInputAttr > & GetAttrs () const
 
void SetInsText (bool bFlag)
 
bool IsOverwriteCursor () const
 
void SetOverwriteCursor (bool bFlag)
 
void SetLanguage (LanguageType eSet)
 
SwExtTextInputGetNext ()
 
const SwExtTextInputGetNext () const
 
SwExtTextInputGetPrev ()
 
const SwExtTextInputGetPrev () const
 
- 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 &rMk, SwNodeOffset nMkOffset, sal_Int32 nMkContent, const SwNode &rPt, SwNodeOffset nPtOffset, sal_Int32 nPtContent, SwPaM *pRing=nullptr)
 
 SwPaM (const SwNode &rNd, SwNodeOffset nNdOffset, sal_Int32 nContent=0, 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)
 
 SwPaM (SwNodes &rNds, SwNodeOffset nMkOffset=SwNodeOffset(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 ()
 
std::pair< const SwPosition *, const SwPosition * > StartEnd () const
 Because sometimes the cost of the operator<= can add up. More...
 
std::pair< SwPosition *, SwPosition * > StartEnd ()
 
SwNodeGetPointNode () const
 
SwNodeGetMarkNode () const
 
SwContentNodeGetPointContentNode () const
 
SwContentNodeGetMarkContentNode () 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, bool isReplace) const
 Is in something protected (readonly) or selection contains something protected. More...
 
bool HasHiddenSections () const
 Is there hidden sections in the selected area. 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 >
virtual ~Ring () COVERITY_NOEXCEPT_FALSE
 
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 Attributes

std::vector< ExtTextInputAttrm_aAttrs
 
OUString m_sOverwriteText
 
bool m_bInsText: 1
 
bool m_bIsOverwriteCursor: 1
 
LanguageType m_eInputLanguage
 

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 27 of file extinput.hxx.

Constructor & Destructor Documentation

◆ SwExtTextInput()

SwExtTextInput::SwExtTextInput ( const SwPaM rPam,
Ring pRing 
)

Definition at line 39 of file extinput.cxx.

References LANGUAGE_DONTKNOW, m_bInsText, and m_bIsOverwriteCursor.

◆ ~SwExtTextInput()

SwExtTextInput::~SwExtTextInput ( )
overridevirtual

Member Function Documentation

◆ GetAttrs()

const std::vector< ExtTextInputAttr > & SwExtTextInput::GetAttrs ( ) const
inline

Definition at line 39 of file extinput.hxx.

References m_aAttrs.

Referenced by SwAttrIter::CtorInitAttrIter().

◆ GetNext() [1/2]

SwExtTextInput * SwExtTextInput::GetNext ( )
inline

Definition at line 45 of file extinput.hxx.

References sw::Ring< SwPaM >::GetNextInRing().

Referenced by SwDoc::DeleteExtTextInput(), and SwDoc::GetExtTextInput().

◆ GetNext() [2/2]

const SwExtTextInput * SwExtTextInput::GetNext ( ) const
inline

Definition at line 46 of file extinput.hxx.

References sw::Ring< SwPaM >::GetNextInRing().

◆ GetPrev() [1/2]

SwExtTextInput * SwExtTextInput::GetPrev ( )
inline

Definition at line 47 of file extinput.hxx.

References sw::Ring< SwPaM >::GetPrevInRing().

◆ GetPrev() [2/2]

const SwExtTextInput * SwExtTextInput::GetPrev ( ) const
inline

Definition at line 48 of file extinput.hxx.

References sw::Ring< SwPaM >::GetPrevInRing().

◆ IsOverwriteCursor()

bool SwExtTextInput::IsOverwriteCursor ( ) const
inline

Definition at line 41 of file extinput.hxx.

References m_bIsOverwriteCursor.

Referenced by SwEditShell::DeleteExtTextInput().

◆ SetInputData()

void SwExtTextInput::SetInputData ( const CommandExtTextInputData rData)

◆ SetInsText()

void SwExtTextInput::SetInsText ( bool  bFlag)
inline

Definition at line 40 of file extinput.hxx.

References m_bInsText.

Referenced by SwEditShell::DeleteExtTextInput().

◆ SetLanguage()

void SwExtTextInput::SetLanguage ( LanguageType  eSet)
inline

Definition at line 43 of file extinput.hxx.

References m_eInputLanguage.

Referenced by SwEditShell::CreateExtTextInput().

◆ SetOverwriteCursor()

void SwExtTextInput::SetOverwriteCursor ( bool  bFlag)

Member Data Documentation

◆ m_aAttrs

std::vector<ExtTextInputAttr> SwExtTextInput::m_aAttrs
private

Definition at line 29 of file extinput.hxx.

Referenced by GetAttrs(), and SetInputData().

◆ m_bInsText

bool SwExtTextInput::m_bInsText
private

Definition at line 31 of file extinput.hxx.

Referenced by SetInsText(), SwExtTextInput(), and ~SwExtTextInput().

◆ m_bIsOverwriteCursor

bool SwExtTextInput::m_bIsOverwriteCursor
private

◆ m_eInputLanguage

LanguageType SwExtTextInput::m_eInputLanguage
private

Definition at line 33 of file extinput.hxx.

Referenced by SetLanguage(), and ~SwExtTextInput().

◆ m_sOverwriteText

OUString SwExtTextInput::m_sOverwriteText
private

Definition at line 30 of file extinput.hxx.

Referenced by SetInputData(), SetOverwriteCursor(), and ~SwExtTextInput().


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