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

Private Attributes

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

Detailed Description

Definition at line 80 of file clrscheme.hxx.

Member Function Documentation

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

Definition at line 74 of file clrscheme.cxx.

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

Definition at line 102 of file clrscheme.cxx.

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

Definition at line 94 of file clrscheme.hxx.

References maName.

void oox::drawingml::ClrScheme::setColor ( sal_Int32  nSchemeClrToken,
::Color  nColor 
void oox::drawingml::ClrScheme::SetName ( const OUString &  rName)

Definition at line 93 of file clrscheme.hxx.

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

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

Definition at line 111 of file clrscheme.cxx.

References comphelper::containerToSequence().

Member Data Documentation

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

Definition at line 82 of file clrscheme.hxx.

OUString oox::drawingml::ClrScheme::maName

Definition at line 83 of file clrscheme.hxx.

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