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/.
12 #include <unotools/resmgr.hxx>
16 #define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
21 // To translators: this is a listbox labelled by "Margins:", inch units
22 const std::pair<TranslateId, int> RID_PAGEFORMATPANEL_MARGINS_INCH[] =
24 { NC_("RID_PAGEFORMATPANEL_MARGINS_INCH", "None"), 0 },
25 { NC_("RID_PAGEFORMATPANEL_MARGINS_INCH", "Narrow"), 0 },
26 { NC_("RID_PAGEFORMATPANEL_MARGINS_INCH", "Moderate"), 0 },
28 { NC_("RID_PAGEFORMATPANEL_MARGINS_INCH", "Normal (%1)"), 75 },
30 { NC_("RID_PAGEFORMATPANEL_MARGINS_INCH", "Normal (%1)"), 100 },
32 { NC_("RID_PAGEFORMATPANEL_MARGINS_INCH", "Normal (%1)"), 125 },
33 { NC_("RID_PAGEFORMATPANEL_MARGINS_INCH", "Wide"), 0 }
36 // To translators: this is a listbox labelled by "Margins:", cm units
37 const std::pair<TranslateId, int> RID_PAGEFORMATPANEL_MARGINS_CM[] =
39 { NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "None"), 0 },
40 { NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "Narrow"), 0 },
41 { NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "Moderate"), 0 },
43 { NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "Normal (%1)"), 190 },
45 { NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "Normal (%1)"), 254 },
47 { NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "Normal (%1)"), 318 },
48 { NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "Wide"), 0 }
53 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */