xref: /AOO42X/main/officecfg/registry/schema/org/openoffice/Office/WebWizard.xcs (revision b5ffe9b538c2ae169395e094ada5be59c5565375)
1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************************
3 *
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 *
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 *
8 * OpenOffice.org - a multi-platform office productivity suite
9 *
10 * This file is part of OpenOffice.org.
11 *
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
15 *
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
21 *
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org.  If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
26 *
27 ************************************************************************ -->
28<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
29<oor:component-schema oor:name="WebWizard" oor:package="org.openoffice.Office" xml:lang="en-US" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
30    <info>
31        <author>rpiterman</author>
32        <desc >Contains the configuration schema for the web wizard</desc>
33    </info>
34    <templates>
35        <group oor:name="WWizLayout">
36            <info>
37                <desc>Information on a web-wizard layout</desc>
38            </info>
39            <prop oor:name="Index" oor:type="xs:int">
40                <info>
41                    <desc>the index of the layout (start at 0, must be exporter-unique)</desc>
42                </info>
43            </prop>
44            <prop oor:localized="true" oor:name="Name" oor:type="xs:string">
45                <info>
46                    <desc>The UI name of the layout</desc>
47                </info>
48            </prop>
49            <prop oor:name="FSName" oor:type="xs:string">
50                <info>
51                    <desc>the directory name of the layout.</desc>
52                </info>
53            </prop>
54        </group>
55        <group oor:name="WWizExporter">
56            <info>
57                <desc>Information on a web wizard exporter</desc>
58            </info>
59            <prop oor:localized="true" oor:name="Name" oor:type="xs:string">
60                <info>
61                    <desc>the UI name of the exporter</desc>
62                </info>
63            </prop>
64            <prop oor:name="Index" oor:type="xs:int">
65                <info>
66                    <desc>a general index of the exporter, starts with 0, must be exporter-unique</desc>
67                </info>
68            </prop>
69            <prop oor:name="ExporterClass" oor:type="xs:string">
70                <info>
71                    <desc>A full quilified class name of the exporter class</desc>
72                </info>
73            </prop>
74            <prop oor:name="OwnDirectory" oor:type="xs:boolean">
75                <info>
76                    <desc>does this exporter needs an own directory to export to.</desc>
77                </info>
78            </prop>
79            <prop oor:name="SupportsFilename" oor:type="xs:boolean">
80                <info>
81                    <desc>does this exporter support a given filename, or export to a self-generated filename</desc>
82                </info>
83            </prop>
84            <prop oor:name="DefaultFilename" oor:type="xs:string">
85                <info>
86                    <desc>if does not support filename, what name does it use?</desc>
87                </info>
88            </prop>
89            <prop oor:name="Extension" oor:type="xs:string">
90                <info>
91                    <desc>the extension that should be used, if the expoter supports filename</desc>
92                </info>
93            </prop>
94            <prop oor:name="SupportedMimeTypes" oor:type="xs:string">
95                <info>
96                    <desc>one of : writer/calc/impress/draw/graphics/other/(empty for all)</desc>
97                </info>
98            </prop>
99            <prop oor:name="Icon" oor:type="xs:string">
100                <info>
101                    <desc>the icon to use as preview</desc>
102                </info>
103            </prop>
104            <prop oor:name="TargetType" oor:type="xs:string">
105                <info>
106                    <desc>A type name out of TypeDetection (like graphic_HTML)</desc>
107                </info>
108            </prop>
109            <prop oor:name="PageType" oor:type="xs:int">
110                <info>
111                    <desc>Page type of the target document; 0 = no page, 1 = pages, 2 = slides</desc>
112                </info>
113            </prop>
114            <prop oor:name="Binary" oor:type="xs:boolean">
115                <info>
116                    <desc>if the target format is binary (like pdf) - html is NOT binary.</desc>
117                </info>
118            </prop>
119            <set oor:name="Arguments" oor:node-type="WWizArgument">
120                <info>
121                    <desc>additional arguments given to the exporter class by initialisation</desc>
122                </info>
123            </set>
124        </group>
125        <group oor:name="WWizArgument">
126            <info>
127                <desc>An argument used by exporters and other configuration groups/sets</desc>
128            </info>
129            <prop oor:name="Value" oor:type="xs:string">
130                <info>
131                    <desc>the value of the argument</desc>
132                </info>
133            </prop>
134        </group>
135        <group oor:name="WWizStyle">
136            <info>
137                <desc>Specifies style information (css)
138            </desc>
139            </info>
140            <prop oor:name="Index" oor:type="xs:int">
141                <info>
142                    <desc>the index of the style (used by the ui) - starts with 0, must by - style-unique</desc>
143                </info>
144            </prop>
145            <prop oor:localized="true" oor:name="Name" oor:type="xs:string">
146                <info>
147                    <desc>UI name of the style</desc>
148                </info>
149            </prop>
150            <prop oor:name="CssHref" oor:type="xs:string">
151                <info>
152                    <desc>the name of the css file</desc>
153                </info>
154            </prop>
155            <prop oor:name="BackgroundImage" oor:type="xs:string">
156                <info>
157                    <desc>default background image. not implemented.</desc>
158                </info>
159            </prop>
160            <prop oor:name="IconSet" oor:type="xs:string">
161                <info>
162                    <desc>default iconset. not implemented</desc>
163                </info>
164            </prop>
165        </group>
166        <group oor:name="WWizImage">
167            <info>
168                <desc>locates images for the background images of the webwizard</desc>
169            </info>
170            <prop oor:name="Href" oor:type="xs:string">
171                <info>
172                    <desc>either a directory or a full qualified filename. Office-path variables can be used.</desc>
173                </info>
174            </prop>
175        </group>
176        <group oor:name="WWizIconSet">
177            <info>
178                <desc>describes an icon set, used in export of draw and impress documents.</desc>
179            </info>
180            <prop oor:name="Index" oor:type="xs:int">
181                <info>
182                    <desc>index of the icon set</desc>
183                </info>
184            </prop>
185            <prop oor:localized="true" oor:name="Name" oor:type="xs:string">
186                <info>
187                    <desc>UI name of the icon set</desc>
188                </info>
189            </prop>
190            <prop oor:name="FNPrefix" oor:type="xs:string">
191                <info>
192                    <desc>prefix of the filename. see impress/draw html export</desc>
193                </info>
194            </prop>
195            <prop oor:name="FNPostfix" oor:type="xs:string">
196                <info>
197                    <desc>postfix of the filename. see impress/draw html export</desc>
198                </info>
199            </prop>
200        </group>
201        <group oor:name="WWizDocument">
202            <info>
203                <desc>describes a document to be exported</desc>
204            </info>
205            <prop oor:name="Index" oor:type="xs:int">
206                <info>
207                    <desc>the index of the document in the "content"</desc>
208                </info>
209            </prop>
210            <prop oor:name="Title" oor:type="xs:string">
211                <info>
212                    <desc>Title of the document</desc>
213                </info>
214            </prop>
215            <prop oor:name="Description" oor:type="xs:string">
216                <info>
217                    <desc>description of the document</desc>
218                </info>
219            </prop>
220            <prop oor:name="URL" oor:type="xs:string">
221                <info>
222                    <desc>a full url of the document</desc>
223                </info>
224            </prop>
225            <prop oor:name="Author" oor:type="xs:string">
226                <info>
227                    <desc>the author of the document</desc>
228                </info>
229            </prop>
230            <prop oor:name="Exporter" oor:type="xs:string">
231                <info>
232                    <desc>the name of the exporter used for this document</desc>
233                </info>
234            </prop>
235            <prop oor:name="ApplyWebStyle" oor:type="xs:boolean">
236                <info>
237                    <desc>not implemented</desc>
238                </info>
239            </prop>
240        </group>
241        <group oor:name="WWizContent">
242            <info>
243                <desc>describes a web-wizard content, which contains
244                recursivley documents and other contents.
245                At the moment, contents contain only documents. Implementation of
246                sub-contents is a future issue
247            </desc>
248            </info>
249            <prop oor:name="Index" oor:type="xs:int">
250                <info>
251                    <desc>the index of the content in its parent content.</desc>
252                </info>
253            </prop>
254            <prop oor:name="Name" oor:type="xs:string">
255                <info>
256                    <desc>The content's name</desc>
257                </info>
258            </prop>
259            <prop oor:name="Description" oor:type="xs:string">
260                <info>
261                    <desc>The contents description</desc>
262                </info>
263            </prop>
264            <set oor:name="Contents" oor:node-type="WWizContent">
265                <info>
266                    <desc>sub contents of this content. not implemented.</desc>
267                </info>
268            </set>
269            <set oor:name="Documents" oor:node-type="WWizDocument">
270                <info>
271                    <desc>documents contained in this content</desc>
272                </info>
273            </set>
274        </group>
275        <group oor:name="WWizSession">
276            <info>
277                <desc>A web wizard session. contains all the user's input.</desc>
278            </info>
279            <prop oor:name="Index" oor:type="xs:int">
280                <info>
281                    <desc>the index of the session in the list of saved session.</desc>
282                </info>
283            </prop>
284            <prop oor:name="Name" oor:type="xs:string">
285                <info>
286                    <desc>a user given name of the session</desc>
287                </info>
288            </prop>
289            <prop oor:name="InDirectory" oor:type="xs:string">
290                <info>
291                    <desc>the last used directory from which the user added documents
292                    to the wizard.
293                </desc>
294                </info>
295            </prop>
296            <prop oor:name="OutDirectory" oor:type="xs:string">
297                <info>
298                    <desc>The last directory the user used as output.</desc>
299                </info>
300            </prop>
301            <node-ref oor:name="Content" oor:node-type="WWizContent">
302                <info>
303                    <desc>the content (documents) of the session</desc>
304                </info>
305            </node-ref>
306            <group oor:name="Design">
307                <info>
308                    <desc>design specifications of the session.</desc>
309                </info>
310                <prop oor:name="Layout" oor:type="xs:string">
311                    <info>
312                        <desc>layout name chosen by the user</desc>
313                    </info>
314                </prop>
315                <prop oor:name="Style" oor:type="xs:string">
316                    <info>
317                        <desc>Style name chosen by the user.</desc>
318                    </info>
319                </prop>
320                <prop oor:name="BackgroundImage" oor:type="xs:string">
321                    <info>
322                        <desc>background image chosen by the user.</desc>
323                    </info>
324                </prop>
325                <prop oor:name="IconSet" oor:type="xs:string">
326                    <info>
327                        <desc>Icon set chosen by the user.</desc>
328                    </info>
329                </prop>
330                <prop oor:name="OptimizeDisplaySize" oor:type="xs:int">
331                    <info>
332                        <desc>0 = 640x..., 1 = 800x..., 2 = 1024x...</desc>
333                    </info>
334                </prop>
335                <prop oor:name="DisplayTitle" oor:type="xs:boolean">
336                    <info>
337                        <desc>ignored</desc>
338                    </info>
339                </prop>
340                <prop oor:name="DisplayDescription" oor:type="xs:boolean">
341                    <info>
342                        <desc>should the desctiprion of each document be listed in the TOC</desc>
343                    </info>
344                </prop>
345                <prop oor:name="DisplayAuthor" oor:type="xs:boolean">
346                    <info>
347                        <desc>should the author of each document be listed in the TOC</desc>
348                    </info>
349                </prop>
350                <prop oor:name="DisplayCreateDate" oor:type="xs:boolean">
351                    <info>
352                        <desc>should the creation date of each document be listed in the TOC</desc>
353                    </info>
354                </prop>
355                <prop oor:name="DisplayUpdateDate" oor:type="xs:boolean">
356                    <info>
357                        <desc>should the "last changed date" of each document be listed in the TOC</desc>
358                    </info>
359                </prop>
360                <prop oor:name="DisplayFilename" oor:type="xs:boolean">
361                    <info>
362                        <desc>should the filename of each document be listed in the TOC</desc>
363                    </info>
364                </prop>
365                <prop oor:name="DisplayFileFormat" oor:type="xs:boolean">
366                    <info>
367                        <desc>should the file format of each document be listed in the TOC</desc>
368                    </info>
369                </prop>
370                <prop oor:name="DisplayFormatIcon" oor:type="xs:boolean">
371                    <info>
372                        <desc>should the file format icon of each document be listed in the TOC</desc>
373                    </info>
374                </prop>
375                <prop oor:name="DisplayPages" oor:type="xs:boolean">
376                    <info>
377                        <desc>should the number of pages/slides of each document be listed in the TOC</desc>
378                    </info>
379                </prop>
380                <prop oor:name="DisplaySize" oor:type="xs:boolean">
381                    <info>
382                        <desc>should the size of binary files be listed in the TOC</desc>
383                    </info>
384                </prop>
385            </group>
386            <group oor:name="GeneralInfo">
387                <info>
388                    <desc>the general web site information of the session</desc>
389                </info>
390                <prop oor:name="Title" oor:type="xs:string">
391                    <info>
392                        <desc>web site title</desc>
393                    </info>
394                </prop>
395                <prop oor:name="Description" oor:type="xs:string">
396                    <info>
397                        <desc>web site description </desc>
398                    </info>
399                </prop>
400                <prop oor:name="Icon" oor:type="xs:string">
401                    <info>
402                        <desc>web site favIcon (local URL)</desc>
403                    </info>
404                </prop>
405                <prop oor:name="Author" oor:type="xs:string">
406                    <info>
407                        <desc>Web Site author</desc>
408                    </info>
409                </prop>
410                <prop oor:name="Keywords" oor:type="xs:string">
411                    <info>
412                        <desc>web site keywords</desc>
413                    </info>
414                </prop>
415                <prop oor:name="CreationDate" oor:type="xs:int">
416                    <info>
417                        <desc>web site creation date</desc>
418                    </info>
419                </prop>
420                <prop oor:name="UpdateDate" oor:type="xs:int">
421                    <info>
422                        <desc>web site last update date</desc>
423                    </info>
424                </prop>
425                <prop oor:name="RevisitAfter" oor:type="xs:int">
426                    <info>
427                        <desc>web site rvisit after meta info</desc>
428                    </info>
429                </prop>
430                <prop oor:name="Email" oor:type="xs:string">
431                    <info>
432                        <desc>email for contact in web site</desc>
433                    </info>
434                </prop>
435                <prop oor:name="Copyright" oor:type="xs:string">
436                    <info>
437                        <desc>copyright notice of web site</desc>
438                    </info>
439                </prop>
440            </group>
441            <set oor:name="Publishing" oor:node-type="WWizPublish">
442                <info>
443                    <desc>publishing information of the web site.
444                    always contains always 3 members with the names local, ftp and zip.
445                    </desc>
446                </info>
447            </set>
448        </group>
449        <group oor:name="WWizPublish">
450            <info>
451                <desc>specifies information of a single target to publish to</desc>
452            </info>
453            <prop oor:name="Publish" oor:type="xs:boolean">
454                <info>
455                    <desc>should this target be used?</desc>
456                </info>
457            </prop>
458            <prop oor:name="URL" oor:type="xs:string">
459                <info>
460                    <desc>full url to publish to</desc>
461                </info>
462            </prop>
463            <prop oor:name="Username" oor:type="xs:string">
464                <info>
465                    <desc>used by ftp targets</desc>
466                </info>
467            </prop>
468        </group>
469        <group oor:name="WWizFilter">
470            <info>
471                <desc>specifies information of a filter for the add dialog</desc>
472            </info>
473            <prop oor:name="Index" oor:type="xs:int">
474                <info>
475                    <desc>the index of the filter </desc>
476                </info>
477            </prop>
478            <prop oor:localized="true" oor:name="Name" oor:type="xs:string">
479                <info>
480                    <desc>UI Name of the filter</desc>
481                </info>
482            </prop>
483            <prop oor:name="Filter" oor:type="xs:string">
484                <info>
485                    <desc>Semicolon seperated list of file types this filter will show</desc>
486                </info>
487            </prop>
488        </group>
489    </templates>
490    <component>
491        <group oor:name="WebWizard">
492            <info>
493                <desc>the web wizard configuration</desc>
494            </info>
495            <prop oor:name="WorkDir" oor:type="xs:string">
496                <info>
497                    <desc>the sub dir under temnplate/(langauge)/ of the web wizard files</desc>
498                </info>
499            </prop>
500            <prop oor:name="LastSavedSession" oor:type="xs:string">
501                <info>
502                    <desc>The name of the last saved session. empty if last session was not saved.</desc>
503                </info>
504            </prop>
505            <set oor:name="Exporters" oor:node-type="WWizExporter">
506                <info>
507                    <desc>the set of available exporters</desc>
508                </info>
509            </set>
510            <set oor:name="Layouts" oor:node-type="WWizLayout">
511                <info>
512                    <desc>the set of available layouts</desc>
513                </info>
514            </set>
515            <set oor:name="Styles" oor:node-type="WWizStyle">
516                <info>
517                    <desc>the set of available styles</desc>
518                </info>
519            </set>
520            <set oor:name="BackgroundImages" oor:node-type="WWizImage">
521                <info>
522                    <desc>the set of available background images</desc>
523                </info>
524            </set>
525            <set oor:name="IconSets" oor:node-type="WWizIconSet">
526                <info>
527                    <desc>the set of available icon sets (at the moment, hard programmed 4)</desc>
528                </info>
529            </set>
530            <set oor:name="SavedSessions" oor:node-type="WWizSession">
531                <info>
532                    <desc>the set of saved sessions.</desc>
533                </info>
534            </set>
535            <set oor:name="Filters" oor:node-type="WWizFilter">
536                <info>
537                    <desc>the set filters in the "add" dialog.</desc>
538                </info>
539            </set>
540            <node-ref oor:name="DefaultSession" oor:node-type="WWizSession">
541                <info>
542                    <desc>the default settings are loaded from this session.</desc>
543                </info>
544            </node-ref>
545        </group>
546    </component>
547</oor:component-schema>
548