Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / i18n / reservedWords.idl
blobde4f2a3cbfb8dc4a53b6690614ae652ec3b8dc1d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef __com_sun_star_i18n_reservedWords_idl__
20 #define __com_sun_star_i18n_reservedWords_idl__
23 module com { module sun { module star { module i18n {
26 /**
27 Offsets into the sequence of strings returned by
28 XLocaleData::getReservedWord().
30 @see XLocaleData
31 for links to DTD of XML locale data files.
34 published constants reservedWords
36 /// "true"
37 const short TRUE_WORD = 0;
38 /// "false"
39 const short FALSE_WORD = 1;
40 /// "1st quarter"
41 const short QUARTER1_WORD = 2;
42 /// "2nd quarter"
43 const short QUARTER2_WORD = 3;
44 /// "3rd quarter"
45 const short QUARTER3_WORD = 4;
46 /// "4th quarter"
47 const short QUARTER4_WORD = 5;
48 /// "above"
49 const short ABOVE_WORD = 6;
50 /// "below"
51 const short BELOW_WORD = 7;
52 /// "Q1"
53 const short QUARTER1_ABBREVIATION = 8;
54 /// "Q2"
55 const short QUARTER2_ABBREVIATION = 9;
56 /// "Q3"
57 const short QUARTER3_ABBREVIATION = 10;
58 /// "Q4"
59 const short QUARTER4_ABBREVIATION = 11;
61 //! Yes, this must be the count of known reserved words and one more than
62 //! the maximum number used above!
63 /// Count of known reserved words.
64 const short COUNT = 12;
67 }; }; }; };
69 #endif
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */