diff options
Diffstat (limited to 'swext/mediawiki/src/registry/data')
7 files changed, 367 insertions, 0 deletions
diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/Addons.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/Addons.xcu new file mode 100644 index 000000000..854c7b94c --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/Addons.xcu @@ -0,0 +1,58 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> +<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Addons" oor:package="org.openoffice.Office"> + <node oor:name="AddonUI"> + <node oor:name="OfficeMenuBarMerging"> + <node oor:name="com.sun.star.wiki" oor:op="replace"> + <node oor:name="S1" oor:op="replace"> + <prop oor:name="MergePoint"> + <value>.uno:PickList\.uno:SendToMenu\.uno:SendMailDocAsPDF</value> + </prop> + <prop oor:name="MergeCommand"> + <value>AddAfter</value> + </prop> + <prop oor:name="MergeFallback"> + <value>AddLast</value> + </prop> + <prop oor:name="MergeContext" oor:type="xs:string"> + <value>com.sun.star.text.TextDocument,com.sun.star.text.WebDocument</value> + </prop> + <node oor:name="MenuItems"> + <node oor:name="M1" oor:op="replace"> + <prop oor:name="URL"> + <value>private:separator</value> + </prop> + </node> + <node oor:name="M2" oor:op="replace"> + <prop oor:name="Title"> + <value xml:lang="en-US">To Media~Wiki...</value> + </prop> + <prop oor:name="URL"> + <value>vnd.com.sun.star.wiki:send</value> + </prop> + <prop oor:name="Target" oor:type="xs:string"> + <value>_self</value> + </prop> + </node> + </node> + </node> + </node> + </node> + </node> +</oor:component-data> diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/WikiExtension.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/WikiExtension.xcu new file mode 100644 index 000000000..729f80b56 --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/WikiExtension.xcu @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> +<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="WikiExtension" oor:package="org.openoffice.Office.Custom"> + <node oor:name="SpecialData"> + </node> + + <node oor:name="ConnectionList"> + </node> + + <node oor:name="RecentDocs"> + </node> + + <node oor:name="Settings"> + <prop oor:name="PreselectShowBrowser"> + <value>true</value> + </prop> + </node> + <node oor:name="Strings"> + <prop oor:name="GeneralSendError"> + <value xml:lang="en-US">The operation 'Send to MediaWiki' could not be completed successfully.</value> + </prop> + <prop oor:name="NoWikiFilter"> + <value xml:lang="en-US">The MediaWiki export filter cannot be found. Choose 'Tools-XML Filter Settings' to install the filter, or use the setup to install the component.</value> + </prop> + <prop oor:name="NoConnectionToURL"> + <value xml:lang="en-US">A connection to the MediaWiki system at '$ARG1' could not be created.</value> + </prop> + <prop oor:name="WrongLogin"> + <value xml:lang="en-US">User name or password is incorrect. Please try again, or leave the fields blank for an anonymous connection.</value> + </prop> + <prop oor:name="InvalidURL"> + <value xml:lang="en-US">A connection could not be created because the URL is invalid.</value> + </prop> + <prop oor:name="NoURL"> + <value xml:lang="en-US">Specify a MediaWiki server by providing a URL.</value> + </prop> + <prop oor:name="CancelSending"> + <value xml:lang="en-US">The transfer has been interrupted. Please check the integrity of the wiki article.</value> + </prop> + <prop oor:name="Dlg_EditSetting_UrlLabel"> + <value xml:lang="en-US">U~RL</value> + </prop> + <prop oor:name="Dlg_EditSetting_UsernameLabel"> + <value xml:lang="en-US">~Username</value> + </prop> + <prop oor:name="Dlg_EditSetting_PasswordLabel"> + <value xml:lang="en-US">~Password</value> + </prop> + <prop oor:name="Dlg_SendTitle"> + <value xml:lang="en-US">Send to MediaWiki</value> + </prop> + <prop oor:name="Dlg_WikiArticle"> + <value xml:lang="en-US">Wiki article</value> + </prop> + <prop oor:name="Dlg_No"> + <value xml:lang="en-US">No</value> + </prop> + <prop oor:name="Dlg_OK"> + <value xml:lang="en-US">OK</value> + </prop> + <prop oor:name="Dlg_Yes"> + <value xml:lang="en-US">Yes</value> + </prop> + <prop oor:name="Dlg_AddButton"> + <value xml:lang="en-US">~Add...</value> + </prop> + <prop oor:name="Dlg_EditButton"> + <value xml:lang="en-US">~Edit...</value> + </prop> + <prop oor:name="Dlg_SendButton"> + <value xml:lang="en-US">~Send</value> + </prop> + <prop oor:name="Dlg_RemoveButton"> + <value xml:lang="en-US">~Remove</value> + </prop> + <prop oor:name="Dlg_NewWikiPage_Label1"> + <value xml:lang="en-US">A wiki article with the title '$ARG1' does not exist yet. Do you want to create a new article with that name?</value> + </prop> + <prop oor:name="Dlg_SendToMediaWiki_Label1"> + <value xml:lang="en-US">Media~Wiki Server</value> + </prop> + <prop oor:name="Dlg_SendToMediaWiki_Label2"> + <value xml:lang="en-US">~Title</value> + </prop> + <prop oor:name="Dlg_SendToMediaWiki_Label3"> + <value xml:lang="en-US">S~ummary</value> + </prop> + <prop oor:name="Dlg_SendToMediaWiki_MinorCheck"> + <value xml:lang="en-US">This is a ~minor edit</value> + </prop> + <prop oor:name="Dlg_SendToMediaWiki_BrowserCheck"> + <value xml:lang="en-US">Show in web ~browser</value> + </prop> + <prop oor:name="UnknownCert"> + <value xml:lang="en-US">The certificate of the selected site is unknown.</value> + </prop> + <prop oor:name="Dlg_MediaWiki_Title"> + <value xml:lang="en-US">MediaWiki</value> + </prop> + <prop oor:name="Dlg_EditSetting_AccountLine"> + <value xml:lang="en-US">Account</value> + </prop> + <prop oor:name="Dlg_EditSetting_WikiLine"> + <value xml:lang="en-US">MediaWiki Server</value> + </prop> + <prop oor:name="Dlg_EditSetting_SaveBox"> + <value xml:lang="en-US">~Save password</value> + </prop> + <prop oor:name="Dlg_MediaWiki_Extension_String"> + <value xml:lang="en-US">Wiki Publisher</value> + </prop> + <prop oor:name="Dlg_WikiPageExists_Label1"> + <value xml:lang="en-US">A wiki article with the title '$ARG1' already exists. Do you want to replace the current article with your article? </value> + </prop> + </node> +</oor:component-data> diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu new file mode 100644 index 000000000..2b35ced08 --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu @@ -0,0 +1,41 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> +<oor:component-data oor:name="OptionsDialog" oor:package="org.openoffice.Office" xmlns:oor="http://openoffice.org/2001/registry"> + <node oor:name="Nodes"> + <node oor:name="Internet" oor:op="fuse"> + <node oor:name="Leaves"> + <node oor:name="com.sun.star.wiki.options" oor:op="fuse"> + <prop oor:name="Id"> + <value>com.sun.wiki-publisher</value> + </prop> + <prop oor:name="Label"> + <value xml:lang="en-US">MediaWiki</value> + </prop> + <prop oor:name="OptionsPage"> + <value>%origin%/WikiEditor/Settings.xdl</value> + </prop> + <prop oor:name="EventHandlerService"> + <value>com.sun.star.wiki.WikiOptionsEventHandlerImpl</value> + </prop> + </node> + </node> + </node> + </node> +</oor:component-data> + diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu new file mode 100644 index 000000000..01763bfd6 --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu @@ -0,0 +1,27 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> +<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Paths" oor:package="org.openoffice.Office"> + <node oor:name="Paths"> + <node oor:name="Template" oor:op="fuse"> + <node oor:name="InternalPaths"> + <node oor:name="%origin%/templates" oor:op="fuse"/> + </node> + </node> + </node> +</oor:component-data> diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/ProtocolHandler.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/ProtocolHandler.xcu new file mode 100644 index 000000000..8337a2abc --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/ProtocolHandler.xcu @@ -0,0 +1,27 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> +<oor:component-data oor:name="ProtocolHandler" oor:package="org.openoffice.Office" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <node oor:name="HandlerSet"> + <node oor:name="com.sun.star.wiki.WikiEditorImpl" oor:op="replace"> + <prop oor:name="Protocols" oor:type="oor:string-list"> + <value>vnd.com.sun.star.wiki:*</value> + </prop> + </node> + </node> +</oor:component-data> diff --git a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu new file mode 100644 index 000000000..3309b5038 --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu @@ -0,0 +1,47 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> +<!DOCTYPE oor:component-data SYSTEM "../../../../../../../../officecfg/registry/component-update.dtd"> +<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:package="org.openoffice.TypeDetection" oor:name="Filter"> + <node oor:name="Filters"> + <node oor:name="MediaWiki" oor:op="fuse"> + <prop oor:name="FileFormatVersion"><value>0</value></prop> + <prop oor:name="Type"><value>MediaWiki</value></prop> + <prop oor:name="DocumentService"><value>com.sun.star.text.TextDocument</value></prop> + <prop oor:name="UIComponent"/> + <prop oor:name="UserData"><value oor:separator=",">com.sun.star.documentconversion.XSLTFilter,,,com.sun.star.comp.Writer.XMLOasisExporter,,%origin%/filter/odt2mediawiki.xsl</value></prop> + <prop oor:name="FilterService"><value>com.sun.star.comp.Writer.XmlFilterAdaptor</value></prop> + <prop oor:name="UIName"> + <value xml:lang="x-default">MediaWiki</value> + </prop> + <prop oor:name="Flags"><value>EXPORT ALIEN 3RDPARTYFILTER</value></prop> + </node> + <node oor:name="MediaWiki_Web" oor:op="fuse"> + <prop oor:name="FileFormatVersion"><value>0</value></prop> + <prop oor:name="Type"><value>MediaWiki</value></prop> + <prop oor:name="DocumentService"><value>com.sun.star.text.WebDocument</value></prop> + <prop oor:name="UIComponent"/> + <prop oor:name="UserData"><value oor:separator=",">com.sun.star.documentconversion.XSLTFilter,,,com.sun.star.comp.Writer.XMLOasisExporter,,%origin%/filter/odt2mediawiki.xsl</value></prop> + <prop oor:name="FilterService"><value>com.sun.star.comp.Writer.XmlFilterAdaptor</value></prop> + <prop oor:name="UIName"> + <value xml:lang="x-default">MediaWiki</value> + </prop> + <prop oor:name="Flags"><value>EXPORT ALIEN 3RDPARTYFILTER</value></prop> + </node> + </node> +</oor:component-data> diff --git a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu new file mode 100644 index 000000000..15e4f8500 --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu @@ -0,0 +1,35 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> +<!DOCTYPE oor:component-data SYSTEM "../../../../../../../../officecfg/registry/component-update.dtd"> +<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:package="org.openoffice.TypeDetection" oor:name="Types"> + <node oor:name="Types"> + <node oor:name="MediaWiki" oor:op="fuse"> + <prop oor:name="DetectService"><value>com.sun.star.comp.filters.XMLFilterDetect</value></prop> + <prop oor:name="URLPattern"/> + <prop oor:name="Extensions"><value>txt</value></prop> + <prop oor:name="MediaType"/> + <prop oor:name="Preferred"><value>false</value></prop> + <prop oor:name="PreferredFilter"/> + <prop oor:name="UIName"> + <value xml:lang="x-default">MediaWiki</value> + </prop> + <prop oor:name="ClipboardFormat"/> + </node> + </node> +</oor:component-data> |