LibreOffice Module sw (master)
1
|
#include <acorrect.hxx>
Public Member Functions | |
SwDontExpandItem () | |
~SwDontExpandItem () | |
void | SaveDontExpandItems (const SwPosition &rPos) |
void | RestoreDontExpandItems (const SwPosition &rPos) |
Private Attributes | |
std::unique_ptr< SfxItemSet > | m_pDontExpandItems |
Definition at line 35 of file acorrect.hxx.
|
inline |
Definition at line 40 of file acorrect.hxx.
SwDontExpandItem::~SwDontExpandItem | ( | ) |
Definition at line 637 of file acorrect.cxx.
void SwDontExpandItem::RestoreDontExpandItems | ( | const SwPosition & | rPos | ) |
Definition at line 657 of file acorrect.cxx.
References SwpHints::Count(), SwTextAttr::DontExpand(), SwTextAttr::End(), SwTextNode::FormatToTextAttr(), SwpHints::Get(), SwTextAttr::GetAttr(), SwIndex::GetIndex(), SwNodeIndex::GetNode(), SwTextNode::GetpSwpHints(), SwTextAttr::GetStart(), SwTextNode::GetText(), SwNode::GetTextNode(), m_pDontExpandItems, n, SwPosition::nContent, SwPosition::nNode, SwTextAttr::SetDontExpand(), and SwTextAttr::Which().
Referenced by SwAutoCorrDoc::ChgAutoCorrWord(), and SwDoc::InsertGlossary().
void SwDontExpandItem::SaveDontExpandItems | ( | const SwPosition & | rPos | ) |
Definition at line 641 of file acorrect.cxx.
References aCharFormatSetRange, SwNode::GetDoc(), SwIndex::GetIndex(), SwNodeIndex::GetNode(), SwTextNode::GetParaAttr(), SwTextNode::GetText(), SwNode::GetTextNode(), m_pDontExpandItems, n, SwPosition::nContent, and SwPosition::nNode.
Referenced by SwAutoCorrDoc::ChgAutoCorrWord(), and SwDoc::InsertGlossary().
|
private |
Definition at line 37 of file acorrect.hxx.
Referenced by RestoreDontExpandItems(), and SaveDontExpandItems().