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 .
23 #include <unotools/resmgr.hxx>
25 #define NC_(Context, String) TranslateId(Context, u8##String)
31 #define DI_DESCRIPTION 5
33 #define DI_MODIFIEDDATE 7
34 #define DI_MODIFIEDBY 8
35 #define DI_PRINTDATE 9
40 const std::pair<TranslateId, int> STRARY_SVT_DOCINFO[] =
42 { NC_("STRARY_SVT_DOCINFO", "Title") , DI_TITLE },
43 { NC_("STRARY_SVT_DOCINFO", "By") , DI_FROM },
44 { NC_("STRARY_SVT_DOCINFO", "Date") , DI_DATE },
45 { NC_("STRARY_SVT_DOCINFO", "Keywords") , DI_KEYWORDS },
46 { NC_("STRARY_SVT_DOCINFO", "Description") , DI_DESCRIPTION },
47 { NC_("STRARY_SVT_DOCINFO", "Type") , DI_MIMETYPE },
48 { NC_("STRARY_SVT_DOCINFO", "Modified on") , DI_MODIFIEDDATE },
49 { NC_("STRARY_SVT_DOCINFO", "Modified by") , DI_MODIFIEDBY },
50 { NC_("STRARY_SVT_DOCINFO", "Printed on") , DI_PRINTDATE },
51 { NC_("STRARY_SVT_DOCINFO", "Printed by") , DI_PRINTBY },
52 { NC_("STRARY_SVT_DOCINFO", "Subject") , DI_THEME },
53 { NC_("STRARY_SVT_DOCINFO", "Size") , DI_SIZE }
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */