Line data Source code
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 : #include <precomp.h>
21 : #include <ary/namesort.hxx>
22 :
23 :
24 : // NOT FULLY DEFINED SERVICES
25 :
26 :
27 :
28 : namespace
29 : {
30 :
31 :
32 : int C_cAutodocNameOrdering1[256] =
33 : { 0,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, // 0 ..
34 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
35 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, // 32 ..
36 : 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,255,255, 255,255,255,255,
37 :
38 : 255, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, // 64 ..
39 : 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61,255, 255,255,255, 63,
40 : 255, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, // 96 ..
41 : 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61,255, 255,255,255,255,
42 :
43 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, //128 ..
44 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
45 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, //160 ..
46 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
47 :
48 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
49 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
50 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
51 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255
52 : };
53 :
54 : int C_cAutodocNameOrdering2[256] =
55 : { 0,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, // 0 ..
56 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
57 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, // 32 ..
58 : 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,255,255, 255,255,255,255,
59 :
60 : 255, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, // 64 ..
61 : 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61,255, 255,255,255, 63,
62 : 255, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, // 96 ..
63 : 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62,255, 255,255,255,255,
64 :
65 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, //128 ..
66 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
67 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, //160 ..
68 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
69 :
70 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
71 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
72 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
73 : 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255
74 : };
75 :
76 :
77 : } // namespace anonymous
78 :
79 :
80 : namespace ary
81 : {
82 :
83 :
84 : const csv::CharOrder_Table
85 1 : LesserName::aOrdering1_(C_cAutodocNameOrdering1);
86 :
87 : const csv::CharOrder_Table
88 1 : LesserName::aOrdering2_(C_cAutodocNameOrdering2);
89 :
90 :
91 :
92 3 : } // namespace ary
93 :
94 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|