LibreOffice Module sw (master) 1
CharFormat Namespace Reference


const SfxItemSetGetItemSet (const SfxPoolItem &rAttr)
 Returns the item set associated with a character/inet/auto style. More...
const SfxPoolItemGetItem (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)

Function Documentation

◆ GetItem() [1/2]

const SfxPoolItem * CharFormat::GetItem ( const SwTextAttr rAttr,
sal_uInt16  nWhich 

◆ GetItem() [2/2]

template<class T >
const T * CharFormat::GetItem ( const SwTextAttr rAttr,
TypedWhichId< T >  nWhich 

Definition at line 52 of file charfmt.hxx.

References GetItem().

◆ GetItemSet()

SW_DLLPUBLIC const SfxItemSet * CharFormat::GetItemSet ( const SfxPoolItem rAttr)

◆ IsItemIncluded()

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().