1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_awt_CharSet_idl__ 24#define __com_sun_star_awt_CharSet_idl__ 25 26 27//============================================================================= 28 29 module com { module sun { module star { module awt { 30 31//============================================================================= 32 33/** These values are used to specify the characters which are available in 34 a font and their codes. 35 36 <P>The currently defined constants of <CODE>CharSet</CODE> have the same 37 numerical values as the corresponding enum values of the C/C++ 38 <CODE>rtl_TextEncoding</CODE> (from <CODE>rtl/textenc.h</CODE>). This 39 correspondence is by design. Since <CODE>CharSet</CODE> is deprecated, 40 however, it is not planned to add further constants to keep it in sync with 41 <CODE>rtl_TextEncoding</CODE>.</P> 42 43 @deprecated 44 */ 45published constants CharSet 46{ 47 //------------------------------------------------------------------------- 48 49 /** specifies an unknown character set. 50 */ 51 const short DONTKNOW = 0; 52 53 //------------------------------------------------------------------------- 54 55 /** specifies the ANSI character set. 56 */ 57 const short ANSI = 1; 58 59 //------------------------------------------------------------------------- 60 61 /** specifies the <regtm>Apple Macintosh</regtm> character set. 62 */ 63 const short MAC = 2; 64 65 //------------------------------------------------------------------------- 66 67 /** specifies the IBM PC character set number 437. 68 */ 69 const short IBMPC_437 = 3; 70 71 //------------------------------------------------------------------------- 72 73 /** specifies the IBM PC character set number 850. 74 */ 75 const short IBMPC_850 = 4; 76 77 //------------------------------------------------------------------------- 78 79 /** specifies the IBM PC character set number 860. 80 */ 81 const short IBMPC_860 = 5; 82 83 //------------------------------------------------------------------------- 84 85 /** specifies the IBM PC character set number 861. 86 */ 87 const short IBMPC_861 = 6; 88 89 //------------------------------------------------------------------------- 90 91 /** specifies the IBM PC character set number 863. 92 */ 93 const short IBMPC_863 = 7; 94 95 //------------------------------------------------------------------------- 96 97 /** specifies the IBM PC character set number 865. 98 */ 99 const short IBMPC_865 = 8; 100 101 //------------------------------------------------------------------------- 102 103 /** specifies the system character set. 104 */ 105 const short SYSTEM = 9; 106 107 //------------------------------------------------------------------------- 108 109 /** specifies a set of symbols. 110 */ 111 const short SYMBOL = 10; 112 113}; 114 115//============================================================================= 116 117}; }; }; }; 118 119#endif 120