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