LibreOffice Module sc (master) 1
|
#include <patterncache.hxx>
Classes | |
struct | Entry |
Public Member Functions | |
ScPatternCache () | |
ScPatternAttr * | query (sal_Int32 nXfId, sal_Int32 nNumFmtId) const |
void | add (sal_Int32 nXfId, sal_Int32 nNumFmtId, ScPatternAttr *pPattern) |
Private Attributes | |
Entry | maEntries [nPatternCacheSize] |
sal_Int32 | nNextPos |
Definition at line 27 of file patterncache.hxx.
ScPatternCache::ScPatternCache | ( | ) |
Definition at line 29 of file patterncache.cxx.
void ScPatternCache::add | ( | sal_Int32 | nXfId, |
sal_Int32 | nNumFmtId, | ||
ScPatternAttr * | pPattern | ||
) |
Definition at line 45 of file patterncache.cxx.
References maEntries, nNextPos, ScPatternCache::Entry::nNumFmtId, nPatternCacheSize, ScPatternCache::Entry::nXfId, and ScPatternCache::Entry::pPattern.
Referenced by oox::xls::Xf::applyPatternToAttrList().
ScPatternAttr * ScPatternCache::query | ( | sal_Int32 | nXfId, |
sal_Int32 | nNumFmtId | ||
) | const |
Definition at line 34 of file patterncache.cxx.
References maEntries.
Referenced by oox::xls::Xf::applyPatternToAttrList().
|
private |
Definition at line 38 of file patterncache.hxx.
|
private |
Definition at line 39 of file patterncache.hxx.
Referenced by add().