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