LibreOffice Module sw (master) 1
|
Functions | |
const SfxItemSet * | GetItemSet (const SfxPoolItem &rAttr) |
Returns the item set associated with a character/inet/auto style. More... | |
const SfxPoolItem * | GetItem (const SwTextAttr &rAttr, sal_uInt16 nWhich) |
Extracts pool item of type nWhich from rAttr. More... | |
bool | IsItemIncluded (const sal_uInt16 nWhich, const SwTextAttr *pAttr) |
Checks if item is included in character/inet/auto style. More... | |
template<class T > | |
const T * | GetItem (const SwTextAttr &rAttr, TypedWhichId< T > nWhich) |
const SfxPoolItem * CharFormat::GetItem | ( | const SwTextAttr & | rAttr, |
sal_uInt16 | nWhich | ||
) |
Extracts pool item of type nWhich from rAttr.
Definition at line 157 of file atrstck.cxx.
References SwTextAttr::GetAttr(), GetItemSet(), SfxItemSet::GetItemState(), RES_TXTATR_AUTOFMT(), RES_TXTATR_CHARFMT(), RES_TXTATR_INETFMT(), and SwTextAttr::Which().
Referenced by SwAttrHandler::ActivateTop(), SwpHints::BuildPortions(), SwNumFormatBase::CallSelectHdl(), SwTextPainter::CheckSpecialUnderline(), SwTextNode::CopyExpandText(), SwTextNode::DeleteAttributes(), SwAttrHandler::FontChg(), GetItem(), SwTextNode::GetLang(), lcl_Has2Lines(), lcl_HasRotation(), SwTemplateDlgController::PageCreated(), SwLanguageIterator::SearchNextChg(), SwScriptInfo::selectHiddenTextProperty(), SwDoubleLinePortion::SwDoubleLinePortion(), SwRotatedPortion::SwRotatedPortion(), SwpHints::TryInsertHint(), and SwXMLItemSetContext::~SwXMLItemSetContext().
const T * CharFormat::GetItem | ( | const SwTextAttr & | rAttr, |
TypedWhichId< T > | nWhich | ||
) |
Definition at line 52 of file charfmt.hxx.
References GetItem().
SW_DLLPUBLIC const SfxItemSet * CharFormat::GetItemSet | ( | const SfxPoolItem & | rAttr | ) |
Returns the item set associated with a character/inet/auto style.
Definition at line 133 of file atrstck.cxx.
References SwFormat::GetAttrSet(), RES_TXTATR_AUTOFMT(), RES_TXTATR_INETFMT(), SfxPoolItem::StaticWhichCast(), and SfxPoolItem::Which().
Referenced by SwAttrHandler::ActivateTop(), GetItem(), SwEditShell::GetItemWithPaM(), SwTextNode::GetParaAttr(), SwWW8AttrIter::HasTextItem(), IsItemIncluded(), lcl_MergeAttr(), lcl_MergeAttr_ExpandChrFormat(), SwAttrHandler::PopAndChg(), SwAttrHandler::PushAndChg(), and SwTemplateDlgController::RefreshInputSet().
bool CharFormat::IsItemIncluded | ( | const sal_uInt16 | nWhich, |
const SwTextAttr * | pAttr | ||
) |
Checks if item is included in character/inet/auto style.
Definition at line 177 of file atrstck.cxx.
References SwTextAttr::GetAttr(), GetItemSet(), and SfxItemSet::GetItemState().
Referenced by SwpHints::BuildPortions(), and SwTextNode::GetLang().