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

#include <lotattr.hxx>

Collaboration diagram for LotAttrCache:
[legend]

Classes

struct  ENTRY
 

Public Member Functions

 LotAttrCache (LotusContext &rContext)
 
 ~LotAttrCache ()
 
const ScPatternAttrGetPattAttr (const LotAttrWK3 &)
 

Private Member Functions

const SvxColorItemGetColorItem (const sal_uInt8 nLotIndex) const
 
const ColorGetColor (const sal_uInt8 nLotIndex) const
 

Static Private Member Functions

static void MakeHash (const LotAttrWK3 &rAttr, sal_uInt32 &rOut)
 
static void LotusToScBorderLine (sal_uInt8 nLine, ::editeng::SvxBorderLine &)
 

Private Attributes

ScDocumentPoolpDocPool
 
std::unique_ptr< SvxColorItemppColorItems [6]
 
std::unique_ptr< SvxColorItempWhite
 
std::unique_ptr< Color[]> pColTab
 
std::vector< std::unique_ptr< ENTRY > > aEntries
 
LotusContextmrContext
 

Friends

class LotAttrTable
 

Detailed Description

Definition at line 54 of file lotattr.hxx.

Constructor & Destructor Documentation

◆ LotAttrCache()

LotAttrCache::LotAttrCache ( LotusContext rContext)

◆ ~LotAttrCache()

LotAttrCache::~LotAttrCache ( )

Definition at line 74 of file lotattr.cxx.

Member Function Documentation

◆ GetColor()

const Color & LotAttrCache::GetColor ( const sal_uInt8  nLotIndex) const
private

Definition at line 173 of file lotattr.cxx.

References pColTab.

Referenced by GetPattAttr(), and LotAttrCache().

◆ GetColorItem()

const SvxColorItem & LotAttrCache::GetColorItem ( const sal_uInt8  nLotIndex) const
private

Definition at line 165 of file lotattr.cxx.

References ppColorItems.

Referenced by GetPattAttr().

◆ GetPattAttr()

const ScPatternAttr & LotAttrCache::GetPattAttr ( const LotAttrWK3 rAttr)

◆ LotusToScBorderLine()

void LotAttrCache::LotusToScBorderLine ( sal_uInt8  nLine,
::editeng::SvxBorderLine aBL 
)
staticprivate

◆ MakeHash()

static void LotAttrCache::MakeHash ( const LotAttrWK3 rAttr,
sal_uInt32 &  rOut 
)
inlinestaticprivate

Definition at line 78 of file lotattr.hxx.

References LotAttrWK3::nBack, LotAttrWK3::nFont, LotAttrWK3::nFontCol, and LotAttrWK3::nLineStyle.

Referenced by GetPattAttr().

Friends And Related Function Documentation

◆ LotAttrTable

friend class LotAttrTable
friend

Definition at line 66 of file lotattr.hxx.

Member Data Documentation

◆ aEntries

std::vector< std::unique_ptr<ENTRY> > LotAttrCache::aEntries
private

Definition at line 96 of file lotattr.hxx.

Referenced by GetPattAttr().

◆ mrContext

LotusContext& LotAttrCache::mrContext
private

Definition at line 98 of file lotattr.hxx.

Referenced by LotAttrTable::Apply(), and GetPattAttr().

◆ pColTab

std::unique_ptr<Color[]> LotAttrCache::pColTab
private

Definition at line 95 of file lotattr.hxx.

Referenced by GetColor(), and LotAttrCache().

◆ pDocPool

ScDocumentPool* LotAttrCache::pDocPool
private

Definition at line 92 of file lotattr.hxx.

Referenced by GetPattAttr(), and LotAttrCache().

◆ ppColorItems

std::unique_ptr<SvxColorItem> LotAttrCache::ppColorItems[6]
private

Definition at line 93 of file lotattr.hxx.

Referenced by GetColorItem(), and LotAttrCache().

◆ pWhite

std::unique_ptr<SvxColorItem> LotAttrCache::pWhite
private

Definition at line 94 of file lotattr.hxx.

Referenced by GetPattAttr(), and LotAttrCache().


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