1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
10 #ifndef INCLUDED_SAL_TEXTENC_TCVTBYTE_HXX
11 #define INCLUDED_SAL_TEXTENC_TCVTBYTE_HXX
13 #include "sal/config.h"
15 #include "sal/types.h"
17 sal_Size
ImplSymbolToUnicode(
18 void const * pData
, void * pContext
, char const * pSrcBuf
,
19 sal_Size nSrcBytes
, sal_Unicode
* pDestBuf
, sal_Size nDestChars
,
20 sal_uInt32 nFlags
, sal_uInt32
* pInfo
, sal_Size
* pSrcCvtBytes
);
22 sal_Size
ImplUnicodeToSymbol(
23 void const * pData
, void * pContext
, sal_Unicode
const * pSrcBuf
,
24 sal_Size nSrcChars
, char * pDestBuf
, sal_Size nDestBytes
, sal_uInt32 nFlags
,
25 sal_uInt32
* pInfo
, sal_Size
* pSrcCvtChars
);
27 /** For those encodings only with unicode range of 0x80 to 0xFF. */
28 sal_Size
ImplUpperCharToUnicode(
29 void const * pData
, void * pContext
, char const * pSrcBuf
,
30 sal_Size nSrcBytes
, sal_Unicode
* pDestBuf
, sal_Size nDestChars
,
31 sal_uInt32 nFlags
, sal_uInt32
* pInfo
, sal_Size
* pSrcCvtBytes
);
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */