69 virtual bool HasLookup()
const override {
return true; }
70 virtual lookup_iterator
Lookup(lookup_iterator begin, lookup_iterator end )
const override;
75 {
return static_cast<const T&
>(
GetItem(sal_uInt16(nWhich))); }
79 {
return static_cast<const T&
>(
GetItem(sal_uInt16(nWhich), rItemSet, pCondSet)); }
83 {
return static_cast<const T&
>(
GetItem(sal_uInt16(nWhich), pCondSet)); }
86 bool HasItemsSet(
const sal_uInt16* pWhich )
const;
87 void ClearItems(
const sal_uInt16* pWhich );
101 const Color* pTextConfigColor =
nullptr );
110 const Color* pBackConfigColor =
nullptr,
111 const Color* pTextConfigColor =
nullptr )
const;
121 void GetFromEditItemSet(
const SfxItemSet* pEditSet );
123 void FillEditParaItems(
SfxItemSet* pSet )
const;
127 void SetStyleSheet(
ScStyleSheet* pNewStyle,
bool bClearDirectFormat =
true);
129 const OUString* GetStyleName()
const;
130 void UpdateStyleSheet(
const ScDocument& rDoc);
133 bool IsVisible()
const;
138 bool IsSymbolFont()
const;
147 void SetKey(sal_uInt64 nKey);
148 sal_uInt64 GetKey()
const;
150 static std::optional<bool> FastEqualPatternSets(
const SfxItemSet& rSet1,
const SfxItemSet& rSet2 );
159 void CalcHashCode()
const;
const T & GetItem(TypedWhichId< T > nWhich, const SfxItemSet *pCondSet) const
std::optional< size_t > mxHashCode
std::optional< OUString > pName
const ScStyleSheet * GetStyleSheet() const
virtual bool HasLookup() const override
const T & GetItem(TypedWhichId< T > nWhich) const
SfxItemSet & GetItemSet()
const SfxPoolItem & GetItem(sal_uInt16 nWhichP) const
static const T & GetItem(TypedWhichId< T > nWhich, const SfxItemSet &rItemSet, const SfxItemSet *pCondSet)
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
virtual lookup_iterator Lookup(lookup_iterator, lookup_iterator end) const
virtual bool operator==(const SfxPoolItem &) const override
const SfxItemSet & GetItemSet() const
virtual SfxSetItem * Clone(SfxItemPool *pPool=nullptr) const override=0
vcl::Font GetFont(vcl::Font const &rFont, DrawModeFlags nDrawMode, StyleSettings const &rStyleSettings)
ScAutoFontColorMode
how to treat COL_AUTO in GetFont:
@ SC_AUTOCOL_BLACK
always use black
@ SC_AUTOCOL_IGNOREBACK
like DISPLAY, but ignore stored background color (use configured color)
@ SC_AUTOCOL_DISPLAY
from style settings, or black/white if needed
@ SC_AUTOCOL_RAW
COL_AUTO is returned.
@ SC_AUTOCOL_IGNOREFONT
like DISPLAY, but ignore stored font color (assume COL_AUTO)
@ SC_AUTOCOL_PRINT
black or white, depending on background
@ SC_AUTOCOL_IGNOREALL
like DISPLAY, but ignore stored font and background colors