LibreOffice Module editeng (master) 1
|
#include <editobj2.hxx>
Public Member Functions | |
~ContentInfo () | |
ContentInfo (const ContentInfo &)=delete | |
ContentInfo & | operator= (const ContentInfo &)=delete |
void | NormalizeString (svl::SharedStringPool &rPool) |
const svl::SharedString & | GetSharedString () const |
OUString | GetText () const |
void | SetText (const OUString &rStr) |
void | dumpAsXml (xmlTextWriterPtr pWriter) const |
const std::vector< XEditAttribute > & | GetCharAttribs () const |
std::vector< XEditAttribute > & | GetCharAttribs () |
const OUString & | GetStyle () const |
SfxStyleFamily | GetFamily () const |
void | SetStyle (const OUString &rStyle) |
void | SetFamily (const SfxStyleFamily &rFamily) |
const SfxItemSet & | GetParaAttribs () const |
SfxItemSet & | GetParaAttribs () |
const WrongList * | GetWrongList () const |
void | SetWrongList (WrongList *p) |
bool | Equals (const ContentInfo &rCompare, bool bComparePool) const |
bool | isWrongListEqual (const ContentInfo &rCompare) const |
Private Member Functions | |
ContentInfo (SfxItemPool &rPool) | |
ContentInfo (const ContentInfo &rCopyFrom, SfxItemPool &rPoolToUse) | |
Private Attributes | |
svl::SharedString | maText |
OUString | aStyle |
std::vector< XEditAttribute > | maCharAttribs |
SfxStyleFamily | eFamily |
SfxItemSetFixed< EE_PARA_START, EE_CHAR_END > | aParaAttribs |
std::unique_ptr< WrongList > | mpWrongs |
Friends | |
class | EditTextObjectImpl |
Definition at line 119 of file editobj2.hxx.
|
private |
Definition at line 95 of file editobj.cxx.
References Para.
|
private |
Definition at line 102 of file editobj.cxx.
References aParaAttribs, WrongList::Clone(), XEditAttribute::GetEnd(), XEditAttribute::GetItem(), GetParaAttribs(), XEditAttribute::GetStart(), GetWrongList(), maCharAttribs, MakeXEditAttribute(), maText, mpWrongs, and SfxItemSet::Set().
ContentInfo::~ContentInfo | ( | ) |
Definition at line 122 of file editobj.cxx.
References aParaAttribs, SfxItemSet::GetPool(), maCharAttribs, and SfxItemPool::Remove().
|
delete |
void ContentInfo::dumpAsXml | ( | xmlTextWriterPtr | pWriter | ) | const |
Definition at line 146 of file editobj.cxx.
References aParaAttribs, aStyle, SfxItemSet::dumpAsXml(), GetText(), and maCharAttribs.
bool ContentInfo::Equals | ( | const ContentInfo & | rCompare, |
bool | bComparePool | ||
) | const |
Definition at line 205 of file editobj.cxx.
References aParaAttribs, aStyle, eFamily, SfxItemSet::Equals(), maCharAttribs, and maText.
|
inline |
Definition at line 149 of file editobj2.hxx.
References maCharAttribs.
|
inline |
Definition at line 148 of file editobj2.hxx.
References maCharAttribs.
Referenced by ImpEditEngine::CreateTextObject(), ImpEditEngine::InsertTextObject(), and editeng::FieldUpdaterImpl::updateTableFields().
|
inline |
Definition at line 152 of file editobj2.hxx.
References eFamily.
Referenced by EditTextObjectImpl::GetStyleSheet(), EditTextObjectImpl::ImpChangeStyleSheets(), and ImpEditEngine::InsertTextObject().
|
inline |
Definition at line 158 of file editobj2.hxx.
References aParaAttribs.
|
inline |
Definition at line 157 of file editobj2.hxx.
References aParaAttribs.
Referenced by ContentInfo(), ImpEditEngine::CreateTextObject(), EditTextObjectImpl::GetParaAttribs(), and ImpEditEngine::InsertTextObject().
|
inline |
Definition at line 142 of file editobj2.hxx.
References maText.
Referenced by EditTextObjectImpl::GetSharedStrings().
|
inline |
Definition at line 151 of file editobj2.hxx.
References aStyle.
Referenced by EditTextObjectImpl::GetStyleSheet(), EditTextObjectImpl::ImpChangeStyleSheets(), and ImpEditEngine::InsertTextObject().
OUString ContentInfo::GetText | ( | ) | const |
Definition at line 135 of file editobj.cxx.
References svl::SharedString::getData(), maText, and p.
Referenced by dumpAsXml(), EditTextObjectImpl::GetAllSections(), EditTextObjectImpl::GetField(), and ImpEditEngine::InsertTextObject().
const WrongList * ContentInfo::GetWrongList | ( | ) | const |
Definition at line 167 of file editobj.cxx.
References mpWrongs.
Referenced by ContentInfo(), ImpEditEngine::InsertTextObject(), and isWrongListEqual().
bool ContentInfo::isWrongListEqual | ( | const ContentInfo & | rCompare | ) | const |
Definition at line 178 of file editobj.cxx.
References GetWrongList().
void ContentInfo::NormalizeString | ( | svl::SharedStringPool & | rPool | ) |
Definition at line 129 of file editobj.cxx.
References svl::SharedString::getData(), svl::SharedStringPool::intern(), and maText.
Referenced by EditTextObjectImpl::NormalizeString().
|
delete |
|
inline |
Definition at line 155 of file editobj2.hxx.
References eFamily.
Referenced by ImpEditEngine::CreateTextObject(), EditTextObjectImpl::ImpChangeStyleSheets(), and EditTextObjectImpl::SetStyleSheet().
|
inline |
Definition at line 154 of file editobj2.hxx.
References aStyle.
Referenced by ImpEditEngine::CreateTextObject(), EditTextObjectImpl::ImpChangeStyleSheets(), and EditTextObjectImpl::SetStyleSheet().
void ContentInfo::SetText | ( | const OUString & | rStr | ) |
Definition at line 141 of file editobj.cxx.
References maText.
Referenced by ImpEditEngine::CreateTextObject().
void ContentInfo::SetWrongList | ( | WrongList * | p | ) |
Definition at line 172 of file editobj.cxx.
Referenced by ImpEditEngine::CreateTextObject().
|
friend |
Definition at line 121 of file editobj2.hxx.
|
private |
Definition at line 129 of file editobj2.hxx.
Referenced by ContentInfo(), dumpAsXml(), Equals(), GetParaAttribs(), and ~ContentInfo().
|
private |
Definition at line 125 of file editobj2.hxx.
Referenced by dumpAsXml(), Equals(), GetStyle(), and SetStyle().
|
private |
Definition at line 128 of file editobj2.hxx.
Referenced by Equals(), GetFamily(), and SetFamily().
|
private |
Definition at line 127 of file editobj2.hxx.
Referenced by ContentInfo(), dumpAsXml(), Equals(), EditTextObjectImpl::GetAllSections(), GetCharAttribs(), EditTextObjectImpl::GetCharAttribs(), EditTextObjectImpl::GetField(), EditTextObjectImpl::GetFieldData(), EditTextObjectImpl::HasField(), EditTextObjectImpl::RemoveCharAttribs(), and ~ContentInfo().
|
private |
Definition at line 124 of file editobj2.hxx.
Referenced by Equals(), GetSharedString(), GetText(), NormalizeString(), and SetText().
|
private |
Definition at line 131 of file editobj2.hxx.
Referenced by ContentInfo(), GetWrongList(), and SetWrongList().