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 <sal/types.h>
16 #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
18 #define CHRDLG_ENCLOSE_NONE 0
19 #define CHRDLG_ENCLOSE_ROUND 1
20 #define CHRDLG_ENCLOSE_SQUARE 2
21 #define CHRDLG_ENCLOSE_POINTED 3
22 #define CHRDLG_ENCLOSE_CURVED 4
23 #define CHRDLG_ENCLOSE_SPECIAL_CHAR 5
25 const std::pair<const char*, sal_uInt16> TWOLINE_OPEN[] =
27 { NC_("twolinespage|liststore1", "(None)"), CHRDLG_ENCLOSE_NONE },
28 { NC_("twolinespage|liststore1", "("), CHRDLG_ENCLOSE_ROUND },
29 { NC_("twolinespage|liststore1", "["), CHRDLG_ENCLOSE_SQUARE },
30 { NC_("twolinespage|liststore1", "<"), CHRDLG_ENCLOSE_POINTED },
31 { NC_("twolinespage|liststore1", "{"), CHRDLG_ENCLOSE_CURVED },
32 { NC_("twolinespage|liststore1", "Other Characters..."), CHRDLG_ENCLOSE_SPECIAL_CHAR }
35 const std::pair<const char*, sal_uInt16> TWOLINE_CLOSE[] =
37 { NC_("twolinespage|liststore2", "(None)"), CHRDLG_ENCLOSE_NONE },
38 { NC_("twolinespage|liststore2", ")"), CHRDLG_ENCLOSE_ROUND },
39 { NC_("twolinespage|liststore2", "]"), CHRDLG_ENCLOSE_SQUARE },
40 { NC_("twolinespage|liststore2", ">"), CHRDLG_ENCLOSE_POINTED },
41 { NC_("twolinespage|liststore2", "}"), CHRDLG_ENCLOSE_CURVED },
42 { NC_("twolinespage|liststore2", "Other Characters..."), CHRDLG_ENCLOSE_SPECIAL_CHAR }
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */