LibreOffice Module sw (master) 1
|
For the text replacement and restoration of SwTextSizeInfo. More...
#include <inftxt.hxx>
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::TextLayoutCache > | m_pOldCachedVclData |
const OUString * | pOldText |
sw::WrongListIterator * | m_pOldSmartTagList |
sw::WrongListIterator * | m_pOldGrammarCheckList |
std::unique_ptr< SwWrongList > | m_pTempList |
std::unique_ptr< sw::WrongListIterator > | m_pTempIter |
TextFrameIndex | nIdx |
TextFrameIndex | nLen |
TextFrameIndex | nMeasureLen |
bool | bOn |
SwTextSizeInfo * | pInf |
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.
SwTextSlot::SwTextSlot | ( | const SwTextSizeInfo * | pNew, |
const SwLinePortion * | pPor, | ||
bool | bTextLen, | ||
bool | bExgLists, | ||
OUString const & | rCh = OUString() |
||
) |
Definition at line 1983 of file inftxt.cxx.
References aText, bOn, COMPLETE_STRING, Count, SwTextSizeInfo::GetCachedVclData(), SwLinePortion::GetExpText(), SwTextSizeInfo::GetIdx(), SwTextSizeInfo::GetLen(), SwLinePortion::GetLen(), SwTextSizeInfo::GetMeasureLen(), SwTextSizeInfo::GetText(), SwTextSizeInfo::GetTextFrame(), SwWrongList::GetWrongPos(), m_pOldCachedVclData, m_pOldGrammarCheckList, m_pOldSmartTagList, m_pTempIter, m_pTempList, SwTextFrame::MapViewToModel(), nIdx, nLen, nMeasureLen, nPos, pInf, pOldText, pos, SwWrongList::Pos(), SwTextSizeInfo::SetCachedVclData(), SwTextSizeInfo::SetIdx(), SwTextSizeInfo::SetLen(), SwTextSizeInfo::SetMeasureLen(), SwTextSizeInfo::SetText(), SwWrongList::SubList(), WRONGLIST_GRAMMAR, and WRONGLIST_SMARTTAG.
SwTextSlot::~SwTextSlot | ( | ) |
Definition at line 2087 of file inftxt.cxx.
References bOn, m_pOldCachedVclData, m_pOldGrammarCheckList, m_pOldSmartTagList, nIdx, nLen, nMeasureLen, pInf, pOldText, SwTextSizeInfo::SetCachedVclData(), SwTextSizeInfo::SetIdx(), SwTextSizeInfo::SetLen(), SwTextSizeInfo::SetMeasureLen(), and SwTextSizeInfo::SetText().
|
private |
Definition at line 681 of file inftxt.hxx.
Referenced by SwTextSlot().
|
private |
Definition at line 691 of file inftxt.hxx.
Referenced by SwTextSlot(), and ~SwTextSlot().
|
private |
Definition at line 682 of file inftxt.hxx.
Referenced by SwTextSlot(), and ~SwTextSlot().
|
private |
Definition at line 685 of file inftxt.hxx.
Referenced by SwTextSlot(), and ~SwTextSlot().
|
private |
Definition at line 684 of file inftxt.hxx.
Referenced by SwTextSlot(), and ~SwTextSlot().
|
private |
Definition at line 687 of file inftxt.hxx.
Referenced by SwTextSlot().
|
private |
Definition at line 686 of file inftxt.hxx.
Referenced by SwTextSlot().
|
private |
Definition at line 688 of file inftxt.hxx.
Referenced by SwTextSlot(), and ~SwTextSlot().
|
private |
Definition at line 689 of file inftxt.hxx.
Referenced by SwTextSlot(), and ~SwTextSlot().
|
private |
Definition at line 690 of file inftxt.hxx.
Referenced by SwTextSlot(), and ~SwTextSlot().
|
private |
Definition at line 692 of file inftxt.hxx.
Referenced by SwTextSlot(), and ~SwTextSlot().
|
private |
Definition at line 683 of file inftxt.hxx.
Referenced by SwTextSlot(), and ~SwTextSlot().