LibreOffice Module sw (master) 1
|
#include "swtypes.hxx"
Go to the source code of this file.
Classes | |
struct | CompareSwpHtEnd |
struct | CompareSwpHtWhichStart |
class | SwpHints |
An SwTextAttr container, stores all directly formatted text portions for a text node. More... | |
Enumerations | |
enum class | CopyOrNewType { Copy , New } |
Functions | |
SwTextAttr * | MakeTextAttr (SwDoc &rDoc, SfxPoolItem &rNew, sal_Int32 const nStt, sal_Int32 const nEnd, CopyOrNewType const bIsCopy=CopyOrNewType::New, SwTextNode *const pTextNode=nullptr) |
if COPY then pTextNode must be given! More... | |
SwTextAttr * | MakeTextAttr (SwDoc &rDoc, const SfxItemSet &rSet, sal_Int32 nStt, sal_Int32 nEnd) |
SwTextAttr * | MakeRedlineTextAttr (SwDoc &rDoc, SfxPoolItem const &rAttr) |
create redline dummy text hint that must not be inserted into hints array More... | |
|
strong |
Enumerator | |
---|---|
Copy | |
New |
Definition at line 33 of file ndhints.hxx.
SwTextAttr * MakeRedlineTextAttr | ( | SwDoc & | rDoc, |
SfxPoolItem const & | rAttr | ||
) |
create redline dummy text hint that must not be inserted into hints array
Definition at line 1000 of file thints.cxx.
References SwDoc::GetAttrPool(), SfxItemPool::Put(), RES_CHRATR_BACKGROUND(), RES_CHRATR_CASEMAP(), RES_CHRATR_CJK_POSTURE(), RES_CHRATR_CJK_WEIGHT(), RES_CHRATR_COLOR(), RES_CHRATR_CROSSEDOUT(), RES_CHRATR_CTL_POSTURE(), RES_CHRATR_CTL_WEIGHT(), RES_CHRATR_POSTURE(), RES_CHRATR_UNDERLINE(), RES_CHRATR_WEIGHT(), and SfxPoolItem::Which().
Referenced by SwRedlineItr::Seek().
SwTextAttr * MakeTextAttr | ( | SwDoc & | rDoc, |
const SfxItemSet & | rSet, | ||
sal_Int32 | nStt, | ||
sal_Int32 | nEnd | ||
) |
Definition at line 1174 of file thints.cxx.
References IStyleAccess::AUTO_STYLE_CHAR, IStyleAccess::getAutomaticStyle(), SwDoc::GetIStyleAccess(), MakeTextAttr(), rSet, and SwFormatAutoFormat::SetStyleHandle().
SwTextAttr * MakeTextAttr | ( | SwDoc & | rDoc, |
SfxPoolItem & | rNew, | ||
sal_Int32 const | nStt, | ||
sal_Int32 const | nEnd, | ||
CopyOrNewType const | bIsCopy = CopyOrNewType::New , |
||
SwTextNode *const | pTextNode = nullptr |
||
) |
if COPY then pTextNode must be given!
Definition at line 1030 of file thints.cxx.
References Copy, SwTextContentControl::CreateTextContentControl(), SwTextMeta::CreateTextMeta(), SwDoc::GetAttrPool(), SwFormatCharFormat::GetCharFormat(), SwDoc::GetDfltCharFormat(), SwTOXType::GetDoc(), SwFormatField::GetField(), SwTextAttr::GetFormatField(), SwDoc::GetMetaFieldManager(), SwTextFootnote::GetSeqRefNo(), SwFormatAutoFormat::GetStyleHandle(), SwHistorySetTOXMark::GetSwTOXType(), SwFormatFootnote::GetTextFootnote(), SwTOXMark::GetTOXType(), SwTOXType::GetType(), SwTOXType::GetTypeName(), isCHRATR(), SwDoc::IsClipBoard(), MakeTextAttr(), SfxItemSet::Put(), SfxItemPool::Put(), SwTOXMark::RegisterToTOXType(), RES_TXTATR_ANNOTATION(), RES_TXTATR_AUTOFMT(), RES_TXTATR_CHARFMT(), RES_TXTATR_CJK_RUBY(), RES_TXTATR_CONTENTCONTROL(), RES_TXTATR_FIELD(), RES_TXTATR_FLYCNT(), RES_TXTATR_FTN(), RES_TXTATR_INETFMT(), RES_TXTATR_INPUTFIELD(), RES_TXTATR_LINEBREAK(), RES_TXTATR_META(), RES_TXTATR_METAFIELD(), RES_TXTATR_REFMARK(), RES_TXTATR_TOXMARK(), SwFormatCharFormat::SetCharFormat(), SwPostItField::SetName(), and SfxPoolItem::Which().
Referenced by SwpHints::BuildPortions(), SwTextNode::CopyText(), SwTextNode::CutImpl(), SwTextNode::impl_FormatToTextAttr(), SwTextNode::InsertItem(), MakeTextAttr(), MakeTextAttrNesting(), SwTextNode::RstTextAttr(), SwTextNode::SetAttr(), and SwTextNode::Update().