summaryrefslogtreecommitdiff
path: root/oox/inc/oox/drawingml/theme.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-09-30 13:51:36 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-09-30 13:51:36 +0000
commit07cabd8e634679ff59db4d72eacdfb514feb3cd1 (patch)
tree41b064504b537ff35a017aad8373870ae2cc1738 /oox/inc/oox/drawingml/theme.hxx
parenta53f44d8fba07d9f7a79ac594a85b1059f1ae4a6 (diff)
CWS-TOOLING: integrate CWS dr63
Diffstat (limited to 'oox/inc/oox/drawingml/theme.hxx')
-rw-r--r--oox/inc/oox/drawingml/theme.hxx19
1 files changed, 8 insertions, 11 deletions
diff --git a/oox/inc/oox/drawingml/theme.hxx b/oox/inc/oox/drawingml/theme.hxx
index 25ae745e5639..17f23e533a7b 100644
--- a/oox/inc/oox/drawingml/theme.hxx
+++ b/oox/inc/oox/drawingml/theme.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: theme.hxx,v $
- * $Revision: 1.6 $
+ * $Revision: 1.6.6.1 $
*
* This file is part of OpenOffice.org.
*
@@ -66,28 +66,25 @@ public:
inline FillStyleList& getFillStyleList() { return maFillStyleList; }
inline const FillStyleList& getFillStyleList() const { return maFillStyleList; }
+ inline FillStyleList& getBgFillStyleList() { return maBgFillStyleList; }
+ inline const FillStyleList& getBgFillStyleList() const { return maBgFillStyleList; }
/** Returns the fill properties of the passed one-based themed style index. */
- inline const FillProperties* getFillStyle( sal_Int32 nIndex ) const { return maFillStyleList.get( nIndex - 1 ).get(); }
+ const FillProperties* getFillStyle( sal_Int32 nIndex ) const;
inline LineStyleList& getLineStyleList() { return maLineStyleList; }
inline const LineStyleList& getLineStyleList() const { return maLineStyleList; }
/** Returns the line properties of the passed one-based themed style index. */
- inline const LineProperties* getLineStyle( sal_Int32 nIndex ) const { return maLineStyleList.get( nIndex - 1 ).get(); }
+ const LineProperties* getLineStyle( sal_Int32 nIndex ) const;
inline EffectStyleList& getEffectStyleList() { return maEffectStyleList; }
inline const EffectStyleList& getEffectStyleList() const { return maEffectStyleList; }
/** Returns the effect properties of the passed one-based themed style index. */
- inline const PropertyMap* getEffectStyle( sal_Int32 nIndex ) const { return maEffectStyleList.get( nIndex - 1 ).get(); }
-
- inline FillStyleList& getBgFillStyleList() { return maBgFillStyleList; }
- inline const FillStyleList& getBgFillStyleList() const { return maBgFillStyleList; }
- /** Returns the bg-fill properties of the passed one-based themed style index. */
- inline const FillProperties* getBgFillStyle( sal_Int32 nIndex ) const { return maBgFillStyleList.get( nIndex - 1 ).get(); }
+ const PropertyMap* getEffectStyle( sal_Int32 nIndex ) const;
inline FontScheme& getFontScheme() { return maFontScheme; }
inline const FontScheme& getFontScheme() const { return maFontScheme; }
/** Returns theme font properties by scheme type (major/minor). */
- const TextCharacterProperties* getFontStyle( sal_Int32 nSchemeType ) const { return maFontScheme.get( nSchemeType ).get(); }
+ const TextCharacterProperties* getFontStyle( sal_Int32 nSchemeType ) const;
/** Returns theme font by placeholder name, e.g. the major latin theme font for the font name '+mj-lt'. */
const TextFont* resolveFont( const ::rtl::OUString& rName ) const;
@@ -104,9 +101,9 @@ private:
::rtl::OUString maStyleName;
ClrScheme maClrScheme;
FillStyleList maFillStyleList;
+ FillStyleList maBgFillStyleList;
LineStyleList maLineStyleList;
EffectStyleList maEffectStyleList;
- FillStyleList maBgFillStyleList;
FontScheme maFontScheme;
Shape maSpDef;
Shape maLnDef;