1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27#ifndef __com_sun_star_awt_CharSet_idl__ 28#define __com_sun_star_awt_CharSet_idl__ 29 30 31//============================================================================= 32 33 module com { module sun { module star { module awt { 34 35//============================================================================= 36 37/** These values are used to specify the characters which are available in 38 a font and their codes. 39 40 <P>The currently defined constants of <CODE>CharSet</CODE> have the same 41 numerical values as the corresponding enum values of the C/C++ 42 <CODE>rtl_TextEncoding</CODE> (from <CODE>rtl/textenc.h</CODE>). This 43 correspondence is by design. Since <CODE>CharSet</CODE> is deprecated, 44 however, it is not planned to add further constants to keep it in sync with 45 <CODE>rtl_TextEncoding</CODE>.</P> 46 47 @deprecated 48 */ 49published constants CharSet 50{ 51 //------------------------------------------------------------------------- 52 53 /** specifies an unknown character set. 54 */ 55 const short DONTKNOW = 0; 56 57 //------------------------------------------------------------------------- 58 59 /** specifies the ANSI character set. 60 */ 61 const short ANSI = 1; 62 63 //------------------------------------------------------------------------- 64 65 /** specifies the <regtm>Apple Macintosh</regtm> character set. 66 */ 67 const short MAC = 2; 68 69 //------------------------------------------------------------------------- 70 71 /** specifies the IBM PC character set number 437. 72 */ 73 const short IBMPC_437 = 3; 74 75 //------------------------------------------------------------------------- 76 77 /** specifies the IBM PC character set number 850. 78 */ 79 const short IBMPC_850 = 4; 80 81 //------------------------------------------------------------------------- 82 83 /** specifies the IBM PC character set number 860. 84 */ 85 const short IBMPC_860 = 5; 86 87 //------------------------------------------------------------------------- 88 89 /** specifies the IBM PC character set number 861. 90 */ 91 const short IBMPC_861 = 6; 92 93 //------------------------------------------------------------------------- 94 95 /** specifies the IBM PC character set number 863. 96 */ 97 const short IBMPC_863 = 7; 98 99 //------------------------------------------------------------------------- 100 101 /** specifies the IBM PC character set number 865. 102 */ 103 const short IBMPC_865 = 8; 104 105 //------------------------------------------------------------------------- 106 107 /** specifies the system character set. 108 */ 109 const short SYSTEM = 9; 110 111 //------------------------------------------------------------------------- 112 113 /** specifies a set of symbols. 114 */ 115 const short SYMBOL = 10; 116 117}; 118 119//============================================================================= 120 121}; }; }; }; 122 123#endif 124