1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!--***********************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2008 by Sun Microsystems, Inc.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * $RCSfile: WebWizard.xcs,v $
13 * This file is part of OpenOffice.org.
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org. If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
30 ************************************************************************ -->
31 <!DOCTYPE oor:component-schema SYSTEM
"../../../../component-schema.dtd">
32 <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">
34 <author>rpiterman
</author>
35 <desc >Contains the configuration schema for the web wizard
</desc>
38 <group oor:
name=
"WWizLayout">
40 <desc>Information on a web-wizard layout
</desc>
42 <prop oor:
name=
"Index" oor:
type=
"xs:int">
44 <desc>the index of the layout (start at
0, must be exporter-unique)
</desc>
47 <prop oor:
localized=
"true" oor:
name=
"Name" oor:
type=
"xs:string">
49 <desc>The UI name of the layout
</desc>
52 <prop oor:
name=
"FSName" oor:
type=
"xs:string">
54 <desc>the directory name of the layout.
</desc>
58 <group oor:
name=
"WWizExporter">
60 <desc>Information on a web wizard exporter
</desc>
62 <prop oor:
localized=
"true" oor:
name=
"Name" oor:
type=
"xs:string">
64 <desc>the UI name of the exporter
</desc>
67 <prop oor:
name=
"Index" oor:
type=
"xs:int">
69 <desc>a general index of the exporter, starts with
0, must be exporter-unique
</desc>
72 <prop oor:
name=
"ExporterClass" oor:
type=
"xs:string">
74 <desc>A full quilified class name of the exporter class
</desc>
77 <prop oor:
name=
"OwnDirectory" oor:
type=
"xs:boolean">
79 <desc>does this exporter needs an own directory to export to.
</desc>
82 <prop oor:
name=
"SupportsFilename" oor:
type=
"xs:boolean">
84 <desc>does this exporter support a given filename, or export to a self-generated filename
</desc>
87 <prop oor:
name=
"DefaultFilename" oor:
type=
"xs:string">
89 <desc>if does not support filename, what name does it use?
</desc>
92 <prop oor:
name=
"Extension" oor:
type=
"xs:string">
94 <desc>the extension that should be used, if the expoter supports filename
</desc>
97 <prop oor:
name=
"SupportedMimeTypes" oor:
type=
"xs:string">
99 <desc>one of : writer/calc/impress/draw/graphics/other/(empty for all)
</desc>
102 <prop oor:
name=
"Icon" oor:
type=
"xs:string">
104 <desc>the icon to use as preview
</desc>
107 <prop oor:
name=
"TargetType" oor:
type=
"xs:string">
109 <desc>A type name out of TypeDetection (like graphic_HTML)
</desc>
112 <prop oor:
name=
"PageType" oor:
type=
"xs:int">
114 <desc>Page type of the target document;
0 = no page,
1 = pages,
2 = slides
</desc>
117 <prop oor:
name=
"Binary" oor:
type=
"xs:boolean">
119 <desc>if the target format is binary (like pdf) - html is NOT binary.
</desc>
122 <set oor:
name=
"Arguments" oor:
node-type=
"WWizArgument">
124 <desc>additional arguments given to the exporter class by initialisation
</desc>
128 <group oor:
name=
"WWizArgument">
130 <desc>An argument used by exporters and other configuration groups/sets
</desc>
132 <prop oor:
name=
"Value" oor:
type=
"xs:string">
134 <desc>the value of the argument
</desc>
138 <group oor:
name=
"WWizStyle">
140 <desc>Specifies style information (css)
143 <prop oor:
name=
"Index" oor:
type=
"xs:int">
145 <desc>the index of the style (used by the ui) - starts with
0, must by - style-unique
</desc>
148 <prop oor:
localized=
"true" oor:
name=
"Name" oor:
type=
"xs:string">
150 <desc>UI name of the style
</desc>
153 <prop oor:
name=
"CssHref" oor:
type=
"xs:string">
155 <desc>the name of the css file
</desc>
158 <prop oor:
name=
"BackgroundImage" oor:
type=
"xs:string">
160 <desc>default background image. not implemented.
</desc>
163 <prop oor:
name=
"IconSet" oor:
type=
"xs:string">
165 <desc>default iconset. not implemented
</desc>
169 <group oor:
name=
"WWizImage">
171 <desc>locates images for the background images of the webwizard
</desc>
173 <prop oor:
name=
"Href" oor:
type=
"xs:string">
175 <desc>either a directory or a full qualified filename. Office-path variables can be used.
</desc>
179 <group oor:
name=
"WWizIconSet">
181 <desc>describes an icon set, used in export of draw and impress documents.
</desc>
183 <prop oor:
name=
"Index" oor:
type=
"xs:int">
185 <desc>index of the icon set
</desc>
188 <prop oor:
localized=
"true" oor:
name=
"Name" oor:
type=
"xs:string">
190 <desc>UI name of the icon set
</desc>
193 <prop oor:
name=
"FNPrefix" oor:
type=
"xs:string">
195 <desc>prefix of the filename. see impress/draw html export
</desc>
198 <prop oor:
name=
"FNPostfix" oor:
type=
"xs:string">
200 <desc>postfix of the filename. see impress/draw html export
</desc>
204 <group oor:
name=
"WWizDocument">
206 <desc>describes a document to be exported
</desc>
208 <prop oor:
name=
"Index" oor:
type=
"xs:int">
210 <desc>the index of the document in the
"content"</desc>
213 <prop oor:
name=
"Title" oor:
type=
"xs:string">
215 <desc>Title of the document
</desc>
218 <prop oor:
name=
"Description" oor:
type=
"xs:string">
220 <desc>description of the document
</desc>
223 <prop oor:
name=
"URL" oor:
type=
"xs:string">
225 <desc>a full url of the document
</desc>
228 <prop oor:
name=
"Author" oor:
type=
"xs:string">
230 <desc>the author of the document
</desc>
233 <prop oor:
name=
"Exporter" oor:
type=
"xs:string">
235 <desc>the name of the exporter used for this document
</desc>
238 <prop oor:
name=
"ApplyWebStyle" oor:
type=
"xs:boolean">
240 <desc>not implemented
</desc>
244 <group oor:
name=
"WWizContent">
246 <desc>describes a web-wizard content, which contains
247 recursivley documents and other contents.
248 At the moment, contents contain only documents. Implementation of
249 sub-contents is a future issue
252 <prop oor:
name=
"Index" oor:
type=
"xs:int">
254 <desc>the index of the content in its parent content.
</desc>
257 <prop oor:
name=
"Name" oor:
type=
"xs:string">
259 <desc>The content's name
</desc>
262 <prop oor:
name=
"Description" oor:
type=
"xs:string">
264 <desc>The contents description
</desc>
267 <set oor:
name=
"Contents" oor:
node-type=
"WWizContent">
269 <desc>sub contents of this content. not implemented.
</desc>
272 <set oor:
name=
"Documents" oor:
node-type=
"WWizDocument">
274 <desc>documents contained in this content
</desc>
278 <group oor:
name=
"WWizSession">
280 <desc>A web wizard session. contains all the user's input.
</desc>
282 <prop oor:
name=
"Index" oor:
type=
"xs:int">
284 <desc>the index of the session in the list of saved session.
</desc>
287 <prop oor:
name=
"Name" oor:
type=
"xs:string">
289 <desc>a user given name of the session
</desc>
292 <prop oor:
name=
"InDirectory" oor:
type=
"xs:string">
294 <desc>the last used directory from which the user added documents
299 <prop oor:
name=
"OutDirectory" oor:
type=
"xs:string">
301 <desc>The last directory the user used as output.
</desc>
304 <node-ref oor:
name=
"Content" oor:
node-type=
"WWizContent">
306 <desc>the content (documents) of the session
</desc>
309 <group oor:
name=
"Design">
311 <desc>design specifications of the session.
</desc>
313 <prop oor:
name=
"Layout" oor:
type=
"xs:string">
315 <desc>layout name chosen by the user
</desc>
318 <prop oor:
name=
"Style" oor:
type=
"xs:string">
320 <desc>Style name chosen by the user.
</desc>
323 <prop oor:
name=
"BackgroundImage" oor:
type=
"xs:string">
325 <desc>background image chosen by the user.
</desc>
328 <prop oor:
name=
"IconSet" oor:
type=
"xs:string">
330 <desc>Icon set chosen by the user.
</desc>
333 <prop oor:
name=
"OptimizeDisplaySize" oor:
type=
"xs:int">
335 <desc>0 =
640x...,
1 =
800x...,
2 =
1024x...
</desc>
338 <prop oor:
name=
"DisplayTitle" oor:
type=
"xs:boolean">
343 <prop oor:
name=
"DisplayDescription" oor:
type=
"xs:boolean">
345 <desc>should the desctiprion of each document be listed in the TOC
</desc>
348 <prop oor:
name=
"DisplayAuthor" oor:
type=
"xs:boolean">
350 <desc>should the author of each document be listed in the TOC
</desc>
353 <prop oor:
name=
"DisplayCreateDate" oor:
type=
"xs:boolean">
355 <desc>should the creation date of each document be listed in the TOC
</desc>
358 <prop oor:
name=
"DisplayUpdateDate" oor:
type=
"xs:boolean">
360 <desc>should the
"last changed date" of each document be listed in the TOC
</desc>
363 <prop oor:
name=
"DisplayFilename" oor:
type=
"xs:boolean">
365 <desc>should the filename of each document be listed in the TOC
</desc>
368 <prop oor:
name=
"DisplayFileFormat" oor:
type=
"xs:boolean">
370 <desc>should the file format of each document be listed in the TOC
</desc>
373 <prop oor:
name=
"DisplayFormatIcon" oor:
type=
"xs:boolean">
375 <desc>should the file format icon of each document be listed in the TOC
</desc>
378 <prop oor:
name=
"DisplayPages" oor:
type=
"xs:boolean">
380 <desc>should the number of pages/slides of each document be listed in the TOC
</desc>
383 <prop oor:
name=
"DisplaySize" oor:
type=
"xs:boolean">
385 <desc>should the size of binary files be listed in the TOC
</desc>
389 <group oor:
name=
"GeneralInfo">
391 <desc>the general web site information of the session
</desc>
393 <prop oor:
name=
"Title" oor:
type=
"xs:string">
395 <desc>web site title
</desc>
398 <prop oor:
name=
"Description" oor:
type=
"xs:string">
400 <desc>web site description
</desc>
403 <prop oor:
name=
"Icon" oor:
type=
"xs:string">
405 <desc>web site favIcon (local URL)
</desc>
408 <prop oor:
name=
"Author" oor:
type=
"xs:string">
410 <desc>Web Site author
</desc>
413 <prop oor:
name=
"Keywords" oor:
type=
"xs:string">
415 <desc>web site keywords
</desc>
418 <prop oor:
name=
"CreationDate" oor:
type=
"xs:int">
420 <desc>web site creation date
</desc>
423 <prop oor:
name=
"UpdateDate" oor:
type=
"xs:int">
425 <desc>web site last update date
</desc>
428 <prop oor:
name=
"RevisitAfter" oor:
type=
"xs:int">
430 <desc>web site rvisit after meta info
</desc>
433 <prop oor:
name=
"Email" oor:
type=
"xs:string">
435 <desc>email for contact in web site
</desc>
438 <prop oor:
name=
"Copyright" oor:
type=
"xs:string">
440 <desc>copyright notice of web site
</desc>
444 <set oor:
name=
"Publishing" oor:
node-type=
"WWizPublish">
446 <desc>publishing information of the web site.
447 always contains always
3 members with the names local, ftp and zip.
452 <group oor:
name=
"WWizPublish">
454 <desc>specifies information of a single target to publish to
</desc>
456 <prop oor:
name=
"Publish" oor:
type=
"xs:boolean">
458 <desc>should this target be used?
</desc>
461 <prop oor:
name=
"URL" oor:
type=
"xs:string">
463 <desc>full url to publish to
</desc>
466 <prop oor:
name=
"Username" oor:
type=
"xs:string">
468 <desc>used by ftp targets
</desc>
472 <group oor:
name=
"WWizFilter">
474 <desc>specifies information of a filter for the add dialog
</desc>
476 <prop oor:
name=
"Index" oor:
type=
"xs:int">
478 <desc>the index of the filter
</desc>
481 <prop oor:
localized=
"true" oor:
name=
"Name" oor:
type=
"xs:string">
483 <desc>UI Name of the filter
</desc>
486 <prop oor:
name=
"Filter" oor:
type=
"xs:string">
488 <desc>Semicolon seperated list of file types this filter will show
</desc>
494 <group oor:
name=
"WebWizard">
496 <desc>the web wizard configuration
</desc>
498 <prop oor:
name=
"WorkDir" oor:
type=
"xs:string">
500 <desc>the sub dir under temnplate/(langauge)/ of the web wizard files
</desc>
503 <prop oor:
name=
"LastSavedSession" oor:
type=
"xs:string">
505 <desc>The name of the last saved session. empty if last session was not saved.
</desc>
508 <set oor:
name=
"Exporters" oor:
node-type=
"WWizExporter">
510 <desc>the set of available exporters
</desc>
513 <set oor:
name=
"Layouts" oor:
node-type=
"WWizLayout">
515 <desc>the set of available layouts
</desc>
518 <set oor:
name=
"Styles" oor:
node-type=
"WWizStyle">
520 <desc>the set of available styles
</desc>
523 <set oor:
name=
"BackgroundImages" oor:
node-type=
"WWizImage">
525 <desc>the set of available background images
</desc>
528 <set oor:
name=
"IconSets" oor:
node-type=
"WWizIconSet">
530 <desc>the set of available icon sets (at the moment, hard programmed
4)
</desc>
533 <set oor:
name=
"SavedSessions" oor:
node-type=
"WWizSession">
535 <desc>the set of saved sessions.
</desc>
538 <set oor:
name=
"Filters" oor:
node-type=
"WWizFilter">
540 <desc>the set filters in the
"add" dialog.
</desc>
543 <node-ref oor:
name=
"DefaultSession" oor:
node-type=
"WWizSession">
545 <desc>the default settings are loaded from this session.
</desc>
550 </oor:component-schema>