Avoid potential negative array index access to cached text.
[LibreOffice.git] / sfx2 / inc / strings.hxx
blobcc36f7bee90bbe0c91d3cec9073232a48e38de41
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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/.
8 */
9 #pragma once
11 #include <rtl/ustring.hxx>
13 inline constexpr OUString STR_HTML_GENERATOR
14 = u"%PRODUCTNAME %PRODUCTVERSION%PRODUCTEXTENSION (%1)"_ustr;
16 // Do not translate STR_TEMPLATE_NAME*_DEF names!!
17 // STR_TEMPLATE_NAME*_DEF strings must EXACTLY fit dc:title tag in meta.xml of each template file
18 inline constexpr OUString STR_TEMPLATE_NAME1_DEF = u"Grey Elegant"_ustr;
19 inline constexpr OUString STR_TEMPLATE_NAME2_DEF = u"Beehive"_ustr;
20 inline constexpr OUString STR_TEMPLATE_NAME3_DEF = u"Blue Curve"_ustr;
21 inline constexpr OUString STR_TEMPLATE_NAME4_DEF = u"Blueprint Plans"_ustr;
22 inline constexpr OUString STR_TEMPLATE_NAME5_DEF = u"Candy"_ustr;
23 inline constexpr OUString STR_TEMPLATE_NAME6_DEF = u"Yellow Idea"_ustr;
24 inline constexpr OUString STR_TEMPLATE_NAME7_DEF = u"DNA"_ustr;
25 inline constexpr OUString STR_TEMPLATE_NAME8_DEF = u"Focus"_ustr;
26 inline constexpr OUString STR_TEMPLATE_NAME9_DEF = u"Forestbird"_ustr;
27 inline constexpr OUString STR_TEMPLATE_NAME10_DEF = u"Freshes"_ustr;
28 inline constexpr OUString STR_TEMPLATE_NAME11_DEF = u"Inspiration"_ustr;
29 inline constexpr OUString STR_TEMPLATE_NAME12_DEF = u"Lights"_ustr;
30 inline constexpr OUString STR_TEMPLATE_NAME13_DEF = u"Growing Liberty"_ustr;
31 inline constexpr OUString STR_TEMPLATE_NAME14_DEF = u"Metropolis"_ustr;
32 inline constexpr OUString STR_TEMPLATE_NAME15_DEF = u"Midnightblue"_ustr;
33 inline constexpr OUString STR_TEMPLATE_NAME16_DEF = u"Nature Illustration"_ustr;
34 inline constexpr OUString STR_TEMPLATE_NAME17_DEF = u"Pencil"_ustr;
35 inline constexpr OUString STR_TEMPLATE_NAME18_DEF = u"Piano"_ustr;
36 inline constexpr OUString STR_TEMPLATE_NAME19_DEF = u"Portfolio"_ustr;
37 inline constexpr OUString STR_TEMPLATE_NAME20_DEF = u"Progress"_ustr;
38 inline constexpr OUString STR_TEMPLATE_NAME21_DEF = u"Sunset"_ustr;
39 inline constexpr OUString STR_TEMPLATE_NAME22_DEF = u"Vintage"_ustr;
40 inline constexpr OUString STR_TEMPLATE_NAME23_DEF = u"Vivid"_ustr;
41 inline constexpr OUString STR_TEMPLATE_NAME24_DEF = u"CV"_ustr;
42 inline constexpr OUString STR_TEMPLATE_NAME25_DEF = u"Resume"_ustr;
43 inline constexpr OUString STR_TEMPLATE_NAME26_DEF = u"Default"_ustr;
44 inline constexpr OUString STR_TEMPLATE_NAME27_DEF = u"Modern"_ustr;
45 inline constexpr OUString STR_TEMPLATE_NAME28_DEF = u"Modern business letter sans-serif"_ustr;
46 inline constexpr OUString STR_TEMPLATE_NAME29_DEF = u"Modern business letter serif"_ustr;
47 inline constexpr OUString STR_TEMPLATE_NAME30_DEF = u"Businesscard with logo"_ustr;
48 inline constexpr OUString STR_TEMPLATE_NAME31_DEF = u"Simple"_ustr;
49 inline constexpr OUString STR_TEMPLATE_NAME32_DEF = u"BPMN"_ustr;
50 inline constexpr OUString STR_TEMPLATE_NAME33_DEF = u"Simplified Chinese Normal"_ustr;
51 inline constexpr OUString STR_TEMPLATE_NAME34_DEF = u"Japanese Normal"_ustr;
53 inline constexpr OUString CMIS_TYPE_STRING = u"String"_ustr;
54 #define CMIS_TYPE_INTEGER "Integer"
55 #define CMIS_TYPE_DECIMAL "Decimal"
56 #define CMIS_TYPE_DATETIME "Datetime"
57 #define CMIS_TYPE_BOOL "Bool"
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */