namespace vcl { class Font; } namespace model { class ComplexColor; } struct ScInterpreterContext; class OutputDevice; class Fraction; class ScStyleSheet; class SvNumberFormatter; class ScDocument; enumclass ScRotateDir : sal_uInt8;
/// how to treat COL_AUTO in GetFont:
enumclass ScAutoFontColorMode
{
Raw, ///< COL_AUTO is returned
Print, ///< black or white, depending on background
Display, ///< from style settings, or black/white if needed
IgnoreFont, ///< like DISPLAY, but ignore stored font color (assume COL_AUTO)
IgnoreBack, ///< like DISPLAY, but ignore stored background color (use configured color)
IgnoreAll ///< like DISPLAY, but ignore stored font and background colors
};
class ScPatternAttr;
class SC_DLLPUBLIC CellAttributeHelper final
{ friendclass CellAttributeHolder;
// Data structure chosen so that // (a) we can find by name // (b) we can erase quickly, by using name and pointer. // so we sort the set first by name, and then by pointer. struct RegisteredAttrSetLess
{ booloperator()(const ScPatternAttr* lhs, const ScPatternAttr* rhs) const; // so we can search in std::set without a ScPatternAttr using is_transparent = void; booloperator()(const ScPatternAttr* lhs, const OUString* rhs) const; booloperator()(const OUString* lhs, const ScPatternAttr* rhs) const;
}; typedef std::set<const ScPatternAttr*, RegisteredAttrSetLess> RegisteredAttrSet;
// only to be used from CellAttributeHolder, so private const ScPatternAttr* registerAndCheck(const ScPatternAttr& rCandidate, bool bPassingOwnership) const; void doUnregister(const ScPatternAttr& rCandidate);
/** Converts all Calc items contained in rSrcSet to edit engine items and puts them into rEditSet. */
SC_DLLPUBLIC staticvoid FillToEditItemSet( SfxItemSet& rEditSet, const SfxItemSet& rSrcSet, const SfxItemSet* pCondSet = nullptr ); /** Converts all Calc items contained in the own item set to edit engine items and puts them into pEditSet. */
SC_DLLPUBLIC void FillEditItemSet( SfxItemSet* pEditSet, const SfxItemSet* pCondSet = nullptr ) const;
/** Converts all edit engine items contained in rEditSet to Calc items and puts them into rDestSet. */
SC_DLLPUBLIC staticvoid GetFromEditItemSet( SfxItemSet& rDestSet, const SfxItemSet& rEditSet ); /** Converts all edit engine items contained in pEditSet to Calc items and puts them into the own item set. */
SC_DLLPUBLIC void GetFromEditItemSet( const SfxItemSet* pEditSet );
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.15Bemerkung:
(vorverarbeitet am 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.