Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
d02c53bc
Kaydet (Commit)
d02c53bc
authored
Nis 23, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unneeded header
Change-Id: I8d652f866a43a10da8561ad4659c8ae1c068ba41
üst
dc17d5c6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
91 deletions
+0
-91
chartonum.cxx
i18npool/source/transliteration/chartonum.cxx
+0
-1
numberchar.h
i18npool/source/transliteration/data/numberchar.h
+0
-87
texttonum.cxx
i18npool/source/transliteration/texttonum.cxx
+0
-3
No files found.
i18npool/source/transliteration/chartonum.cxx
Dosyayı görüntüle @
d02c53bc
...
...
@@ -20,7 +20,6 @@
#include <rtl/ustrbuf.hxx>
#include <chartonum.hxx>
#include <data/numberchar.h>
using
namespace
com
::
sun
::
star
::
uno
;
...
...
i18npool/source/transliteration/data/numberchar.h
deleted
100644 → 0
Dosyayı görüntüle @
dc17d5c6
/* -*- 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/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_I18NPOOL_SOURCE_TRANSLITERATION_DATA_NUMBERCHAR_H
#define INCLUDED_I18NPOOL_SOURCE_TRANSLITERATION_DATA_NUMBERCHAR_H
#include <sal/types.h>
namespace
com
{
namespace
sun
{
namespace
star
{
namespace
i18n
{
static
const
sal_Int16
NumberChar_HalfWidth
=
0
;
static
const
sal_Int16
NumberChar_FullWidth
=
1
;
static
const
sal_Int16
NumberChar_Lower_zh
=
2
;
static
const
sal_Int16
NumberChar_Upper_zh
=
3
;
static
const
sal_Int16
NumberChar_Upper_zh_TW
=
4
;
static
const
sal_Int16
NumberChar_Modern_ja
=
5
;
static
const
sal_Int16
NumberChar_Traditional_ja
=
6
;
static
const
sal_Int16
NumberChar_Lower_ko
=
7
;
static
const
sal_Int16
NumberChar_Upper_ko
=
8
;
static
const
sal_Int16
NumberChar_Hangul_ko
=
9
;
static
const
sal_Int16
NumberChar_Indic_ar
=
10
;
static
const
sal_Int16
NumberChar_EastIndic_ar
=
11
;
static
const
sal_Int16
NumberChar_Indic_hi
=
12
;
static
const
sal_Int16
NumberChar_th
=
13
;
static
const
sal_Int16
NumberChar_Count
=
14
;
static
const
sal_Unicode
NumberChar
[][
10
]
=
{
// 0 1 2 3 4 5 6 7 8 9
{
0x0030
,
0x0031
,
0x0032
,
0x0033
,
0x0034
,
0x0035
,
0x0036
,
0x0037
,
0x0038
,
0x0039
},
// Half Width (Ascii)
{
0xFF10
,
0xFF11
,
0xFF12
,
0xFF13
,
0xFF14
,
0xFF15
,
0xFF16
,
0xFF17
,
0xFF18
,
0xFF19
},
// Full Width
{
0x3007
,
0x4E00
,
0x4E8c
,
0x4E09
,
0x56DB
,
0x4E94
,
0x516D
,
0x4E03
,
0x516B
,
0x4E5D
},
// Chinese Lower
{
0x96F6
,
0x58F9
,
0x8D30
,
0x53C1
,
0x8086
,
0x4F0D
,
0x9646
,
0x67D2
,
0x634C
,
0x7396
},
// S. Chinese Upper
{
0x96F6
,
0x58F9
,
0x8CB3
,
0x53C3
,
0x8086
,
0x4F0D
,
0x9678
,
0x67D2
,
0x634C
,
0x7396
},
// T. Chinese Upper
{
0x3007
,
0x4E00
,
0x4E8C
,
0x4E09
,
0x56DB
,
0x4E94
,
0x516D
,
0x4E03
,
0x516B
,
0x4E5D
},
// Japanese Modern
{
0x96F6
,
0x58F1
,
0x5F10
,
0x53C2
,
0x56DB
,
0x4F0D
,
0x516D
,
0x4E03
,
0x516B
,
0x4E5D
},
// Japanese Trad.
{
0x3007
,
0x4E00
,
0x4E8C
,
0x4E09
,
0x56DB
,
0x4E94
,
0x516D
,
0x4E03
,
0x516B
,
0x4E5D
},
// Korean Lower
{
0xF9B2
,
0x58F9
,
0x8CB3
,
0x53C3
,
0x56DB
,
0x4E94
,
0x516D
,
0x4E03
,
0x516B
,
0x4E5D
},
// Korean Upper
{
0xC601
,
0xC77C
,
0xC774
,
0xC0BC
,
0xC0AC
,
0xC624
,
0xC721
,
0xCE60
,
0xD314
,
0xAD6C
},
// Korean Hangul
{
0x0660
,
0x0661
,
0x0662
,
0x0663
,
0x0664
,
0x0665
,
0x0666
,
0x0667
,
0x0668
,
0x0669
},
// Arabic Indic
{
0x06F0
,
0x06F1
,
0x06F2
,
0x06F3
,
0x06F4
,
0x06F5
,
0x06F6
,
0x06F7
,
0x06F8
,
0x06F9
},
// Est. Arabic Indic
{
0x0966
,
0x0967
,
0x0968
,
0x0969
,
0x096A
,
0x096B
,
0x096C
,
0x096D
,
0x096E
,
0x096F
},
// Indic
{
0x0E50
,
0x0E51
,
0x0E52
,
0x0E53
,
0x0E54
,
0x0E55
,
0x0E56
,
0x0E57
,
0x0E58
,
0x0E59
}
// Thai
};
#define NUMBER_ZERO NumberChar[NumberChar_HalfWidth][0] // 0x0030
#define NUMBER_ONE NumberChar[NumberChar_HalfWidth][1] // 0x0031
#define NUMBER_NINE NumberChar[NumberChar_HalfWidth][9] // 0x0039
#define NUMBER_DECIMAL DecimalChar[0]
#define NUMBER_MINUS MinusChar[0]
#define isNumber(n) ( NUMBER_ZERO <= n && n <= NUMBER_NINE )
#define isDecimal(n) ( n == NUMBER_DECIMAL )
#define isMinus(n) ( n == NUMBER_MINUS )
const
sal_Int16
Multiplier_Lower_zh
=
0
;
const
sal_Int16
Multiplier_Upper_zh
=
1
;
const
sal_Int16
Multiplier_Lower_zh_TW
=
2
;
const
sal_Int16
Multiplier_Upper_zh_TW
=
3
;
const
sal_Int16
Multiplier_Hangul_ko
=
4
;
const
sal_Int16
Multiplier_Modern_ja
=
5
;
const
sal_Int16
Multiplier_Traditional_ja
=
6
;
const
sal_Int16
Multiplier_Count
=
7
;
const
sal_Int16
ExponentCount_CJK
=
6
;
const
sal_Int16
ExponentCount_short_CJK
=
2
;
}
}
}
}
#endif // INCLUDED_I18NPOOL_SOURCE_TRANSLITERATION_DATA_NUMBERCHAR_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
i18npool/source/transliteration/texttonum.cxx
Dosyayı görüntüle @
d02c53bc
...
...
@@ -17,9 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <data/numberchar.h>
#include <rtl/ustrbuf.hxx>
#include <texttonum.hxx>
using
namespace
com
::
sun
::
star
::
uno
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment