59 ScPatternAttr(std::unique_ptr<SfxItemSet>&& pItemSet,
const OUString& rStyleName);
73 {
return static_cast<const T&
>(
GetItem(sal_uInt16(nWhich))); }
77 {
return static_cast<const T&
>(
GetItem(sal_uInt16(nWhich), rItemSet, pCondSet)); }
81 {
return static_cast<const T&
>(
GetItem(sal_uInt16(nWhich), pCondSet)); }
84 bool HasItemsSet(
const sal_uInt16* pWhich )
const;
85 void ClearItems(
const sal_uInt16* pWhich );
99 const Color* pTextConfigColor =
nullptr );
108 const Color* pBackConfigColor =
nullptr,
109 const Color* pTextConfigColor =
nullptr )
const;
119 void GetFromEditItemSet(
const SfxItemSet* pEditSet );
121 void FillEditParaItems(
SfxItemSet* pSet )
const;
125 void SetStyleSheet(
ScStyleSheet* pNewStyle,
bool bClearDirectFormat =
true);
127 const OUString* GetStyleName()
const;
128 void UpdateStyleSheet(
const ScDocument& rDoc);
131 bool IsVisible()
const;
136 bool IsSymbolFont()
const;
145 void SetKey(sal_uInt64 nKey);
146 sal_uInt64 GetKey()
const;
149 void CalcHashCode()
const;
like DISPLAY, but ignore stored font and background colors
virtual bool operator==(const SfxPoolItem &) const override
const SfxItemSet & GetItemSet() const
like DISPLAY, but ignore stored background color (use configured color)
like DISPLAY, but ignore stored font color (assume COL_AUTO)
const SfxPoolItem & GetItem(sal_uInt16 nWhichP) const
static const T & GetItem(TypedWhichId< T > nWhich, const SfxItemSet &rItemSet, const SfxItemSet *pCondSet)
std::optional< size_t > mxHashCode
const ScStyleSheet * GetStyleSheet() const
virtual SfxSetItem * Clone(SfxItemPool *pPool=nullptr) const override=0
ScAutoFontColorMode
how to treat COL_AUTO in GetFont:
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
black or white, depending on background
std::optional< OUString > pName
from style settings, or black/white if needed
const T & GetItem(TypedWhichId< T > nWhich) const
const T & GetItem(TypedWhichId< T > nWhich, const SfxItemSet *pCondSet) const