summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/ThemeTable.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/dmapper/ThemeTable.hxx')
-rw-r--r--writerfilter/source/dmapper/ThemeTable.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/ThemeTable.hxx b/writerfilter/source/dmapper/ThemeTable.hxx
index 75145555f576..190da8504e21 100644
--- a/writerfilter/source/dmapper/ThemeTable.hxx
+++ b/writerfilter/source/dmapper/ThemeTable.hxx
@@ -22,7 +22,9 @@
#include <WriterFilterDllApi.hxx>
#include <resourcemodel/LoggedResources.hxx>
+#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/lang/XComponent.hpp>
+#include <i18nlangtag/languagetag.hxx>
#include <map>
namespace writerfilter {
@@ -41,6 +43,7 @@ public:
const OUString getFontNameForTheme(const Id id) const;
static OUString getStringForTheme(const Id id);
+ void setThemeFontLangProperties(uno::Sequence<beans::PropertyValue> aPropSeq);
private:
// Properties
@@ -49,6 +52,10 @@ public:
// Table
virtual void lcl_entry(int pos, writerfilter::Reference<Properties>::Pointer_t ref);
+
+ // Helper methods
+ OUString fromLocaleToScriptTag(OUString sLocale);
+ OUString fromLCIDToScriptTag(LanguageType lang);
};
typedef boost::shared_ptr< ThemeTable > ThemeTablePtr;
}}