Bump version to 21.06.18.1
[LibreOffice.git] / sw / inc / dbui.hrc
blob778f229ed4f3c462e637b5474a2929cc2ca7ebe4
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  *   Licensed to the Apache Software Foundation (ASF) under one or more
12  *   contributor license agreements. See the NOTICE file distributed
13  *   with this work for additional information regarding copyright
14  *   ownership. The ASF licenses this file to you under the Apache
15  *   License, Version 2.0 (the "License"); you may not use this file
16  *   except in compliance with the License. You may obtain a copy of
17  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
20 #ifndef INCLUDED_SW_INC_DBUI_HRC
21 #define INCLUDED_SW_INC_DBUI_HRC
23 #include <utility>
25 #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
27 // Elements -----------------------------------------------------------------
28 #define MM_PART_TITLE                   0
29 #define MM_PART_FIRSTNAME               1
30 #define MM_PART_LASTNAME                2
31 #define MM_PART_COMPANY                 3
32 #define MM_PART_ADDRESS_1               4
33 #define MM_PART_ADDRESS_2               5
34 #define MM_PART_CITY                    6
35 #define MM_PART_REGION                  7
36 #define MM_PART_ZIP                     8
37 #define MM_PART_COUNTRY                 9
38 #define MM_PART_PHONE_PRIVATE           10
39 #define MM_PART_PHONE_BUSINESS          11
40 #define MM_PART_E_MAIL                  12
41 #define MM_PART_GENDER                  13
43 const std::pair<const char*, int> SA_ADDRESS_HEADER[] =
45     { NC_("SA_ADDRESS_HEADER", "Title") ,                 MM_PART_TITLE           },
46     { NC_("SA_ADDRESS_HEADER", "First Name") ,            MM_PART_FIRSTNAME       },
47     { NC_("SA_ADDRESS_HEADER", "Last Name") ,             MM_PART_LASTNAME        },
48     { NC_("SA_ADDRESS_HEADER", "Company Name") ,          MM_PART_COMPANY         },
49     { NC_("SA_ADDRESS_HEADER", "Address Line 1") ,        MM_PART_ADDRESS_1       },
50     { NC_("SA_ADDRESS_HEADER", "Address Line 2") ,        MM_PART_ADDRESS_2       },
51     { NC_("SA_ADDRESS_HEADER", "City") ,                  MM_PART_CITY            },
52     { NC_("SA_ADDRESS_HEADER", "State") ,                 MM_PART_REGION          },
53     { NC_("SA_ADDRESS_HEADER", "ZIP") ,                   MM_PART_ZIP             },
54     { NC_("SA_ADDRESS_HEADER", "Country") ,               MM_PART_COUNTRY         },
55     { NC_("SA_ADDRESS_HEADER", "Telephone private") ,     MM_PART_PHONE_PRIVATE   },
56     { NC_("SA_ADDRESS_HEADER", "Telephone business") ,    MM_PART_PHONE_BUSINESS  },
57     { NC_("SA_ADDRESS_HEADER", "Email Address") ,        MM_PART_E_MAIL          },
58     { NC_("SA_ADDRESS_HEADER", "Gender"),                 MM_PART_GENDER          }
61 #endif
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */