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 36 of file acorrect.hxx.
|
inline |
Definition at line 41 of file acorrect.hxx.
SwDontExpandItem::~SwDontExpandItem | ( | ) |
Definition at line 650 of file acorrect.cxx.
void SwDontExpandItem::RestoreDontExpandItems | ( | const SwPosition & | rPos | ) |
Definition at line 670 of file acorrect.cxx.
References SwpHints::Count(), SwTextAttr::DontExpand(), SwTextAttr::End(), SwTextNode::FormatToTextAttr(), SwpHints::Get(), SwTextAttr::GetAttr(), SwPosition::GetContentIndex(), SwPosition::GetNode(), SwTextNode::GetpSwpHints(), SwTextAttr::GetStart(), SwTextNode::GetText(), SwNode::GetTextNode(), m_pDontExpandItems, n, SwTextAttr::SetDontExpand(), and SwTextAttr::Which().
Referenced by SwAutoCorrDoc::ChgAutoCorrWord(), and SwDoc::InsertGlossary().
void SwDontExpandItem::SaveDontExpandItems | ( | const SwPosition & | rPos | ) |
Definition at line 654 of file acorrect.cxx.
References aCharFormatSetRange, SwDoc::GetAttrPool(), SwPosition::GetContentIndex(), SwNode::GetDoc(), SwPosition::GetNode(), SwTextNode::GetParaAttr(), SwTextNode::GetText(), SwNode::GetTextNode(), m_pDontExpandItems, and n.
Referenced by SwAutoCorrDoc::ChgAutoCorrWord(), and SwDoc::InsertGlossary().
|
private |
Definition at line 38 of file acorrect.hxx.
Referenced by RestoreDontExpandItems(), and SaveDontExpandItems().