Difference between revisions of "Configuration schema path settings"
(→Old schema) |
(→Old schema) |
||
Line 50: | Line 50: | ||
<group oor:name="Path"> | <group oor:name="Path"> | ||
<group oor:name="Current"> | <group oor:name="Current"> | ||
+ | <prop oor:name="OfficeInstall" oor:type="xs:string"> <value/> </prop> | ||
+ | <prop oor:name="OfficeInstallURL" oor:type="xs:string"> <value/> </prop> | ||
+ | <prop oor:name="Addin" oor:type="xs:string"> | ||
+ | <value>$(progpath)/addin</value> | ||
+ | </prop> | ||
+ | <prop oor:name="AutoCorrect" oor:type="oor:string-list"> | ||
+ | <value oor:separator=":">$(insturl)/share/autocorr:$(userurl)/autocorr</value> | ||
+ | </prop> | ||
+ | <prop oor:name="AutoText" oor:type="oor:string-list"> | ||
+ | <value oor:separator=":">$(insturl)/share/autotext/$(vlang):$(userurl)/autotext</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Backup" oor:type="xs:string"> | ||
+ | <value>$(userurl)/backup</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Basic" oor:type="oor:string-list"> | ||
+ | <value oor:separator=":">$(insturl)/share/basic:$(userurl)/basic</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Bitmap" oor:type="xs:string"> | ||
+ | <value>$(insturl)/share/config/symbol</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Config" oor:type="xs:string"> | ||
+ | <value>$(insturl)/share/config</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Dictionary" oor:type="xs:string"> | ||
+ | <value>$(insturl)/share/wordbook/$(vlang)</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Favorite" oor:type="xs:string"> | ||
+ | <value>$(userurl)/config/folders</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Filter" oor:type="xs:string"> | ||
+ | <value>$(progpath)/filter</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Gallery" oor:type="oor:string-list"> | ||
+ | <value oor:separator=":">$(insturl)/share/gallery:$(userurl)/gallery</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Graphic" oor:type="xs:string"> | ||
+ | <value>$(insturl)/user/gallery</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Help" oor:type="xs:string"> | ||
+ | <value>$(instpath)/help</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Linguistic" oor:type="xs:string"> | ||
+ | <value>$(insturl)/share/dict</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Module" oor:type="xs:string"> | ||
+ | <value>$(progpath)</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Palette" oor:type="xs:string"> | ||
+ | <value>$(userurl)/config</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Plugin" oor:type="oor:string-list"> | ||
+ | <value oor:separator=":">$(progpath)/plugin</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Storage" oor:type="xs:string"> | ||
+ | <value>$(userpath)/store</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Temp" oor:type="xs:string"> | ||
+ | <value>$(temp)</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Template" oor:type="oor:string-list"> | ||
+ | <value oor:separator=":">$(insturl)/share/template/$(vlang):$(userurl)/template</value> | ||
+ | </prop> | ||
+ | <prop oor:name="UIConfig" oor:type="oor:string-list"> | ||
+ | <value oor:separator=":">$(insturl)/share/config</value> | ||
+ | </prop> | ||
+ | <prop oor:name="UserConfig" oor:type="xs:string"> | ||
+ | <value>$(userurl)/config</value> | ||
+ | </prop> | ||
+ | <prop oor:name="UserDictionary" oor:type="xs:string"> | ||
+ | <value>$(userurl)/wordbook</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Work" oor:type="xs:string"> | ||
+ | <value>$(work)</value> | ||
+ | </prop> | ||
+ | </group> | ||
− | + | <group oor:name="Default"> | |
− | + | <info> | |
− | + | <desc>Contains the default values of all the paths, which can be modified according to the user's needs. They are used when pressing the Standard-button in the Options dialog.</desc> | |
+ | </info> | ||
+ | <prop oor:name="Addin" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory that contains spreadsheet add-ins which use the old add-in API.</desc> | ||
+ | </info> | ||
+ | <value>$(progpath)/addin</value> | ||
+ | </prop> | ||
+ | <prop oor:name="AutoCorrect" oor:type="oor:string-list"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory for the settings of the AutoCorrect dialog.</desc> | ||
+ | </info> | ||
+ | <value oor:separator=":">$(insturl)/share/autocorr:$(userurl)/autocorr</value> | ||
+ | </prop> | ||
+ | <prop oor:name="AutoText" oor:type="oor:string-list"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory where the AutoText modules are located.</desc> | ||
+ | </info> | ||
+ | <value oor:separator=":">$(insturl)/share/autotext/$(vlang):$(userurl)/autotext</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Backup" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory for the automatic backup copies of documents.</desc> | ||
+ | </info> | ||
+ | <value>$(userurl)/backup</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Basic" oor:type="oor:string-list"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory where the Basic files, used by the AutoPilots, are located.</desc> | ||
+ | </info> | ||
+ | <value oor:separator=":">$(insturl)/share/basic:$(userurl)/basic</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Bitmap" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory where the bitmap files, which can be used for the menu and toolbar icons, are located.</desc> | ||
+ | </info> | ||
+ | <value>$(insturl)/share/config/symbol</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Config" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory where the configuration files are stored.</desc> | ||
+ | </info> | ||
+ | <value>$(insturl)/share/config</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Dictionary" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory where the provided dictionaries are located.</desc> | ||
+ | </info> | ||
+ | <value>$(insturl)/share/wordbook/$(vlang)</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Favorite" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory where folder bookmarks are stored.</desc> | ||
+ | </info> | ||
+ | <value>$(userurl)/config/folders</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Filter" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory where all the filters are stored.</desc> | ||
+ | </info> | ||
+ | <value>$(progpath)/filter</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Gallery" oor:type="oor:string-list"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory where the Gallery database and multimedia files are located.</desc> | ||
+ | </info> | ||
+ | <value oor:separator=":">$(insturl)/share/gallery:$(userurl)/gallery</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Graphic" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory used by the dialog for opening a graphic or for saving a new graphic.</desc> | ||
+ | </info> | ||
+ | <value>$(insturl)/user/gallery</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Help" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory where Office help files are located.</desc> | ||
+ | </info> | ||
+ | <value>$(instpath)/help</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Linguistic" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory where the files that are necessary for the spellcheck are saved.</desc> | ||
+ | </info> | ||
+ | <value>$(insturl)/share/dict</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Module" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory which contains the Office modules.</desc> | ||
+ | </info> | ||
+ | <value>$(progpath)</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Palette" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory for the palette files *.SOB to *.SOF containing user-defined colors and patterns.</desc> | ||
+ | </info> | ||
+ | <value>$(userurl)/config</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Plugin" oor:type="oor:string-list"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory where the Office plugins are located.</desc> | ||
+ | </info> | ||
+ | <value oor:separator=":">$(progpath)/plugin</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Temp" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory that is used as a base directory for all temporary Office files.</desc> | ||
+ | </info> | ||
+ | <value>$(temp)</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Template" oor:type="oor:string-list"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory where all provided templates are located in folders and sub-folders.</desc> | ||
+ | </info> | ||
+ | <value oor:separator=":">$(insturl)/share/template/$(vlang):$(userurl)/template</value> | ||
+ | </prop> | ||
+ | <prop oor:name="UIConfig" oor:type="oor:string-list"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directories for the global user interface configuration. The final user interface configuration is merged from UserConfig and from these folders.</desc> | ||
+ | </info> | ||
+ | <value oor:separator=":"/> | ||
+ | </prop> | ||
+ | <prop oor:name="UserConfig" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory which stores the user settings.</desc> | ||
+ | </info> | ||
+ | <value>$(userurl)/config</value> | ||
+ | </prop> | ||
+ | <prop oor:name="UserDictionary" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default directory which stores the custom dictionaries.</desc> | ||
+ | </info> | ||
+ | <value>$(userurl)/wordbook</value> | ||
+ | </prop> | ||
+ | <prop oor:name="Work" oor:type="xs:string"> | ||
+ | <info> | ||
+ | <desc>Specifies the default working directory where user stores documents.</desc> | ||
+ | </info> | ||
+ | <value>$(work)</value> | ||
+ | </prop> | ||
+ | </group> | ||
+ | </group> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
</templates> | </templates> |
Revision as of 13:47, 10 October 2006
New schema
[xml]
<?xml version='1.0' encoding='UTF-8'?>
<oor:component-schema oor:name="Paths" 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">
<templates>
<group oor:name="MultiPath"> <prop oor:name="Unused" oor:type="xs:string" /> </group>
<group oor:name="NamedPath"> <set oor:name="InternalPaths" oor:node-type="MultiPath" /> <prop oor:name="UserPaths" oor:type="oor:string-list" /> <prop oor:name="WritePath" oor:type="xs:string" /> </group>
</templates>
<component> <set oor:name="Paths" oor:node-type="NamedPath" /> </component>
</oor:component-schema>
Old schema
[xml]
<?xml version='1.0' encoding='UTF-8'?>
<oor:component-schema
oor:name="Common" 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">
<templates>
<group oor:name="Path"> <group oor:name="Current"> <prop oor:name="OfficeInstall" oor:type="xs:string"> <value/> </prop> <prop oor:name="OfficeInstallURL" oor:type="xs:string"> <value/> </prop> <prop oor:name="Addin" oor:type="xs:string"> <value>$(progpath)/addin</value> </prop> <prop oor:name="AutoCorrect" oor:type="oor:string-list"> <value oor:separator=":">$(insturl)/share/autocorr:$(userurl)/autocorr</value> </prop> <prop oor:name="AutoText" oor:type="oor:string-list"> <value oor:separator=":">$(insturl)/share/autotext/$(vlang):$(userurl)/autotext</value> </prop> <prop oor:name="Backup" oor:type="xs:string"> <value>$(userurl)/backup</value> </prop> <prop oor:name="Basic" oor:type="oor:string-list"> <value oor:separator=":">$(insturl)/share/basic:$(userurl)/basic</value> </prop> <prop oor:name="Bitmap" oor:type="xs:string"> <value>$(insturl)/share/config/symbol</value> </prop> <prop oor:name="Config" oor:type="xs:string"> <value>$(insturl)/share/config</value> </prop> <prop oor:name="Dictionary" oor:type="xs:string"> <value>$(insturl)/share/wordbook/$(vlang)</value> </prop> <prop oor:name="Favorite" oor:type="xs:string"> <value>$(userurl)/config/folders</value> </prop> <prop oor:name="Filter" oor:type="xs:string"> <value>$(progpath)/filter</value> </prop> <prop oor:name="Gallery" oor:type="oor:string-list"> <value oor:separator=":">$(insturl)/share/gallery:$(userurl)/gallery</value> </prop> <prop oor:name="Graphic" oor:type="xs:string"> <value>$(insturl)/user/gallery</value> </prop> <prop oor:name="Help" oor:type="xs:string"> <value>$(instpath)/help</value> </prop> <prop oor:name="Linguistic" oor:type="xs:string"> <value>$(insturl)/share/dict</value> </prop> <prop oor:name="Module" oor:type="xs:string"> <value>$(progpath)</value> </prop> <prop oor:name="Palette" oor:type="xs:string"> <value>$(userurl)/config</value> </prop> <prop oor:name="Plugin" oor:type="oor:string-list"> <value oor:separator=":">$(progpath)/plugin</value> </prop> <prop oor:name="Storage" oor:type="xs:string"> <value>$(userpath)/store</value> </prop> <prop oor:name="Temp" oor:type="xs:string"> <value>$(temp)</value> </prop> <prop oor:name="Template" oor:type="oor:string-list"> <value oor:separator=":">$(insturl)/share/template/$(vlang):$(userurl)/template</value> </prop> <prop oor:name="UIConfig" oor:type="oor:string-list"> <value oor:separator=":">$(insturl)/share/config</value> </prop> <prop oor:name="UserConfig" oor:type="xs:string"> <value>$(userurl)/config</value> </prop> <prop oor:name="UserDictionary" oor:type="xs:string"> <value>$(userurl)/wordbook</value> </prop> <prop oor:name="Work" oor:type="xs:string"> <value>$(work)</value> </prop> </group>
<group oor:name="Default"> <info> <desc>Contains the default values of all the paths, which can be modified according to the user's needs. They are used when pressing the Standard-button in the Options dialog.</desc> </info> <prop oor:name="Addin" oor:type="xs:string"> <info> <desc>Specifies the default directory that contains spreadsheet add-ins which use the old add-in API.</desc> </info> <value>$(progpath)/addin</value> </prop> <prop oor:name="AutoCorrect" oor:type="oor:string-list"> <info> <desc>Specifies the default directory for the settings of the AutoCorrect dialog.</desc> </info> <value oor:separator=":">$(insturl)/share/autocorr:$(userurl)/autocorr</value> </prop> <prop oor:name="AutoText" oor:type="oor:string-list"> <info> <desc>Specifies the default directory where the AutoText modules are located.</desc> </info> <value oor:separator=":">$(insturl)/share/autotext/$(vlang):$(userurl)/autotext</value> </prop> <prop oor:name="Backup" oor:type="xs:string"> <info> <desc>Specifies the default directory for the automatic backup copies of documents.</desc> </info> <value>$(userurl)/backup</value> </prop> <prop oor:name="Basic" oor:type="oor:string-list"> <info> <desc>Specifies the default directory where the Basic files, used by the AutoPilots, are located.</desc> </info> <value oor:separator=":">$(insturl)/share/basic:$(userurl)/basic</value> </prop> <prop oor:name="Bitmap" oor:type="xs:string"> <info> <desc>Specifies the default directory where the bitmap files, which can be used for the menu and toolbar icons, are located.</desc> </info> <value>$(insturl)/share/config/symbol</value> </prop> <prop oor:name="Config" oor:type="xs:string"> <info> <desc>Specifies the default directory where the configuration files are stored.</desc> </info> <value>$(insturl)/share/config</value> </prop> <prop oor:name="Dictionary" oor:type="xs:string"> <info> <desc>Specifies the default directory where the provided dictionaries are located.</desc> </info> <value>$(insturl)/share/wordbook/$(vlang)</value> </prop> <prop oor:name="Favorite" oor:type="xs:string"> <info> <desc>Specifies the default directory where folder bookmarks are stored.</desc> </info> <value>$(userurl)/config/folders</value> </prop> <prop oor:name="Filter" oor:type="xs:string"> <info> <desc>Specifies the default directory where all the filters are stored.</desc> </info> <value>$(progpath)/filter</value> </prop> <prop oor:name="Gallery" oor:type="oor:string-list"> <info> <desc>Specifies the default directory where the Gallery database and multimedia files are located.</desc> </info> <value oor:separator=":">$(insturl)/share/gallery:$(userurl)/gallery</value> </prop> <prop oor:name="Graphic" oor:type="xs:string"> <info> <desc>Specifies the default directory used by the dialog for opening a graphic or for saving a new graphic.</desc> </info> <value>$(insturl)/user/gallery</value> </prop> <prop oor:name="Help" oor:type="xs:string"> <info> <desc>Specifies the default directory where Office help files are located.</desc> </info> <value>$(instpath)/help</value> </prop> <prop oor:name="Linguistic" oor:type="xs:string"> <info> <desc>Specifies the default directory where the files that are necessary for the spellcheck are saved.</desc> </info> <value>$(insturl)/share/dict</value> </prop> <prop oor:name="Module" oor:type="xs:string"> <info> <desc>Specifies the default directory which contains the Office modules.</desc> </info> <value>$(progpath)</value> </prop> <prop oor:name="Palette" oor:type="xs:string"> <info> <desc>Specifies the default directory for the palette files *.SOB to *.SOF containing user-defined colors and patterns.</desc> </info> <value>$(userurl)/config</value> </prop> <prop oor:name="Plugin" oor:type="oor:string-list"> <info> <desc>Specifies the default directory where the Office plugins are located.</desc> </info> <value oor:separator=":">$(progpath)/plugin</value> </prop> <prop oor:name="Temp" oor:type="xs:string"> <info> <desc>Specifies the default directory that is used as a base directory for all temporary Office files.</desc> </info> <value>$(temp)</value> </prop> <prop oor:name="Template" oor:type="oor:string-list"> <info> <desc>Specifies the default directory where all provided templates are located in folders and sub-folders.</desc> </info> <value oor:separator=":">$(insturl)/share/template/$(vlang):$(userurl)/template</value> </prop> <prop oor:name="UIConfig" oor:type="oor:string-list"> <info> <desc>Specifies the default directories for the global user interface configuration. The final user interface configuration is merged from UserConfig and from these folders.</desc> </info> <value oor:separator=":"/> </prop> <prop oor:name="UserConfig" oor:type="xs:string"> <info> <desc>Specifies the default directory which stores the user settings.</desc> </info> <value>$(userurl)/config</value> </prop> <prop oor:name="UserDictionary" oor:type="xs:string"> <info> <desc>Specifies the default directory which stores the custom dictionaries.</desc> </info> <value>$(userurl)/wordbook</value> </prop> <prop oor:name="Work" oor:type="xs:string"> <info> <desc>Specifies the default working directory where user stores documents.</desc> </info> <value>$(work)</value> </prop> </group> </group>
</templates>
<component> <set oor:name="Paths" oor:node-type="NamedPath" /> </component>
</oor:component-schema>