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) reinterpret_cast<char const *>(Context "\004" u8##String)
25 const char* 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 #define CUSTOM_TYPE_UNKNOWN 0
60 #define CUSTOM_TYPE_TEXT 1
61 #define CUSTOM_TYPE_NUMBER 2
62 #define CUSTOM_TYPE_DATE 3
63 #define CUSTOM_TYPE_BOOLEAN 4
64 #define CUSTOM_TYPE_DURATION 5
65 #define CUSTOM_TYPE_DATETIME 6
67 const std::pair<const char*, int> SFX_LB_PROPERTY_STRINGARRAY[] =
69 { NC_("SFX_CB_PROPERTY_STRINGARRAY", "Text") , CUSTOM_TYPE_TEXT },
70 { NC_("SFX_CB_PROPERTY_STRINGARRAY", "DateTime") , CUSTOM_TYPE_DATETIME },
71 { NC_("SFX_CB_PROPERTY_STRINGARRAY", "Date") , CUSTOM_TYPE_DATE },
72 { NC_("SFX_CB_PROPERTY_STRINGARRAY", "Duration") , CUSTOM_TYPE_DURATION },
73 { NC_("SFX_CB_PROPERTY_STRINGARRAY", "Number") , CUSTOM_TYPE_NUMBER },
74 { NC_("SFX_CB_PROPERTY_STRINGARRAY", "Yes or no") , CUSTOM_TYPE_BOOLEAN }
79 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */