LibreOffice Module sc (master) 1
|
#include <lotattr.hxx>
Classes | |
struct | ENTRY |
Public Member Functions | |
LotAttrCache (LotusContext &rContext) | |
~LotAttrCache () | |
const ScPatternAttr & | GetPattAttr (const LotAttrWK3 &) |
Private Member Functions | |
const SvxColorItem & | GetColorItem (const sal_uInt8 nLotIndex) const |
const Color & | GetColor (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 | |
ScDocumentPool * | pDocPool |
std::unique_ptr< SvxColorItem > | ppColorItems [6] |
std::unique_ptr< SvxColorItem > | pWhite |
std::unique_ptr< Color[]> | pColTab |
std::vector< std::unique_ptr< ENTRY > > | aEntries |
LotusContext & | mrContext |
Friends | |
class | LotAttrTable |
Definition at line 54 of file lotattr.hxx.
LotAttrCache::LotAttrCache | ( | LotusContext & | rContext | ) |
Definition at line 49 of file lotattr.cxx.
References ATTR_FONT_COLOR(), COL_BLACK(), COL_LIGHTBLUE(), COL_LIGHTCYAN(), COL_LIGHTGREEN(), COL_LIGHTMAGENTA(), COL_LIGHTRED(), COL_WHITE(), COL_YELLOW(), GetColor(), ScDocument::GetPool(), pColTab, pDocPool, ppColorItems, pWhite, and LotusContext::rDoc.
LotAttrCache::~LotAttrCache | ( | ) |
Definition at line 74 of file lotattr.cxx.
Definition at line 173 of file lotattr.cxx.
References pColTab.
Referenced by GetPattAttr(), and LotAttrCache().
|
private |
const ScPatternAttr & LotAttrCache::GetPattAttr | ( | const LotAttrWK3 & | rAttr | ) |
Definition at line 78 of file lotattr.cxx.
References aEntries, ATTR_BACKGROUND(), ATTR_BORDER(), ATTR_HOR_JUSTIFY(), LotusFontBuffer::Fill(), GetColor(), GetColorItem(), ScPatternAttr::GetItemSet(), LotusToScBorderLine(), LotusContext::maFontBuff, MakeHash(), mrContext, LotAttrWK3::nBack, LotAttrWK3::nFont, LotAttrWK3::nFontCol, LotAttrCache::ENTRY::nHash0, LotAttrWK3::nLineStyle, pDocPool, SfxItemSet::Put(), pWhite, and SvxBoxItem::SetLine().
Referenced by LotAttrTable::SetAttr().
|
staticprivate |
Definition at line 147 of file lotattr.cxx.
References SvxBorderLineWidth::Medium, editeng::SvxBorderLine::SetBorderLineStyle(), editeng::SvxBorderLine::SetWidth(), and SvxBorderLineWidth::Thin.
Referenced by GetPattAttr().
|
inlinestaticprivate |
Definition at line 78 of file lotattr.hxx.
References LotAttrWK3::nBack, LotAttrWK3::nFont, LotAttrWK3::nFontCol, and LotAttrWK3::nLineStyle.
Referenced by GetPattAttr().
|
friend |
Definition at line 66 of file lotattr.hxx.
|
private |
Definition at line 96 of file lotattr.hxx.
Referenced by GetPattAttr().
|
private |
Definition at line 98 of file lotattr.hxx.
Referenced by LotAttrTable::Apply(), and GetPattAttr().
|
private |
Definition at line 95 of file lotattr.hxx.
Referenced by GetColor(), and LotAttrCache().
|
private |
Definition at line 92 of file lotattr.hxx.
Referenced by GetPattAttr(), and LotAttrCache().
|
private |
Definition at line 93 of file lotattr.hxx.
Referenced by GetColorItem(), and LotAttrCache().
|
private |
Definition at line 94 of file lotattr.hxx.
Referenced by GetPattAttr(), and LotAttrCache().