19#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_FONTCFG_HXX
20#define INCLUDED_SW_SOURCE_UIBASE_INC_FONTCFG_HXX
22#include <rtl/ustring.hxx>
27#define FONT_STANDARD 0
32#define FONT_STANDARD_CJK 5
33#define FONT_OUTLINE_CJK 6
34#define FONT_LIST_CJK 7
35#define FONT_CAPTION_CJK 8
36#define FONT_INDEX_CJK 9
37#define FONT_STANDARD_CTL 10
38#define FONT_OUTLINE_CTL 11
39#define FONT_LIST_CTL 12
40#define FONT_CAPTION_CTL 13
41#define FONT_INDEX_CTL 14
42#define DEF_FONT_COUNT 15
44#define FONT_PER_GROUP 5
46#define FONT_GROUP_DEFAULT 0
47#define FONT_GROUP_CJK 1
48#define FONT_GROUP_CTL 2
51#define FONTSIZE_DEFAULT 240
52#define FONTSIZE_KOREAN_DEFAULT 200
53#define FONTSIZE_CJK_DEFAULT 210
54#define FONTSIZE_OUTLINE 280
61 SAL_DLLPRIVATE
static css::uno::Sequence<OUString>
const & GetPropertyNames();
65 if(m_sDefaultFonts[nFontType] !=
rSet)
68 m_sDefaultFonts[nFontType] =
rSet;
72 void ChangeInt( sal_uInt16 nFontType, sal_Int32 nHeight );
80 virtual void Notify(
const css::uno::Sequence< OUString >& aPropertyNames )
override;
88 const OUString&
GetFontFor(sal_uInt16 nFontType)
const {
return m_sDefaultFonts[nFontType];}
89 bool IsFontDefault(sal_uInt16 nFontType)
const;
108 static OUString GetDefaultFor(sal_uInt16 nFontType,
LanguageType eLang);
109 static sal_Int32 GetDefaultHeightFor(sal_uInt16 nFontType,
LanguageType eLang);
const OUString & GetFontOutline(sal_uInt8 nFontGroup) const
void SetFontHeight(sal_Int32 nHeight, sal_uInt8 nFont, sal_uInt8 nScriptType)
const OUString & GetFontCaption(sal_uInt8 nFontGroup) const
void SetFontOutline(const OUString &rSet, sal_uInt8 nFontGroup)
const OUString & GetFontList(sal_uInt8 nFontGroup) const
void SetFontList(const OUString &rSet, sal_uInt8 nFontGroup)
void SetFontStandard(const OUString &rSet, sal_uInt8 nFontGroup)
void SetFontIndex(const OUString &rSet, sal_uInt8 nFontGroup)
const OUString & GetFontStandard(sal_uInt8 nFontGroup) const
const OUString & GetFontFor(sal_uInt16 nFontType) const
const OUString & GetFontIndex(sal_uInt8 nFontGroup) const
void ChangeString(sal_uInt16 nFontType, const OUString &rSet)
void SetFontCaption(const OUString &rSet, sal_uInt8 nFontGroup)
virtual void Notify(const css::uno::Sequence< OUString > &aPropertyNames)=0
virtual void ImplCommit()=0