LibreOffice Module sc (master) 1
Classes | Public Member Functions | Private Attributes | List of all members
ScPatternCache Class Reference

#include <patterncache.hxx>

Collaboration diagram for ScPatternCache:


struct  Entry

Public Member Functions

 ScPatternCache ()
ScPatternAttrquery (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

Detailed Description

Definition at line 27 of file patterncache.hxx.

Constructor & Destructor Documentation

◆ ScPatternCache()

ScPatternCache::ScPatternCache ( )

Definition at line 29 of file patterncache.cxx.

Member Function Documentation

◆ add()

void ScPatternCache::add ( sal_Int32  nXfId,
sal_Int32  nNumFmtId,
ScPatternAttr pPattern 

◆ query()

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

Member Data Documentation

◆ maEntries

Entry ScPatternCache::maEntries[nPatternCacheSize]

Definition at line 38 of file patterncache.hxx.

Referenced by add(), and query().

◆ nNextPos

sal_Int32 ScPatternCache::nNextPos

Definition at line 39 of file patterncache.hxx.

Referenced by add().

The documentation for this class was generated from the following files: