merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / awt / CharSet.idl
blob06859c1b56689bca4c41290277734cfe1d7f6bea
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: CharSet.idl,v $
10 * $Revision: 1.12 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_awt_CharSet_idl__
31 #define __com_sun_star_awt_CharSet_idl__
34 //=============================================================================
36 module com { module sun { module star { module awt {
38 //=============================================================================
40 /** These values are used to specify the characters which are available in
41 a font and their codes.
43 <P>The currently defined constants of <CODE>CharSet</CODE> have the same
44 numerical values as the corresponding enum values of the C/C++
45 <CODE>rtl_TextEncoding</CODE> (from <CODE>rtl/textenc.h</CODE>). This
46 correspondence is by design. Since <CODE>CharSet</CODE> is deprecated,
47 however, it is not planned to add further constants to keep it in sync with
48 <CODE>rtl_TextEncoding</CODE>.</P>
50 @deprecated
52 published constants CharSet
54 //-------------------------------------------------------------------------
56 /** specifies an unknown character set.
58 const short DONTKNOW = 0;
60 //-------------------------------------------------------------------------
62 /** specifies the ANSI character set.
64 const short ANSI = 1;
66 //-------------------------------------------------------------------------
68 /** specifies the <regtm>Apple Macintosh</regtm> character set.
70 const short MAC = 2;
72 //-------------------------------------------------------------------------
74 /** specifies the IBM PC character set number 437.
76 const short IBMPC_437 = 3;
78 //-------------------------------------------------------------------------
80 /** specifies the IBM PC character set number 850.
82 const short IBMPC_850 = 4;
84 //-------------------------------------------------------------------------
86 /** specifies the IBM PC character set number 860.
88 const short IBMPC_860 = 5;
90 //-------------------------------------------------------------------------
92 /** specifies the IBM PC character set number 861.
94 const short IBMPC_861 = 6;
96 //-------------------------------------------------------------------------
98 /** specifies the IBM PC character set number 863.
100 const short IBMPC_863 = 7;
102 //-------------------------------------------------------------------------
104 /** specifies the IBM PC character set number 865.
106 const short IBMPC_865 = 8;
108 //-------------------------------------------------------------------------
110 /** specifies the system character set.
112 const short SYSTEM = 9;
114 //-------------------------------------------------------------------------
116 /** specifies a set of symbols.
118 const short SYMBOL = 10;
122 //=============================================================================
124 }; }; }; };
126 #endif