diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-23 15:49:15 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-23 15:49:15 +0000 |
commit | 9395dd04520fe10214fc4fe72ab6f4a33c0c28c3 (patch) | |
tree | 548851af5d6a982f57b615f3f7fe568c1638c79b /svtools | |
parent | INTEGRATION: CWS native116 (1.90.100); FILE MERGED (diff) | |
download | core-9395dd04520fe10214fc4fe72ab6f4a33c0c28c3.tar.gz core-9395dd04520fe10214fc4fe72ab6f4a33c0c28c3.zip |
INTEGRATION: CWS langstatusbar (1.1.2); FILE ADDED
2007/06/08 13:47:23 tl 1.1.2.1: #i77208# new language status-bar control
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/langtab.hxx | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/svtools/inc/svtools/langtab.hxx b/svtools/inc/svtools/langtab.hxx new file mode 100644 index 000000000000..4791c2866303 --- /dev/null +++ b/svtools/inc/svtools/langtab.hxx @@ -0,0 +1,62 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: langtab.hxx,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: ihi $ $Date: 2007-11-23 16:49:15 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ +#ifndef _SVTOOLS_LANGTAB_HXX_ +#define _SVTOOLS_LANGTAB_HXX_ + + +#include <tools/resary.hxx> + +#include "svtdllapi.h" + +//======================================================================== +// class SvtLanguageTable +//======================================================================== + +class SVT_DLLPUBLIC SvtLanguageTable : public ResStringArray +{ +public: + SvtLanguageTable(); + ~SvtLanguageTable(); + + const String& GetString( const LanguageType eType ) const; + LanguageType GetType( const String& rStr ) const; + + sal_uInt32 GetEntryCount() const; + LanguageType GetTypeAtIndex( sal_uInt32 nIndex ) const; +}; + + +#endif + |