1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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 #ifndef INCLUDED_SVX_INC_SPACING_HRC
10 #define INCLUDED_SVX_INC_SPACING_HRC
14 #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
16 // To translators: this is a listbox labelled by "Spacing:", inch units
17 const std::pair<const char*, int> RID_SVXSTRARY_SPACING_INCH[] =
19 { NC_("RID_SVXSTRARY_SPACING_INCH", "None"), 0 },
20 { NC_("RID_SVXSTRARY_SPACING_INCH", "Extra Small (1/16\")"), 91 },
21 { NC_("RID_SVXSTRARY_SPACING_INCH", "Small (1/8\")"), 181 },
22 { NC_("RID_SVXSTRARY_SPACING_INCH", "Small Medium (1/4\")"), 363 },
23 { NC_("RID_SVXSTRARY_SPACING_INCH", "Medium (3/8\")"), 539 },
24 { NC_("RID_SVXSTRARY_SPACING_INCH", "Medium Large (1/2\")"), 720 },
25 { NC_("RID_SVXSTRARY_SPACING_INCH", "Large (3/4\")"), 1077 },
26 { NC_("RID_SVXSTRARY_SPACING_INCH", "Extra Large (1\")"), 1440 },
30 // To translators: this is a listbox labelled by "Spacing:", cm units
31 const std::pair<const char*, int> RID_SVXSTRARY_SPACING_CM[] =
33 { NC_("RID_SVXSTRARY_SPACING_CM", "None"), 0 },
34 { NC_("RID_SVXSTRARY_SPACING_CM", "Extra Small (0.16cm)"), 91 },
35 { NC_("RID_SVXSTRARY_SPACING_CM", "Small (0.32cm)"), 181 },
36 { NC_("RID_SVXSTRARY_SPACING_CM", "Small Medium (0.64cm)"), 363 },
37 { NC_("RID_SVXSTRARY_SPACING_CM", "Medium (0.95cm)"), 539 },
38 { NC_("RID_SVXSTRARY_SPACING_CM", "Medium Large (1.27cm)"), 720 },
39 { NC_("RID_SVXSTRARY_SPACING_CM", "Large (1.9cm)"), 1077 },
40 { NC_("RID_SVXSTRARY_SPACING_CM", "Extra Large (2.54cm)"), 1440 },
44 // To translators: this is a listbox labelled by "Margins:", inch units
45 const std::pair<const char*, int> RID_SVXSTRARY_MARGINS_INCH[] =
47 { NC_("RID_SVXSTRARY_MARGINS_INCH", "None"), 0 },
48 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Extra Small (1/16\")"), 91 },
49 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Small (1/8\")"), 181 },
50 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Small Medium (1/4\")"), 363 },
51 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Medium (3/8\")"), 539 },
52 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Medium Large (1/2\")"), 720 },
53 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Large (3/4\")"), 1077 },
54 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Extra Large (1\")"), 1440 },
58 // To translators: this is a listbox labelled by "Margins:", cm units
59 const std::pair<const char*, int> RID_SVXSTRARY_MARGINS_CM[] =
61 { NC_("RID_SVXSTRARY_MARGINS_CM", "None"), 0 },
62 { NC_("RID_SVXSTRARY_MARGINS_CM", "Extra Small (0.16cm)"), 91 },
63 { NC_("RID_SVXSTRARY_MARGINS_CM", "Small (0.32cm)"), 181 },
64 { NC_("RID_SVXSTRARY_MARGINS_CM", "Small Medium (0.64cm)"), 363 },
65 { NC_("RID_SVXSTRARY_MARGINS_CM", "Medium (0.95cm)"), 539 },
66 { NC_("RID_SVXSTRARY_MARGINS_CM", "Medium Large (1.27cm)"), 720 },
67 { NC_("RID_SVXSTRARY_MARGINS_CM", "Large (1.9cm)"), 1077 },
68 { NC_("RID_SVXSTRARY_MARGINS_CM", "Extra Large (2.54cm)"), 1440 },
74 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */