My Project
UDK 3.2.7 C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
tencinfo.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
3  *
4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5  *
6  * Copyright 2000, 2010 Oracle and/or its affiliates.
7  *
8  * OpenOffice.org - a multi-platform office productivity suite
9  *
10  * This file is part of OpenOffice.org.
11  *
12  * OpenOffice.org is free software: you can redistribute it and/or modify
13  * it under the terms of the GNU Lesser General Public License version 3
14  * only, as published by the Free Software Foundation.
15  *
16  * OpenOffice.org is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU Lesser General Public License version 3 for more details
20  * (a copy is included in the LICENSE file that accompanied this code).
21  *
22  * You should have received a copy of the GNU Lesser General Public License
23  * version 3 along with OpenOffice.org. If not, see
24  * <http://www.openoffice.org/license.html>
25  * for a copy of the LGPLv3 License.
26  *
27  ************************************************************************/
28 
29 #ifndef _RTL_TENCINFO_H
30 #define _RTL_TENCINFO_H
31 
32 #ifndef _SAL_TYPES_H
33 #include <sal/types.h>
34 #endif
35 #include <rtl/textenc.h>
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
41 // See rtl_TextEncodingInfo.Flags below for documentation on these values:
42 #define RTL_TEXTENCODING_INFO_CONTEXT ((sal_uInt32)0x00000001)
43 #define RTL_TEXTENCODING_INFO_ASCII ((sal_uInt32)0x00000002)
44 #define RTL_TEXTENCODING_INFO_UNICODE ((sal_uInt32)0x00000004)
45 #define RTL_TEXTENCODING_INFO_MULTIBYTE ((sal_uInt32)0x00000008)
46 #define RTL_TEXTENCODING_INFO_R2L ((sal_uInt32)0x00000010)
47 #define RTL_TEXTENCODING_INFO_7BIT ((sal_uInt32)0x00000020)
48 #define RTL_TEXTENCODING_INFO_SYMBOL ((sal_uInt32)0x00000040)
49 #define RTL_TEXTENCODING_INFO_MIME ((sal_uInt32)0x00000080)
50 
53 typedef struct _rtl_TextEncodingInfo
54 {
57  sal_uInt32 StructSize;
58 
66 
74 
79 
83 
141  sal_uInt32 Flags;
143 
156 
171  rtl_TextEncoding eTextEncoding, rtl_TextEncodingInfo* pEncInfo );
172 
183  sal_uInt8 nWinCharset );
184 
195  const sal_Char* pMimeCharset );
196 
207  const sal_Char* pUnixCharset );
208 
218  rtl_TextEncoding eTextEncoding );
219 
231  rtl_TextEncoding nEncoding );
232 
242  rtl_TextEncoding eTextEncoding );
243 
253  rtl_TextEncoding eTextEncoding );
254 
266 rtl_getTextEncodingFromWindowsCodePage(sal_uInt32 nCodePage);
267 
277 SAL_DLLPUBLIC sal_uInt32 SAL_CALL
279 
280 #ifdef __cplusplus
281 }
282 #endif
283 
284 #endif /* _RTL_TENCINFO_H */
285 
286 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */