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
12 #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
21 // To translators: this is a listbox labelled by "Spacing:", inch units
22 const measurement RID_SVXSTRARY_SPACING_INCH[] =
24 { NC_("RID_SVXSTRARY_SPACING_INCH", "None"), 0, 0 },
25 { NC_("RID_SVXSTRARY_SPACING_INCH", "Extra Small (1/16″)"), 91, 0 },
26 { NC_("RID_SVXSTRARY_SPACING_INCH", "Small (1/8″)"), 181, 0 },
27 { NC_("RID_SVXSTRARY_SPACING_INCH", "Small Medium (1/4″)"), 363, 0 },
28 { NC_("RID_SVXSTRARY_SPACING_INCH", "Medium (3/8″)"), 539, 0 },
29 { NC_("RID_SVXSTRARY_SPACING_INCH", "Medium Large (1/2″)"), 720, 0 },
30 { NC_("RID_SVXSTRARY_SPACING_INCH", "Large (3/4″)"), 1077, 0 },
31 { NC_("RID_SVXSTRARY_SPACING_INCH", "Extra Large (1″)"), 1440, 0 },
35 // To translators: this is a listbox labelled by "Spacing:", cm units
36 const measurement RID_SVXSTRARY_SPACING_CM[] =
38 { NC_("RID_SVXSTRARY_SPACING_CM", "None"), 0, 0 },
39 // Extra Small (0.16 cm)
40 { NC_("RID_SVXSTRARY_SPACING_CM", "Extra Small (%1)"), 91, 16 },
42 { NC_("RID_SVXSTRARY_SPACING_CM", "Small (%1)"), 181, 32 },
43 // Small Medium (0.64 cm)
44 { NC_("RID_SVXSTRARY_SPACING_CM", "Small Medium (%1)"), 363, 64 },
46 { NC_("RID_SVXSTRARY_SPACING_CM", "Medium (%1)"), 539, 95 },
47 // Medium Large (1.27 cm)
48 { NC_("RID_SVXSTRARY_SPACING_CM", "Medium Large (%1)"), 720, 127 },
50 { NC_("RID_SVXSTRARY_SPACING_CM", "Large (%1)"), 1077, 190 },
51 // Extra Large (2.54 cm)
52 { NC_("RID_SVXSTRARY_SPACING_CM", "Extra Large (%1)"), 1440, 254 },
56 // To translators: this is a listbox labelled by "Margins:", inch units
57 const measurement RID_SVXSTRARY_MARGINS_INCH[] =
59 { NC_("RID_SVXSTRARY_MARGINS_INCH", "None"), 0, 0 },
60 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Extra Small (1/16″)"), 91, 0 },
61 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Small (1/8″)"), 181, 0 },
62 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Small Medium (1/4″)"), 363, 0 },
63 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Medium (3/8″)"), 539, 0 },
64 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Medium Large (1/2″)"), 720, 0 },
65 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Large (3/4″)"), 1077, 0 },
66 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Extra Large (1″)"), 1440, 0 },
70 // To translators: this is a listbox labelled by "Margins:", cm units
71 const measurement RID_SVXSTRARY_MARGINS_CM[] =
73 { NC_("RID_SVXSTRARY_MARGINS_CM", "None"), 0, 0 },
74 // Extra Small (0.16 cm)
75 { NC_("RID_SVXSTRARY_MARGINS_CM", "Extra Small (%1)"), 91, 16 },
77 { NC_("RID_SVXSTRARY_MARGINS_CM", "Small (%1)"), 181, 32 },
78 // Small Medium (0.64 cm)
79 { NC_("RID_SVXSTRARY_MARGINS_CM", "Small Medium (%1)"), 363, 64 },
81 { NC_("RID_SVXSTRARY_MARGINS_CM", "Medium (%1)"), 539, 95 },
82 // Medium Large (1.27 cm)
83 { NC_("RID_SVXSTRARY_MARGINS_CM", "Medium Large (%1)"), 720, 127 },
85 { NC_("RID_SVXSTRARY_MARGINS_CM", "Large (%1)"), 1077, 190 },
86 // Extra Large (2.54 cm)
87 { NC_("RID_SVXSTRARY_MARGINS_CM", "Extra Large (%1)"), 1440, 254 },
93 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */