Line data Source code
1 : #ifndef INCLUDED_OFFICECFG_SETUP_HXX
2 : #define INCLUDED_OFFICECFG_SETUP_HXX
3 :
4 : #include "sal/config.h"
5 :
6 : #include "boost/optional.hpp"
7 : #include "rtl/ustring.h"
8 : #include "rtl/ustring.hxx"
9 : #include "sal/types.h"
10 : #include "comphelper/configuration.hxx"
11 :
12 : namespace officecfg { namespace Setup {
13 :
14 : struct Product: public comphelper::ConfigurationGroup< Product> {
15 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product")); }
16 :
17 : struct ooName: public comphelper::ConfigurationProperty<ooName, rtl::OUString> {
18 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooName")); }
19 : private:
20 : ooName(); // not defined
21 : ~ooName(); // not defined
22 : };
23 :
24 : struct ooXMLFileFormatVersion: public comphelper::ConfigurationProperty<ooXMLFileFormatVersion, rtl::OUString> {
25 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooXMLFileFormatVersion")); }
26 : private:
27 : ooXMLFileFormatVersion(); // not defined
28 : ~ooXMLFileFormatVersion(); // not defined
29 : };
30 :
31 : struct ooXMLFileFormatName: public comphelper::ConfigurationProperty<ooXMLFileFormatName, rtl::OUString> {
32 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooXMLFileFormatName")); }
33 : private:
34 : ooXMLFileFormatName(); // not defined
35 : ~ooXMLFileFormatName(); // not defined
36 : };
37 :
38 : struct ooSetupVersion: public comphelper::ConfigurationProperty<ooSetupVersion, rtl::OUString> {
39 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooSetupVersion")); }
40 : private:
41 : ooSetupVersion(); // not defined
42 : ~ooSetupVersion(); // not defined
43 : };
44 :
45 : struct ooSetupVersionAboutBox: public comphelper::ConfigurationProperty<ooSetupVersionAboutBox, rtl::OUString> {
46 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooSetupVersionAboutBox")); }
47 : private:
48 : ooSetupVersionAboutBox(); // not defined
49 : ~ooSetupVersionAboutBox(); // not defined
50 : };
51 :
52 : struct ooSetupVersionAboutBoxSuffix: public comphelper::ConfigurationProperty<ooSetupVersionAboutBoxSuffix, rtl::OUString> {
53 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooSetupVersionAboutBoxSuffix")); }
54 : private:
55 : ooSetupVersionAboutBoxSuffix(); // not defined
56 : ~ooSetupVersionAboutBoxSuffix(); // not defined
57 : };
58 :
59 : struct ooVendor: public comphelper::ConfigurationProperty<ooVendor, rtl::OUString> {
60 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooVendor")); }
61 : private:
62 : ooVendor(); // not defined
63 : ~ooVendor(); // not defined
64 : };
65 :
66 : struct ooSetupExtension: public comphelper::ConfigurationProperty<ooSetupExtension, rtl::OUString> {
67 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooSetupExtension")); }
68 : private:
69 : ooSetupExtension(); // not defined
70 : ~ooSetupExtension(); // not defined
71 : };
72 :
73 : struct ooOpenSourceContext: public comphelper::ConfigurationProperty<ooOpenSourceContext, sal_Int32> {
74 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooOpenSourceContext")); }
75 : private:
76 : ooOpenSourceContext(); // not defined
77 : ~ooOpenSourceContext(); // not defined
78 : };
79 :
80 : private:
81 : Product(); // not defined
82 : ~Product(); // not defined
83 : };
84 :
85 : struct Office: public comphelper::ConfigurationGroup< Office> {
86 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office")); }
87 :
88 : struct ooSetupInstCompleted: public comphelper::ConfigurationProperty<ooSetupInstCompleted, bool> {
89 0 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/ooSetupInstCompleted")); }
90 : private:
91 : ooSetupInstCompleted(); // not defined
92 : ~ooSetupInstCompleted(); // not defined
93 : };
94 :
95 : struct InstalledLocales: public comphelper::ConfigurationSet< InstalledLocales> {
96 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/InstalledLocales")); }
97 : private:
98 : InstalledLocales(); // not defined
99 : ~InstalledLocales(); // not defined
100 : };
101 :
102 : struct ooSetupConnectionURL: public comphelper::ConfigurationProperty<ooSetupConnectionURL, rtl::OUString> {
103 0 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/ooSetupConnectionURL")); }
104 : private:
105 : ooSetupConnectionURL(); // not defined
106 : ~ooSetupConnectionURL(); // not defined
107 : };
108 :
109 : struct MigrationCompleted: public comphelper::ConfigurationProperty<MigrationCompleted, bool> {
110 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/MigrationCompleted")); }
111 : private:
112 : MigrationCompleted(); // not defined
113 : ~MigrationCompleted(); // not defined
114 : };
115 :
116 : struct LastCompatibilityCheckID: public comphelper::ConfigurationProperty<LastCompatibilityCheckID, rtl::OUString> {
117 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/LastCompatibilityCheckID")); }
118 : private:
119 : LastCompatibilityCheckID(); // not defined
120 : ~LastCompatibilityCheckID(); // not defined
121 : };
122 :
123 : struct Factories: public comphelper::ConfigurationSet< Factories> {
124 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/Factories")); }
125 : private:
126 : Factories(); // not defined
127 : ~Factories(); // not defined
128 : };
129 :
130 : struct OfficeRestartInProgress: public comphelper::ConfigurationProperty<OfficeRestartInProgress, bool> {
131 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/OfficeRestartInProgress")); }
132 : private:
133 : OfficeRestartInProgress(); // not defined
134 : ~OfficeRestartInProgress(); // not defined
135 : };
136 :
137 : private:
138 : Office(); // not defined
139 : ~Office(); // not defined
140 : };
141 :
142 : struct L10N: public comphelper::ConfigurationGroup< L10N> {
143 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/L10N")); }
144 :
145 : struct ooLocale: public comphelper::ConfigurationProperty<ooLocale, rtl::OUString> {
146 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/L10N/ooLocale")); }
147 : private:
148 : ooLocale(); // not defined
149 : ~ooLocale(); // not defined
150 : };
151 :
152 : struct ooSetupSystemLocale: public comphelper::ConfigurationProperty<ooSetupSystemLocale, rtl::OUString> {
153 652 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/L10N/ooSetupSystemLocale")); }
154 : private:
155 : ooSetupSystemLocale(); // not defined
156 : ~ooSetupSystemLocale(); // not defined
157 : };
158 :
159 : struct ooSetupCurrency: public comphelper::ConfigurationProperty<ooSetupCurrency, rtl::OUString> {
160 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/L10N/ooSetupCurrency")); }
161 : private:
162 : ooSetupCurrency(); // not defined
163 : ~ooSetupCurrency(); // not defined
164 : };
165 :
166 : struct DecimalSeparatorAsLocale: public comphelper::ConfigurationProperty<DecimalSeparatorAsLocale, bool> {
167 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/L10N/DecimalSeparatorAsLocale")); }
168 : private:
169 : DecimalSeparatorAsLocale(); // not defined
170 : ~DecimalSeparatorAsLocale(); // not defined
171 : };
172 :
173 : struct IgnoreLanguageChange: public comphelper::ConfigurationProperty<IgnoreLanguageChange, bool> {
174 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/L10N/IgnoreLanguageChange")); }
175 : private:
176 : IgnoreLanguageChange(); // not defined
177 : ~IgnoreLanguageChange(); // not defined
178 : };
179 :
180 : struct DateAcceptancePatterns: public comphelper::ConfigurationProperty<DateAcceptancePatterns, boost::optional<rtl::OUString> > {
181 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/L10N/DateAcceptancePatterns")); }
182 : private:
183 : DateAcceptancePatterns(); // not defined
184 : ~DateAcceptancePatterns(); // not defined
185 : };
186 :
187 : private:
188 : L10N(); // not defined
189 : ~L10N(); // not defined
190 : };
191 :
192 : struct Migration: public comphelper::ConfigurationGroup< Migration> {
193 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Migration")); }
194 :
195 : struct SupportedVersions: public comphelper::ConfigurationSet< SupportedVersions> {
196 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Migration/SupportedVersions")); }
197 : private:
198 : SupportedVersions(); // not defined
199 : ~SupportedVersions(); // not defined
200 : };
201 :
202 : private:
203 : Migration(); // not defined
204 : ~Migration(); // not defined
205 : };
206 :
207 : } }
208 :
209 : #endif
|