1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef INCLUDED_SFX2_INC_DINFDLG_HRC
21 #define INCLUDED_SFX2_INC_DINFDLG_HRC
23 #define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
25 const TranslateId SFX_CB_PROPERTY_STRINGARRAY[] =
27 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Checked by"),
28 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Client"),
29 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Date completed"),
30 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Department"),
31 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Destinations"),
32 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Disposition"),
33 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Division"),
34 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Document number"),
35 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Editor"),
36 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Email"),
37 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Forward to"),
38 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Group"),
39 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Info"),
40 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Language"),
41 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Mailstop"),
42 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Matter"),
43 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Office"),
44 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Owner"),
45 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Project"),
46 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Publisher"),
47 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Purpose"),
48 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Received from"),
49 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Recorded by"),
50 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Recorded date"),
51 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Reference"),
52 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Source"),
53 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Status"),
54 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Telephone number"),
55 NC_("SFX_CB_PROPERTY_STRINGARRAY", "Typist"),
56 NC_("SFX_CB_PROPERTY_STRINGARRAY", "URL")
59 enum CustomProperties : sal_Int32 {
60 Custom_Type_Unknown = 0,
62 Custom_Type_Number = 2,
64 Custom_Type_Boolean = 4,
65 Custom_Type_Duration = 5,
66 Custom_Type_Datetime = 6
69 const std::pair<TranslateId, CustomProperties> SFX_LB_PROPERTY_STRINGARRAY[] =
71 { NC_("SFX_CB_PROPERTY_STRINGARRAY", "Text") , Custom_Type_Text },
72 { NC_("SFX_CB_PROPERTY_STRINGARRAY", "DateTime") , Custom_Type_Datetime },
73 { NC_("SFX_CB_PROPERTY_STRINGARRAY", "Date") , Custom_Type_Date },
74 { NC_("SFX_CB_PROPERTY_STRINGARRAY", "Duration") , Custom_Type_Duration },
75 { NC_("SFX_CB_PROPERTY_STRINGARRAY", "Number") , Custom_Type_Number },
76 { NC_("SFX_CB_PROPERTY_STRINGARRAY", "Yes or no") , Custom_Type_Boolean }
81 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */