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

For the text replacement and restoration of SwTextSizeInfo. More...

#include <inftxt.hxx>

Collaboration diagram for SwTextSlot:
[legend]

Public Member Functions

 SwTextSlot (const SwTextSizeInfo *pNew, const SwLinePortion *pPor, bool bTextLen, bool bExgLists, OUString const &rCh=OUString())
 
 ~SwTextSlot ()
 

Private Attributes

OUString aText
 
std::shared_ptr< const vcl::text::TextLayoutCachem_pOldCachedVclData
 
const OUString * pOldText
 
sw::WrongListIteratorm_pOldSmartTagList
 
sw::WrongListIteratorm_pOldGrammarCheckList
 
std::unique_ptr< SwWrongListm_pTempList
 
std::unique_ptr< sw::WrongListIteratorm_pTempIter
 
TextFrameIndex nIdx
 
TextFrameIndex nLen
 
TextFrameIndex nMeasureLen
 
bool bOn
 
SwTextSizeInfopInf
 

Detailed Description

For the text replacement and restoration of SwTextSizeInfo.

The way this is done is a bit of a hack: Although rInf is const we change it anyway. Because rInf is restored again in the DTOR, we can do this. You could call it a "logical const", if you wish.

Definition at line 679 of file inftxt.hxx.

Constructor & Destructor Documentation

◆ SwTextSlot()

SwTextSlot::SwTextSlot ( const SwTextSizeInfo pNew,
const SwLinePortion pPor,
bool  bTextLen,
bool  bExgLists,
OUString const &  rCh = OUString() 
)

◆ ~SwTextSlot()

SwTextSlot::~SwTextSlot ( )

Member Data Documentation

◆ aText

OUString SwTextSlot::aText
private

Definition at line 681 of file inftxt.hxx.

Referenced by SwTextSlot().

◆ bOn

bool SwTextSlot::bOn
private

Definition at line 691 of file inftxt.hxx.

Referenced by SwTextSlot(), and ~SwTextSlot().

◆ m_pOldCachedVclData

std::shared_ptr<const vcl::text::TextLayoutCache> SwTextSlot::m_pOldCachedVclData
private

Definition at line 682 of file inftxt.hxx.

Referenced by SwTextSlot(), and ~SwTextSlot().

◆ m_pOldGrammarCheckList

sw::WrongListIterator* SwTextSlot::m_pOldGrammarCheckList
private

Definition at line 685 of file inftxt.hxx.

Referenced by SwTextSlot(), and ~SwTextSlot().

◆ m_pOldSmartTagList

sw::WrongListIterator* SwTextSlot::m_pOldSmartTagList
private

Definition at line 684 of file inftxt.hxx.

Referenced by SwTextSlot(), and ~SwTextSlot().

◆ m_pTempIter

std::unique_ptr<sw::WrongListIterator> SwTextSlot::m_pTempIter
private

Definition at line 687 of file inftxt.hxx.

Referenced by SwTextSlot().

◆ m_pTempList

std::unique_ptr<SwWrongList> SwTextSlot::m_pTempList
private

Definition at line 686 of file inftxt.hxx.

Referenced by SwTextSlot().

◆ nIdx

TextFrameIndex SwTextSlot::nIdx
private

Definition at line 688 of file inftxt.hxx.

Referenced by SwTextSlot(), and ~SwTextSlot().

◆ nLen

TextFrameIndex SwTextSlot::nLen
private

Definition at line 689 of file inftxt.hxx.

Referenced by SwTextSlot(), and ~SwTextSlot().

◆ nMeasureLen

TextFrameIndex SwTextSlot::nMeasureLen
private

Definition at line 690 of file inftxt.hxx.

Referenced by SwTextSlot(), and ~SwTextSlot().

◆ pInf

SwTextSizeInfo* SwTextSlot::pInf
private

Definition at line 692 of file inftxt.hxx.

Referenced by SwTextSlot(), and ~SwTextSlot().

◆ pOldText

const OUString* SwTextSlot::pOldText
private

Definition at line 683 of file inftxt.hxx.

Referenced by SwTextSlot(), and ~SwTextSlot().


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