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, long nMkOffset=0, long nPtOffset=0, SwPaM *pRing=nullptr)
 
 SwPaM (const SwNode &rMk, const SwNode &rPt, long nMkOffset=0, long nPtOffset=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 >
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< ExtTextInputAttraAttrs
 
OUString sOverwriteText
 
bool bInsText: 1
 
bool bIsOverwriteCursor: 1
 
LanguageType 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 ( const SwPaM rPam,
Ring pRing 
)

Definition at line 39 of file extinput.cxx.

References bInsText, bIsOverwriteCursor, and LANGUAGE_DONTKNOW.

SwExtTextInput::~SwExtTextInput ( )
overridevirtual

Member Function Documentation

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

Definition at line 39 of file extinput.hxx.

References aAttrs.

Referenced by SwAttrIter::CtorInitAttrIter().

SwExtTextInput* SwExtTextInput::GetNext ( )
inline

Definition at line 45 of file extinput.hxx.

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

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

const SwExtTextInput* SwExtTextInput::GetNext ( ) const
inline

Definition at line 46 of file extinput.hxx.

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

SwExtTextInput* SwExtTextInput::GetPrev ( )
inline

Definition at line 47 of file extinput.hxx.

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

const SwExtTextInput* SwExtTextInput::GetPrev ( ) const
inline

Definition at line 48 of file extinput.hxx.

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

bool SwExtTextInput::IsOverwriteCursor ( ) const
inline

Definition at line 41 of file extinput.hxx.

References bIsOverwriteCursor.

Referenced by SwEditShell::DeleteExtTextInput().

void SwExtTextInput::SetInputData ( const CommandExtTextInputData rData)
void SwExtTextInput::SetInsText ( bool  bFlag)
inline

Definition at line 40 of file extinput.hxx.

References bInsText.

Referenced by SwEditShell::DeleteExtTextInput().

void SwExtTextInput::SetLanguage ( LanguageType  eSet)
inline

Definition at line 43 of file extinput.hxx.

Referenced by SwEditShell::CreateExtTextInput().

void SwExtTextInput::SetOverwriteCursor ( bool  bFlag)

Member Data Documentation

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

Definition at line 29 of file extinput.hxx.

Referenced by GetAttrs(), and SetInputData().

bool SwExtTextInput::bInsText
private

Definition at line 31 of file extinput.hxx.

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

bool SwExtTextInput::bIsOverwriteCursor
private
LanguageType SwExtTextInput::eInputLanguage
private

Definition at line 33 of file extinput.hxx.

Referenced by ~SwExtTextInput().

OUString SwExtTextInput::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: