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_XMLOFF_ODFFIELDS_HXX
21 #define INCLUDED_XMLOFF_ODFFIELDS_HXX
24 #define ODF_FORMTEXT "vnd.oasis.opendocument.field.FORMTEXT"
25 #define ODF_FORMFIELD_DEFAULT_LENGTH 5
27 #define ODF_FORMCHECKBOX "vnd.oasis.opendocument.field.FORMCHECKBOX"
28 #define ODF_FORMCHECKBOX_HELPTEXT "Checkbox_HelpText"
29 #define ODF_FORMCHECKBOX_NAME "Checkbox_Name"
30 #define ODF_FORMCHECKBOX_RESULT "Checkbox_Checked"
32 #define ODF_FORMDROPDOWN "vnd.oasis.opendocument.field.FORMDROPDOWN"
33 #define ODF_FORMDROPDOWN_LISTENTRY "Dropdown_ListEntry"
34 #define ODF_FORMDROPDOWN_RESULT "Dropdown_Selected"
35 #define ODF_FORMDROPDOWN_ENTRY_COUNT_LIMIT 25
37 #define ODF_FORMDATE "vnd.oasis.opendocument.field.FORMDATE"
38 #define ODF_FORMDATE_DATEFORMAT "DateField_DateFormat" // e.g. "MM.DD.YY"
39 #define ODF_FORMDATE_DATEFORMAT_LANGUAGE "DateField_DateFormat_Language" // e.g. "en-US", "hu-HU"
40 #define ODF_FORMDATE_CURRENTDATE "DateField_CurrentDate" // date string in a specific format
41 #define ODF_FORMDATE_CURRENTDATE_FORMAT "YYYY-MM-DD" // Coming from MSO
42 #define ODF_FORMDATE_CURRENTDATE_LANGUAGE LANGUAGE_ENGLISH_US
44 #define ODF_TOC "vnd.oasis.opendocument.field.TOC"
46 #define ODF_HYPERLINK "vnd.oasis.opendocument.field.HYPERLINK"
48 #define ODF_PAGEREF "vnd.oasis.opendocument.field.PAGEREF"
50 #define ODF_UNHANDLED "vnd.oasis.opendocument.field.UNHANDLED"
51 #define ODF_OLE_PARAM "vnd.oasis.opendocument.field.ole"
52 #define ODF_ID_PARAM "vnd.oasis.opendocument.field.id"
53 #define ODF_CODE_PARAM "vnd.oasis.opendocument.field.code"
55 #endif // INCLUDED_XMLOFF_ODFFIELDS_HXX
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */