blob: 820c169538318cc1ec11b22c3392fb3f87c2dc79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONSTANT_HXX
#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONSTANT_HXX
/* disable impl_loadOnDemand function of BaseContainer for certain
functions, where it the feature "impl_loadItemOnDemand() of class FilterCache
can be used instead of loadAll()!*/
// #define LOAD_IMPLICIT
/** @short used to identify a some generic item properties against the
configuration API and can be used at all name containers
(based on this filtercache) too.
*/
#define PROPNAME_NAME "Name"
/** @short used to identify a type item property against the
configuration API and can be used at all name containers
(based on this filtercache) too.
*/
#define PROPNAME_UINAME "UIName"
#define PROPNAME_UINAMES "UINames"
#define PROPNAME_PREFERRED "Preferred"
#define PROPNAME_PREFERREDFILTER "PreferredFilter"
#define PROPNAME_DETECTSERVICE "DetectService"
#define PROPNAME_MEDIATYPE "MediaType"
#define PROPNAME_CLIPBOARDFORMAT "ClipboardFormat"
#define PROPNAME_URLPATTERN "URLPattern"
#define PROPNAME_EXTENSIONS "Extensions"
/** @short used to identify a filter item property against the
configuration API and can be used at all name containers
(based on this filtercache) too.
*/
#define PROPNAME_TYPE "Type"
#define PROPNAME_DOCUMENTSERVICE "DocumentService"
#define PROPNAME_FILTERSERVICE "FilterService"
#define PROPNAME_UICOMPONENT "UIComponent"
#define PROPNAME_FLAGS "Flags"
#define PROPNAME_USERDATA "UserData"
#define PROPNAME_TEMPLATENAME "TemplateName"
#define PROPNAME_FILEFORMATVERSION "FileFormatVersion"
#define PROPNAME_EXPORTEXTENSION "ExportExtension"
#define PROPNAME_ENABLED "Enabled"
/** @short used to identify a frame loader or detect service item
property against the configuration API and can be used
at all name containers (based on this filtercache) too.
*/
#define PROPNAME_TYPES "Types"
/** @short used to identify the list of sorted filters for a specific
office module
*/
#define PROPNAME_SORTEDFILTERLIST "SortedFilterList"
/** @short implicit properties. which are used at the container interface only.
*/
#define PROPNAME_FINALIZED "Finalized"
#define PROPNAME_MANDATORY "Mandatory"
/** @short used to identify a set of items against the configuration API. */
#define CFGSET_TYPES "Types"
#define CFGSET_FILTERS "Filters"
#define CFGSET_FRAMELOADERS "FrameLoaders"
#define CFGSET_CONTENTHANDLERS "ContentHandlers"
/** @short used to address some configuration keys directly.
@descr Such direct keys should be used with function
FilterCache::impl_getDirectCFGValue() only!
@TODO define these direct keys ...
*/
#define CFGDIRECTKEY_OFFICELOCALE "/org.openoffice.Setup/L10N/ooLocale"
#define CFGDIRECTKEY_DEFAULTFRAMELOADER "/org.openoffice.TypeDetection.Misc/Defaults/DefaultFrameLoader"
#define CFGDIRECTKEY_PRODUCTNAME "/org.openoffice.Setup/Product/ooName"
// Note that these flag bits have parallel names in
// comphelper/inc/comphelper/documentconstants.hxx . See that file for
// documentation on their meaning.
/** @short names of filter flags, sorted in alphabetical order */
#define FLAGNAME_3RDPARTYFILTER "3RDPARTYFILTER"
#define FLAGNAME_ALIEN "ALIEN"
#define FLAGNAME_CONSULTSERVICE "CONSULTSERVICE"
#define FLAGNAME_DEFAULT "DEFAULT"
#define FLAGNAME_ENCRYPTION "ENCRYPTION"
#define FLAGNAME_EXPORT "EXPORT"
#define FLAGNAME_GPGENCRYPTION "GPGENCRYPTION"
#define FLAGNAME_IMPORT "IMPORT"
#define FLAGNAME_INTERNAL "INTERNAL"
#define FLAGNAME_NOTINFILEDIALOG "NOTINFILEDIALOG"
#define FLAGNAME_NOTINSTALLED "NOTINSTALLED"
#define FLAGNAME_OWN "OWN"
#define FLAGNAME_PACKED "PACKED"
#define FLAGNAME_PASSWORDTOMODIFY "PASSWORDTOMODIFY"
#define FLAGNAME_PREFERRED "PREFERRED"
#define FLAGNAME_STARTPRESENTATION "STARTPRESENTATION"
#define FLAGNAME_READONLY "READONLY"
#define FLAGNAME_SUPPORTSSELECTION "SUPPORTSSELECTION"
#define FLAGNAME_TEMPLATE "TEMPLATE"
#define FLAGNAME_TEMPLATEPATH "TEMPLATEPATH"
#define FLAGNAME_COMBINED "COMBINED"
#define FLAGNAME_SUPPORTSSIGNING "SUPPORTSSIGNING"
#define FLAGNAME_EXOTIC "EXOTIC"
/** @short some uno service names.
*/
#define SERVICE_CONFIGURATIONUPDATEACCESS "com.sun.star.configuration.ConfigurationUpdateAccess"
#define SERVICE_CONFIGURATIONACCESS "com.sun.star.configuration.ConfigurationAccess"
/** @short some configuration paths.
*/
#define CFGPACKAGE_TD_TYPES "/org.openoffice.TypeDetection.Types"
#define CFGPACKAGE_TD_FILTERS "/org.openoffice.TypeDetection.Filter"
#define CFGPACKAGE_TD_OTHERS "/org.openoffice.TypeDetection.Misc"
#define CFGPACKAGE_TD_OLD "/org.openoffice.Office.TypeDetection"
/** @short some default values.
*/
#define DEFAULT_OFFICELOCALE "en-US"
/** @short used for the queries of the FilterFactory service.
*/
#define QUERY_IDENTIFIER_MATCHBYDOCUMENTSERVICE "matchByDocumentService"
#define QUERY_IDENTIFIER_GETPREFERREDFILTERFORTYPE "getDefaultFilterForType"
#define QUERY_IDENTIFIER_GET_SORTED_FILTERLIST "getSortedFilterList()"
#define QUERY_PARAM_IFLAGS "iflags"
#define QUERY_PARAM_EFLAGS "eflags"
#define QUERY_PARAM_MODULE "module"
#define QUERY_PARAM_DEFAULTFIRST "default_first"
#define QUERY_CONSTVALUE_ALL "all"
#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONSTANT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|