LibreOffice Module editeng (master) 1
|
#include <editdoc.hxx>
Public Member Functions | |
ContentAttribs (SfxItemPool &rItemPool) | |
void | dumpAsXml (xmlTextWriterPtr pWriter) const |
SvxTabStop | FindTabStop (sal_Int32 nCurPos, sal_uInt16 nDefTab) |
SfxItemSet & | GetItems () |
const SfxItemSet & | GetItems () const |
const SfxStyleSheet * | GetStyleSheet () const |
SfxStyleSheet * | GetStyleSheet () |
void | SetStyleSheet (SfxStyleSheet *pS) |
const SfxPoolItem & | GetItem (sal_uInt16 nWhich) const |
template<class T > | |
const T & | GetItem (TypedWhichId< T > nWhich) const |
bool | HasItem (sal_uInt16 nWhich) const |
Private Attributes | |
SfxStyleSheet * | pStyle |
SfxItemSetFixed< EE_PARA_START, EE_CHAR_END > | aAttribSet |
Definition at line 154 of file editdoc.hxx.
ContentAttribs::ContentAttribs | ( | SfxItemPool & | rItemPool | ) |
Definition at line 1814 of file editdoc.cxx.
void ContentAttribs::dumpAsXml | ( | xmlTextWriterPtr | pWriter | ) | const |
Definition at line 1883 of file editdoc.cxx.
References aAttribSet, SfxItemSet::dumpAsXml(), SfxStyleSheetBase::GetName(), and pStyle.
Referenced by ContentNode::dumpAsXml().
SvxTabStop ContentAttribs::FindTabStop | ( | sal_Int32 | nCurPos, |
sal_uInt16 | nDefTab | ||
) |
Definition at line 1821 of file editdoc.cxx.
References SvxTabStopItem::Count(), EE_PARA_TABS(), SvxTabStopItem::GetDefaultDistance(), GetItem(), SvxTabStop::GetTabPos(), i, and x.
Referenced by ImpEditEngine::CreateLines().
const SfxPoolItem & ContentAttribs::GetItem | ( | sal_uInt16 | nWhich | ) | const |
Definition at line 1862 of file editdoc.cxx.
References aAttribSet, SfxItemSet::Get(), SfxStyleSheetBase::GetItemSet(), SfxItemSet::GetItemState(), and pStyle.
Referenced by ImpEditEngine::CalcVertLineSpacing(), ImpEditEngine::CreateAndInsertEmptyLine(), ImpEditEngine::CreateLines(), FindTabStop(), GetItem(), ImpEditEngine::GetLanguage(), ImpEditEngine::GetLRSpaceItem(), ImpEditEngine::ImpBreakLine(), ImpEditEngine::Paint(), and ImpEditEngine::SeekCursor().
|
inline |
Definition at line 174 of file editdoc.hxx.
References GetItem().
|
inline |
Definition at line 166 of file editdoc.hxx.
References aAttribSet.
Referenced by EditRTFParser::AddRTFDefaultValues(), EditRTFParser::CallParser(), ImpEditEngine::CreateTextObject(), EditEngine::DumpData(), ImpEditEngine::ImpConnectParagraphs(), EditHTMLParser::ImpSetStyleSheet(), EditDoc::InsertParaBreak(), EditHTMLParser::NextToken(), EditDoc::RemoveText(), EditRTFParser::SetAttrInDoc(), ImpEditEngine::SetStyleSheet(), and ImpEditEngine::WriteRTF().
|
inline |
Definition at line 167 of file editdoc.hxx.
References aAttribSet.
|
inline |
Definition at line 169 of file editdoc.hxx.
References pStyle.
|
inline |
Definition at line 168 of file editdoc.hxx.
References pStyle.
Referenced by ContentNode::CreateDefFont(), ContentNode::GetStyleSheet(), and ImpEditEngine::GetStyleSheet().
bool ContentAttribs::HasItem | ( | sal_uInt16 | nWhich | ) | const |
Definition at line 1872 of file editdoc.cxx.
References aAttribSet, SfxStyleSheetBase::GetItemSet(), SfxItemSet::GetItemState(), and pStyle.
Referenced by EditRTFParser::AddRTFDefaultValues().
void ContentAttribs::SetStyleSheet | ( | SfxStyleSheet * | pS | ) |
Definition at line 1842 of file editdoc.cxx.
References aAttribSet, SfxItemSet::ClearItem(), EE_CHAR_END(), EE_PARA_BULLETSTATE(), EE_PARA_START(), SfxStyleSheetBase::GetItemSet(), SfxItemSet::GetItemState(), pS, and pStyle.
Referenced by ContentNode::SetStyleSheet().
|
private |
Definition at line 158 of file editdoc.hxx.
Referenced by dumpAsXml(), GetItem(), GetItems(), HasItem(), and SetStyleSheet().
|
private |
Definition at line 157 of file editdoc.hxx.
Referenced by dumpAsXml(), GetItem(), GetStyleSheet(), HasItem(), and SetStyleSheet().