LibreOffice Module oox (master) 1
Public Member Functions | Private Attributes | List of all members
oox::drawingml::ClrScheme Class Reference

#include <clrscheme.hxx>

Public Member Functions

bool getColor (sal_Int32 nSchemeClrToken, ::Color &rColor) const
void setColor (sal_Int32 nSchemeClrToken, ::Color nColor)
bool getColorByIndex (size_t nIndex, ::Color &rColor) const
void SetName (const OUString &rName)
const OUString & GetName () const
void ToAny (css::uno::Any &rVal) const
void fill (model::ColorSet &rColorSet) const

Private Attributes

std::vector< std::pair< sal_Int32, ::Color > > maClrScheme
OUString maName

Detailed Description

Definition at line 66 of file clrscheme.hxx.

Member Function Documentation

◆ fill()

void oox::drawingml::ClrScheme::fill ( model::ColorSet rColorSet) const

◆ getColor()

bool oox::drawingml::ClrScheme::getColor ( sal_Int32  nSchemeClrToken,
::Color rColor 
) const

Definition at line 108 of file clrscheme.cxx.

References maClrScheme.

◆ getColorByIndex()

bool oox::drawingml::ClrScheme::getColorByIndex ( size_t  nIndex,
::Color rColor 
) const

Definition at line 146 of file clrscheme.cxx.

References maClrScheme, and nIndex.

◆ GetName()

const OUString & oox::drawingml::ClrScheme::GetName ( ) const

Definition at line 80 of file clrscheme.hxx.

References maName.

◆ setColor()

void oox::drawingml::ClrScheme::setColor ( sal_Int32  nSchemeClrToken,
::Color  nColor 

Definition at line 137 of file clrscheme.cxx.

References maClrScheme.

Referenced by oox::drawingml::clrSchemeColorContext::~clrSchemeColorContext().

◆ SetName()

void oox::drawingml::ClrScheme::SetName ( const OUString &  rName)

Definition at line 79 of file clrscheme.hxx.

References maName.

Referenced by oox::drawingml::ThemeElementsContext::onCreateContext().

◆ ToAny()

void oox::drawingml::ClrScheme::ToAny ( css::uno::Any &  rVal) const

Definition at line 155 of file clrscheme.cxx.

References comphelper::containerToSequence(), and maClrScheme.

Member Data Documentation

◆ maClrScheme

std::vector< std::pair<sal_Int32, ::Color> > oox::drawingml::ClrScheme::maClrScheme

Definition at line 68 of file clrscheme.hxx.

Referenced by fill(), getColor(), getColorByIndex(), setColor(), and ToAny().

◆ maName

OUString oox::drawingml::ClrScheme::maName

Definition at line 69 of file clrscheme.hxx.

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