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

A named theme has a named color set. More...

#include <ColorSets.hxx>

Public Member Functions

 Theme (OUString const &rName)
 
 ~Theme ()
 
void SetColorSet (std::unique_ptr< ColorSet > pColorSet)
 
ColorSetGetColorSet ()
 
void SetName (const OUString &rName)
 
const OUString & GetName () const
 
void dumpAsXml (xmlTextWriterPtr pWriter) const
 
void ToAny (css::uno::Any &rVal) const
 
void UpdateSdrPage (const SdrPage *pPage)
 
std::vector< ColorGetColors () const
 

Static Public Member Functions

static std::unique_ptr< ThemeFromAny (const css::uno::Any &rVal)
 

Private Attributes

OUString maName
 
std::unique_ptr< ColorSetmpColorSet
 

Detailed Description

A named theme has a named color set.

Definition at line 73 of file ColorSets.hxx.

Constructor & Destructor Documentation

svx::Theme::Theme ( OUString const &  rName)
svx::Theme::~Theme ( )

Definition at line 241 of file ColorSets.cxx.

Member Function Documentation

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

Definition at line 251 of file ColorSets.cxx.

References maName, mpColorSet, and void().

std::unique_ptr< Theme > svx::Theme::FromAny ( const css::uno::Any &  rVal)
static
std::vector< Color > svx::Theme::GetColors ( ) const

Definition at line 348 of file ColorSets.cxx.

References i, and mpColorSet.

ColorSet * svx::Theme::GetColorSet ( )

Definition at line 245 of file ColorSets.cxx.

References mpColorSet.

const OUString & svx::Theme::GetName ( ) const

Definition at line 249 of file ColorSets.cxx.

References maName.

void svx::Theme::SetColorSet ( std::unique_ptr< ColorSet pColorSet)

Definition at line 243 of file ColorSets.cxx.

References mpColorSet.

void svx::Theme::SetName ( const OUString &  rName)

Definition at line 247 of file ColorSets.cxx.

References maName.

void svx::Theme::ToAny ( css::uno::Any &  rVal) const
void svx::Theme::UpdateSdrPage ( const SdrPage pPage)

Member Data Documentation

OUString svx::Theme::maName
private

Definition at line 75 of file ColorSets.hxx.

Referenced by dumpAsXml(), GetName(), SetName(), and ToAny().

std::unique_ptr<ColorSet> svx::Theme::mpColorSet
private

Definition at line 76 of file ColorSets.hxx.

Referenced by dumpAsXml(), GetColors(), GetColorSet(), SetColorSet(), and ToAny().


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