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 #include <unotools/resmgr.hxx>
14 #define NC_(Context, String) TranslateId(Context, u8##String)
23 // To translators: this is a listbox labelled by "Spacing:", inch units
24 const measurement RID_SVXSTRARY_SPACING_INCH[] =
26 { NC_("RID_SVXSTRARY_SPACING_INCH", "None"), 0, 0 },
27 { NC_("RID_SVXSTRARY_SPACING_INCH", "Extra Small (1/16″)"), 91, 0 },
28 { NC_("RID_SVXSTRARY_SPACING_INCH", "Small (1/8″)"), 181, 0 },
29 { NC_("RID_SVXSTRARY_SPACING_INCH", "Small Medium (1/4″)"), 363, 0 },
30 { NC_("RID_SVXSTRARY_SPACING_INCH", "Medium (3/8″)"), 539, 0 },
31 { NC_("RID_SVXSTRARY_SPACING_INCH", "Medium Large (1/2″)"), 720, 0 },
32 { NC_("RID_SVXSTRARY_SPACING_INCH", "Large (3/4″)"), 1077, 0 },
33 { NC_("RID_SVXSTRARY_SPACING_INCH", "Extra Large (1″)"), 1440, 0 },
37 // To translators: this is a listbox labelled by "Spacing:", cm units
38 const measurement RID_SVXSTRARY_SPACING_CM[] =
40 { NC_("RID_SVXSTRARY_SPACING_CM", "None"), 0, 0 },
41 // Extra Small (0.16 cm)
42 { NC_("RID_SVXSTRARY_SPACING_CM", "Extra Small (%1)"), 91, 16 },
44 { NC_("RID_SVXSTRARY_SPACING_CM", "Small (%1)"), 181, 32 },
45 // Small Medium (0.64 cm)
46 { NC_("RID_SVXSTRARY_SPACING_CM", "Small Medium (%1)"), 363, 64 },
48 { NC_("RID_SVXSTRARY_SPACING_CM", "Medium (%1)"), 539, 95 },
49 // Medium Large (1.27 cm)
50 { NC_("RID_SVXSTRARY_SPACING_CM", "Medium Large (%1)"), 720, 127 },
52 { NC_("RID_SVXSTRARY_SPACING_CM", "Large (%1)"), 1077, 190 },
53 // Extra Large (2.54 cm)
54 { NC_("RID_SVXSTRARY_SPACING_CM", "Extra Large (%1)"), 1440, 254 },
58 // To translators: this is a listbox labelled by "Margins:", inch units
59 const measurement RID_SVXSTRARY_MARGINS_INCH[] =
61 { NC_("RID_SVXSTRARY_MARGINS_INCH", "None"), 0, 0 },
62 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Extra Small (1/16″)"), 91, 0 },
63 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Small (1/8″)"), 181, 0 },
64 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Small Medium (1/4″)"), 363, 0 },
65 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Medium (3/8″)"), 539, 0 },
66 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Medium Large (1/2″)"), 720, 0 },
67 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Large (3/4″)"), 1077, 0 },
68 { NC_("RID_SVXSTRARY_MARGINS_INCH", "Extra Large (1″)"), 1440, 0 },
72 // To translators: this is a listbox labelled by "Margins:", cm units
73 const measurement RID_SVXSTRARY_MARGINS_CM[] =
75 { NC_("RID_SVXSTRARY_MARGINS_CM", "None"), 0, 0 },
76 // Extra Small (0.16 cm)
77 { NC_("RID_SVXSTRARY_MARGINS_CM", "Extra Small (%1)"), 91, 16 },
79 { NC_("RID_SVXSTRARY_MARGINS_CM", "Small (%1)"), 181, 32 },
80 // Small Medium (0.64 cm)
81 { NC_("RID_SVXSTRARY_MARGINS_CM", "Small Medium (%1)"), 363, 64 },
83 { NC_("RID_SVXSTRARY_MARGINS_CM", "Medium (%1)"), 539, 95 },
84 // Medium Large (1.27 cm)
85 { NC_("RID_SVXSTRARY_MARGINS_CM", "Medium Large (%1)"), 720, 127 },
87 { NC_("RID_SVXSTRARY_MARGINS_CM", "Large (%1)"), 1077, 190 },
88 // Extra Large (2.54 cm)
89 { NC_("RID_SVXSTRARY_MARGINS_CM", "Extra Large (%1)"), 1440, 254 },
95 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */