diff options
author | Oliver Specht <os@openoffice.org> | 2002-11-15 10:17:38 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2002-11-15 10:17:38 +0000 |
commit | 2642352cae8e2adca845825cf65c2a98f5be24ba (patch) | |
tree | 1fcf439e224dc89d1aad764d1cdeb503ec718f5a /sw/source/ui/inc/numfmtlb.hxx | |
parent | #104684# use <SwSectionFrm::Init()> to initialize new section frame (diff) | |
download | core-2642352cae8e2adca845825cf65c2a98f5be24ba.tar.gz core-2642352cae8e2adca845825cf65c2a98f5be24ba.zip |
#103096# optionally apply fixed (no language dependence) number format to text fields
Diffstat (limited to 'sw/source/ui/inc/numfmtlb.hxx')
-rw-r--r-- | sw/source/ui/inc/numfmtlb.hxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sw/source/ui/inc/numfmtlb.hxx b/sw/source/ui/inc/numfmtlb.hxx index 2a050a9e1957..ce6a72b9d302 100644 --- a/sw/source/ui/inc/numfmtlb.hxx +++ b/sw/source/ui/inc/numfmtlb.hxx @@ -2,9 +2,9 @@ * * $RCSfile: numfmtlb.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:14:41 $ + * last change: $Author: os $ $Date: 2002-11-15 11:13:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -80,6 +80,9 @@ class NumFormatListBox : public ListBox SwView* pVw; SvNumberFormatter* pOwnFormatter; LanguageType eCurLanguage; + BOOL bShowLanguageControl; //determine whether the language control has + //to be shown in the number format dialog + BOOL bUseAutomaticLanguage;//determine whether language is automatically assigned DECL_LINK( SelectHdl, ListBox * ); @@ -109,6 +112,13 @@ public: const String& GetFormatStr() const; inline LanguageType GetCurLanguage() const { return eCurLanguage;} + void SetLanguage(LanguageType eSet) { eCurLanguage = eSet;} + + void SetAutomaticLanguage(BOOL bSet){bUseAutomaticLanguage = bSet;} + BOOL IsAutomaticLanguage()const {return bUseAutomaticLanguage;} + + void SetShowLanguageControl(BOOL bSet){bShowLanguageControl = bSet;} + }; |