LibreOffice Module svx (master)  1
Public Member Functions | Private Attributes | List of all members
svx::ColorSet Class Reference

#include <ColorSets.hxx>

Public Member Functions

 ColorSet (OUString const &aName)
void add (sal_uInt32 nIndex,::Color aColorData)
const OUString & getName () const
const ColorgetColor (sal_uInt32 nIndex) const
void dumpAsXml (xmlTextWriterPtr pWriter) const

Private Attributes

OUString maColorSetName
std::vector< ColormaColors

Detailed Description

Definition at line 27 of file ColorSets.hxx.

Constructor & Destructor Documentation

svx::ColorSet::ColorSet ( OUString const &  aName)

Definition at line 128 of file ColorSets.cxx.

Member Function Documentation

void svx::ColorSet::add ( sal_uInt32  nIndex,
::Color  aColorData 

Definition at line 34 of file ColorSets.hxx.

Referenced by svx::Theme::FromAny(), and svx::ColorSets::init().

void svx::ColorSet::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Definition at line 136 of file ColorSets.cxx.

References maColors, maColorSetName, and void().

const Color& svx::ColorSet::getColor ( sal_uInt32  nIndex) const

Definition at line 43 of file ColorSets.hxx.

const OUString& svx::ColorSet::getName ( ) const

Definition at line 39 of file ColorSets.hxx.

References maColorSetName.

Referenced by svx::ColorSets::getColorSet().

Member Data Documentation

std::vector<Color> svx::ColorSet::maColors

Definition at line 30 of file ColorSets.hxx.

Referenced by dumpAsXml().

OUString svx::ColorSet::maColorSetName

Definition at line 29 of file ColorSets.hxx.

Referenced by dumpAsXml(), and getName().

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