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

#include <theme.hxx>

Collaboration diagram for oox::drawingml::Theme:
[legend]

Public Member Functions

 Theme ()
 
 ~Theme ()
 
void setStyleName (const OUString &rStyleName)
 
ClrSchemegetClrScheme ()
 
const ClrSchemegetClrScheme () const
 
FillStyleListgetFillStyleList ()
 
const FillStyleListgetFillStyleList () const
 
FillStyleListgetBgFillStyleList ()
 
const FillStyleListgetBgFillStyleList () const
 
const FillPropertiesgetFillStyle (sal_Int32 nIndex) const
 Returns the fill properties of the passed one-based themed style index. More...
 
LineStyleListgetLineStyleList ()
 
const LineStyleListgetLineStyleList () const
 
const LinePropertiesgetLineStyle (sal_Int32 nIndex) const
 Returns the line properties of the passed one-based themed style index. More...
 
EffectStyleListgetEffectStyleList ()
 
const EffectStyleListgetEffectStyleList () const
 
const EffectPropertiesgetEffectStyle (sal_Int32 nIndex) const
 
FontSchemegetFontScheme ()
 
const FontSchemegetFontScheme () const
 
const TextCharacterPropertiesgetFontStyle (sal_Int32 nSchemeType) const
 Returns theme font properties by scheme type (major/minor). More...
 
const TextFontresolveFont (const OUString &rName) const
 Returns theme font by placeholder name, e.g. More...
 
ShapegetSpDef ()
 
const ShapegetSpDef () const
 
ShapegetLnDef ()
 
const ShapegetLnDef () const
 
ShapegetTxDef ()
 
const ShapegetTxDef () const
 
const css::uno::Reference< css::xml::dom::XDocument > & getFragment () const
 
void setFragment (const css::uno::Reference< css::xml::dom::XDocument > &xRef)
 

Private Attributes

OUString maStyleName
 
ClrScheme maClrScheme
 
FillStyleList maFillStyleList
 
FillStyleList maBgFillStyleList
 
LineStyleList maLineStyleList
 
EffectStyleList maEffectStyleList
 
FontScheme maFontScheme
 
Shape maSpDef
 
Shape maLnDef
 
Shape maTxDef
 
css::uno::Reference< css::xml::dom::XDocument > mxFragment
 

Detailed Description

Definition at line 56 of file theme.hxx.

Constructor & Destructor Documentation

oox::drawingml::Theme::Theme ( )

Definition at line 26 of file theme.cxx.

oox::drawingml::Theme::~Theme ( )

Definition at line 30 of file theme.cxx.

Member Function Documentation

FillStyleList& oox::drawingml::Theme::getBgFillStyleList ( )
inline

Definition at line 69 of file theme.hxx.

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

const FillStyleList& oox::drawingml::Theme::getBgFillStyleList ( ) const
inline

Definition at line 70 of file theme.hxx.

ClrScheme& oox::drawingml::Theme::getClrScheme ( )
inline

Definition at line 64 of file theme.hxx.

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

const ClrScheme& oox::drawingml::Theme::getClrScheme ( ) const
inline

Definition at line 65 of file theme.hxx.

const EffectProperties * oox::drawingml::Theme::getEffectStyle ( sal_Int32  nIndex) const

Definition at line 57 of file theme.cxx.

References maEffectStyleList.

Referenced by oox::drawingml::Shape::getActualEffectProperties().

EffectStyleList& oox::drawingml::Theme::getEffectStyleList ( )
inline

Definition at line 79 of file theme.hxx.

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

const EffectStyleList& oox::drawingml::Theme::getEffectStyleList ( ) const
inline

Definition at line 80 of file theme.hxx.

const FillProperties * oox::drawingml::Theme::getFillStyle ( sal_Int32  nIndex) const

Returns the fill properties of the passed one-based themed style index.

Definition at line 45 of file theme.cxx.

References maBgFillStyleList, and maFillStyleList.

Referenced by oox::drawingml::table::applyTableStylePart(), and oox::drawingml::Shape::getActualFillProperties().

FillStyleList& oox::drawingml::Theme::getFillStyleList ( )
inline

Definition at line 67 of file theme.hxx.

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

const FillStyleList& oox::drawingml::Theme::getFillStyleList ( ) const
inline

Definition at line 68 of file theme.hxx.

FontScheme& oox::drawingml::Theme::getFontScheme ( )
inline

Definition at line 83 of file theme.hxx.

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

const FontScheme& oox::drawingml::Theme::getFontScheme ( ) const
inline

Definition at line 84 of file theme.hxx.

const TextCharacterProperties * oox::drawingml::Theme::getFontStyle ( sal_Int32  nSchemeType) const

Returns theme font properties by scheme type (major/minor).

Definition at line 62 of file theme.cxx.

References oox::RefMap< KeyType, ObjType, CompType >::get(), and maFontScheme.

Referenced by oox::drawingml::Shape::createAndInsert().

const css::uno::Reference<css::xml::dom::XDocument>& oox::drawingml::Theme::getFragment ( ) const
inline

Definition at line 99 of file theme.hxx.

const LineProperties * oox::drawingml::Theme::getLineStyle ( sal_Int32  nIndex) const

Returns the line properties of the passed one-based themed style index.

Definition at line 52 of file theme.cxx.

References maLineStyleList.

Referenced by oox::drawingml::Shape::createAndInsert(), and oox::drawingml::Shape::getActualLineProperties().

LineStyleList& oox::drawingml::Theme::getLineStyleList ( )
inline

Definition at line 74 of file theme.hxx.

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

const LineStyleList& oox::drawingml::Theme::getLineStyleList ( ) const
inline

Definition at line 75 of file theme.hxx.

Shape& oox::drawingml::Theme::getLnDef ( )
inline

Definition at line 93 of file theme.hxx.

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

const Shape& oox::drawingml::Theme::getLnDef ( ) const
inline

Definition at line 94 of file theme.hxx.

Shape& oox::drawingml::Theme::getSpDef ( )
inline

Definition at line 90 of file theme.hxx.

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

const Shape& oox::drawingml::Theme::getSpDef ( ) const
inline

Definition at line 91 of file theme.hxx.

Shape& oox::drawingml::Theme::getTxDef ( )
inline

Definition at line 96 of file theme.hxx.

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

const Shape& oox::drawingml::Theme::getTxDef ( ) const
inline

Definition at line 97 of file theme.hxx.

const TextFont * oox::drawingml::Theme::resolveFont ( const OUString &  rName) const

Returns theme font by placeholder name, e.g.

the major latin theme font for the font name '+mj-lt'.

Definition at line 67 of file theme.cxx.

References oox::RefMap< KeyType, ObjType, CompType >::get(), oox::drawingml::TextCharacterProperties::maAsianFont, oox::drawingml::TextCharacterProperties::maComplexFont, maFontScheme, and oox::drawingml::TextCharacterProperties::maLatinFont.

void oox::drawingml::Theme::setFragment ( const css::uno::Reference< css::xml::dom::XDocument > &  xRef)
inline

Definition at line 100 of file theme.hxx.

void oox::drawingml::Theme::setStyleName ( const OUString &  rStyleName)
inline

Definition at line 62 of file theme.hxx.

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

Member Data Documentation

FillStyleList oox::drawingml::Theme::maBgFillStyleList
private

Definition at line 106 of file theme.hxx.

Referenced by getFillStyle().

ClrScheme oox::drawingml::Theme::maClrScheme
private

Definition at line 104 of file theme.hxx.

EffectStyleList oox::drawingml::Theme::maEffectStyleList
private

Definition at line 108 of file theme.hxx.

Referenced by getEffectStyle().

FillStyleList oox::drawingml::Theme::maFillStyleList
private

Definition at line 105 of file theme.hxx.

Referenced by getFillStyle().

FontScheme oox::drawingml::Theme::maFontScheme
private

Definition at line 109 of file theme.hxx.

Referenced by getFontStyle(), and resolveFont().

LineStyleList oox::drawingml::Theme::maLineStyleList
private

Definition at line 107 of file theme.hxx.

Referenced by getLineStyle().

Shape oox::drawingml::Theme::maLnDef
private

Definition at line 111 of file theme.hxx.

Shape oox::drawingml::Theme::maSpDef
private

Definition at line 110 of file theme.hxx.

OUString oox::drawingml::Theme::maStyleName
private

Definition at line 103 of file theme.hxx.

Shape oox::drawingml::Theme::maTxDef
private

Definition at line 112 of file theme.hxx.

css::uno::Reference< css::xml::dom::XDocument> oox::drawingml::Theme::mxFragment
private

Definition at line 113 of file theme.hxx.


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