LibreOffice Module xmloff (master)  1
odffields.hxx
Go to the documentation of this file.
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  */
19 
20 #ifndef INCLUDED_XMLOFF_ODFFIELDS_HXX
21 #define INCLUDED_XMLOFF_ODFFIELDS_HXX
22 
23 #define ODF_FORMTEXT "vnd.oasis.opendocument.field.FORMTEXT"
24 #define ODF_FORMFIELD_DEFAULT_LENGTH 5
25 
26 #define ODF_FORMCHECKBOX u"vnd.oasis.opendocument.field.FORMCHECKBOX"
27 #define ODF_FORMCHECKBOX_HELPTEXT "Checkbox_HelpText"
28 #define ODF_FORMCHECKBOX_NAME "Checkbox_Name"
29 #define ODF_FORMCHECKBOX_RESULT "Checkbox_Checked"
30 
31 #define ODF_FORMDROPDOWN u"vnd.oasis.opendocument.field.FORMDROPDOWN"
32 #define ODF_FORMDROPDOWN_LISTENTRY "Dropdown_ListEntry"
33 #define ODF_FORMDROPDOWN_RESULT "Dropdown_Selected"
34 #define ODF_FORMDROPDOWN_ENTRY_COUNT_LIMIT 25
35 
36 #define ODF_FORMDATE "vnd.oasis.opendocument.field.FORMDATE"
37 #define ODF_FORMDATE_DATEFORMAT "DateField_DateFormat" // e.g. "MM.DD.YY"
38 #define ODF_FORMDATE_DATEFORMAT_LANGUAGE "DateField_DateFormat_Language" // e.g. "en-US", "hu-HU"
39 #define ODF_FORMDATE_CURRENTDATE "DateField_CurrentDate" // date string in a specific format
40 #define ODF_FORMDATE_CURRENTDATE_FORMAT u"YYYY-MM-DD" // Coming from MSO
41 #define ODF_FORMDATE_CURRENTDATE_LANGUAGE LANGUAGE_ENGLISH_US
42 
43 #define ODF_TOC "vnd.oasis.opendocument.field.TOC"
44 
45 #define ODF_HYPERLINK "vnd.oasis.opendocument.field.HYPERLINK"
46 
47 #define ODF_PAGEREF "vnd.oasis.opendocument.field.PAGEREF"
48 
49 #define ODF_UNHANDLED "vnd.oasis.opendocument.field.UNHANDLED"
50 #define ODF_OLE_PARAM "vnd.oasis.opendocument.field.ole"
51 #define ODF_ID_PARAM "vnd.oasis.opendocument.field.id"
52 #define ODF_CODE_PARAM "vnd.oasis.opendocument.field.code"
53 
54 #endif // INCLUDED_XMLOFF_ODFFIELDS_HXX
55 
56 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */