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  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #ifndef _RTL_TENCINFO_H
21 #define _RTL_TENCINFO_H
22 
23 #include "sal/config.h"
24 
25 #include "rtl/textenc.h"
26 #include "sal/saldllapi.h"
27 #include "sal/types.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 // See rtl_TextEncodingInfo.Flags below for documentation on these values:
34 #define RTL_TEXTENCODING_INFO_CONTEXT ((sal_uInt32)0x00000001)
35 #define RTL_TEXTENCODING_INFO_ASCII ((sal_uInt32)0x00000002)
36 #define RTL_TEXTENCODING_INFO_UNICODE ((sal_uInt32)0x00000004)
37 #define RTL_TEXTENCODING_INFO_MULTIBYTE ((sal_uInt32)0x00000008)
38 #define RTL_TEXTENCODING_INFO_R2L ((sal_uInt32)0x00000010)
39 #define RTL_TEXTENCODING_INFO_7BIT ((sal_uInt32)0x00000020)
40 #define RTL_TEXTENCODING_INFO_SYMBOL ((sal_uInt32)0x00000040)
41 #define RTL_TEXTENCODING_INFO_MIME ((sal_uInt32)0x00000080)
42 
45 typedef struct _rtl_TextEncodingInfo
46 {
49  sal_uInt32 StructSize;
50 
58 
66 
71 
75 
133  sal_uInt32 Flags;
135 
148 
163  rtl_TextEncoding eTextEncoding, rtl_TextEncodingInfo* pEncInfo );
164 
175  sal_uInt8 nWinCharset );
176 
187  const sal_Char* pMimeCharset );
188 
199  const sal_Char* pUnixCharset );
200 
210  rtl_TextEncoding eTextEncoding );
211 
223  rtl_TextEncoding nEncoding );
224 
234  rtl_TextEncoding eTextEncoding );
235 
245  rtl_TextEncoding eTextEncoding );
246 
258 rtl_getTextEncodingFromWindowsCodePage(sal_uInt32 nCodePage);
259 
269 SAL_DLLPUBLIC sal_uInt32 SAL_CALL
271 
272 #ifdef __cplusplus
273 }
274 #endif
275 
276 #endif /* _RTL_TENCINFO_H */
277 
278 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */