/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: CharSet.idl,v $ * * $Revision: 1.11 $ * * last change: $Author: rt $ $Date: 2005-09-07 20:58:14 $ * * 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 __com_sun_star_awt_CharSet_idl__ #define __com_sun_star_awt_CharSet_idl__ //============================================================================= module com { module sun { module star { module awt { //============================================================================= /** These values are used to specify the characters which are available in a font and their codes.

The currently defined constants of CharSet have the same numerical values as the corresponding enum values of the C/C++ rtl_TextEncoding (from rtl/textenc.h). This correspondence is by design. Since CharSet is deprecated, however, it is not planned to add further constants to keep it in sync with rtl_TextEncoding.

@deprecated */ published constants CharSet { //------------------------------------------------------------------------- /** specifies an unknown character set. */ const short DONTKNOW = 0; //------------------------------------------------------------------------- /** specifies the ANSI character set. */ const short ANSI = 1; //------------------------------------------------------------------------- /** specifies the Apple Macintosh character set. */ const short MAC = 2; //------------------------------------------------------------------------- /** specifies the IBM PC character set number 437. */ const short IBMPC_437 = 3; //------------------------------------------------------------------------- /** specifies the IBM PC character set number 850. */ const short IBMPC_850 = 4; //------------------------------------------------------------------------- /** specifies the IBM PC character set number 860. */ const short IBMPC_860 = 5; //------------------------------------------------------------------------- /** specifies the IBM PC character set number 861. */ const short IBMPC_861 = 6; //------------------------------------------------------------------------- /** specifies the IBM PC character set number 863. */ const short IBMPC_863 = 7; //------------------------------------------------------------------------- /** specifies the IBM PC character set number 865. */ const short IBMPC_865 = 8; //------------------------------------------------------------------------- /** specifies the system character set. */ const short SYSTEM = 9; //------------------------------------------------------------------------- /** specifies a set of symbols. */ const short SYMBOL = 10; }; //============================================================================= }; }; }; }; #endif