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< vcl::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
 
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 677 of file inftxt.hxx.

Constructor & Destructor Documentation

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

Member Data Documentation

OUString SwTextSlot::aText
private

Definition at line 679 of file inftxt.hxx.

Referenced by SwTextSlot().

bool SwTextSlot::bOn
private

Definition at line 688 of file inftxt.hxx.

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

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

Definition at line 680 of file inftxt.hxx.

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

sw::WrongListIterator* SwTextSlot::m_pOldGrammarCheckList
private

Definition at line 683 of file inftxt.hxx.

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

sw::WrongListIterator* SwTextSlot::m_pOldSmartTagList
private

Definition at line 682 of file inftxt.hxx.

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

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

Definition at line 685 of file inftxt.hxx.

Referenced by SwTextSlot().

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

Definition at line 684 of file inftxt.hxx.

Referenced by SwTextSlot().

TextFrameIndex SwTextSlot::nIdx
private

Definition at line 686 of file inftxt.hxx.

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

TextFrameIndex SwTextSlot::nLen
private

Definition at line 687 of file inftxt.hxx.

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

SwTextSizeInfo* SwTextSlot::pInf
private

Definition at line 689 of file inftxt.hxx.

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

const OUString* SwTextSlot::pOldText
private

Definition at line 681 of file inftxt.hxx.

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


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