Bump for 3.6-28
[LibreOffice.git] / autodoc / source / ary / kernel / namesort.cxx
blob3854ece73e7b22139fb8c729ec28b0c8579fc576
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 #include <precomp.h>
30 #include <ary/namesort.hxx>
33 // NOT FULLY DEFINED SERVICES
37 namespace
41 int C_cAutodocNameOrdering1[256] =
42 { 0,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, // 0 ..
43 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
44 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, // 32 ..
45 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,255,255, 255,255,255,255,
47 255, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, // 64 ..
48 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61,255, 255,255,255, 63,
49 255, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, // 96 ..
50 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61,255, 255,255,255,255,
52 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, //128 ..
53 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
54 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, //160 ..
55 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,
58 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
59 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
60 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255
63 int C_cAutodocNameOrdering2[256] =
64 { 0,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, // 0 ..
65 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
66 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, // 32 ..
67 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,255,255, 255,255,255,255,
69 255, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, // 64 ..
70 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61,255, 255,255,255, 63,
71 255, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, // 96 ..
72 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62,255, 255,255,255,255,
74 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, //128 ..
75 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
76 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255, //160 ..
77 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
79 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
80 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
81 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255,
82 255,255,255,255, 255,255,255,255, 255,255,255,255, 255,255,255,255
86 } // namespace anonymous
89 namespace ary
93 const csv::CharOrder_Table
94 LesserName::aOrdering1_(C_cAutodocNameOrdering1);
96 const csv::CharOrder_Table
97 LesserName::aOrdering2_(C_cAutodocNameOrdering2);
101 } // namespace ary
103 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */