diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-11-26 16:22:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-11-27 13:31:31 +0000 |
commit | bfeeed3e986f3ce5090d5a03c50546cbda3b99e6 (patch) | |
tree | 827b30013d7ab0fbf2ffcedd86f87bd200da6ca9 /sal/textenc/convertisciidevangari.tab | |
parent | Remve obsolete DBG_CTOR/DTOR stuff again (diff) | |
download | core-bfeeed3e986f3ce5090d5a03c50546cbda3b99e6.tar.gz core-bfeeed3e986f3ce5090d5a03c50546cbda3b99e6.zip |
implement a new iscii (devangari) <-> unicode converter
this time with support for the multi-byte encodings possible
in ISCII
Change-Id: I1dc09e8836676ab614b531e8dc10f91a90b7c4fd
Diffstat (limited to 'sal/textenc/convertisciidevangari.tab')
-rw-r--r-- | sal/textenc/convertisciidevangari.tab | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sal/textenc/convertisciidevangari.tab b/sal/textenc/convertisciidevangari.tab new file mode 100644 index 000000000000..6c4a24b99029 --- /dev/null +++ b/sal/textenc/convertisciidevangari.tab @@ -0,0 +1,35 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#include "sal/config.h" + +#include "rtl/tencinfo.h" +#include "rtl/textenc.h" + +#include "convertisciidevangari.hxx" + +static ImplTextEncodingData const aImplIsciiDevanagariTextEncodingData + = { { NULL, + &ImplConvertIsciiDevanagariToUnicode, + &ImplConvertUnicodeToIsciiDevanagari, + &ImplCreateIsciiDevanagariToUnicodeContext, + &ImplDestroyIsciiDevanagariToUnicodeContext, + &ImplResetIsciiDevanagariToUnicodeContext, + &ImplCreateUnicodeToIsciiDevanagariContext, + &ImplResetUnicodeToIsciiDevanagariContext, + &ImplDestroyUnicodeToIsciiDevanagariContext }, + 1, + 2, + 2, + 1, + NULL, + "x-iscii-de ", + RTL_TEXTENCODING_INFO_ASCII | RTL_TEXTENCODING_INFO_MULTIBYTE }; + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |