diff options
author | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2012-01-27 10:32:23 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2012-01-27 13:09:02 +0100 |
commit | e9ec6d58b58739ce43ff563fd78c2326e11d1741 (patch) | |
tree | 21013bfa082299e99c92e2084ec7861e6acd18c3 /sw/source/ui/inc/fontcfg.hxx | |
parent | keysymnames: get rid of some insanity (diff) | |
download | core-e9ec6d58b58739ce43ff563fd78c2326e11d1741.tar.gz core-e9ec6d58b58739ce43ff563fd78c2326e11d1741.zip |
Revert "Removed list and numbering paragraph styles and related option page"
This reverts commits 359d0fbd03a68d9131e8fb25e7dac9f19ddf6dcb,
6a15a2898b7f822ddfba23553dd127e25af15fff and
21352f88caba9dee73d5a87c8e3724d17ac6b428.
This change is not mature enought: needs more work
Diffstat (limited to 'sw/source/ui/inc/fontcfg.hxx')
-rw-r--r-- | sw/source/ui/inc/fontcfg.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/ui/inc/fontcfg.hxx b/sw/source/ui/inc/fontcfg.hxx index 357013021940..5acd526bd16e 100644 --- a/sw/source/ui/inc/fontcfg.hxx +++ b/sw/source/ui/inc/fontcfg.hxx @@ -79,6 +79,8 @@ class SW_DLLPUBLIC SwStdFontConfig : public utl::ConfigItem } } + void ChangeInt( sal_uInt16 nFontType, sal_Int32 nHeight ); + public: SwStdFontConfig(); ~SwStdFontConfig(); @@ -107,6 +109,9 @@ public: void SetFontIndex (const String& rSet, sal_uInt8 nFontGroup) { ChangeString(FONT_INDEX + FONT_PER_GROUP * nFontGroup, rSet);} + void SetFontHeight( sal_Int32 nHeight, sal_uInt8 nFont, sal_uInt8 nScriptType ) + { ChangeInt(nFont + FONT_PER_GROUP * nScriptType, nHeight);} + sal_Int32 GetFontHeight( sal_uInt8 nFont, sal_uInt8 nScriptType, LanguageType eLang ); static String GetDefaultFor(sal_uInt16 nFontType, LanguageType eLang); |