diff options
Diffstat (limited to 'swext/mediawiki/src/registry')
12 files changed, 825 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 000000000000..b8e96e1f1139 --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/Addons.xcu @@ -0,0 +1,67 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!--*********************************************************************** + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************ --> +<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 000000000000..8dbde907af37 --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/WikiExtension.xcu @@ -0,0 +1,153 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--*********************************************************************** + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************ --> +<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 oor:name="so-wiki.germany.sun.com" oor:op="fuse"> + <prop oor:name="AllowUnknownCertificate"> + <value>true</value> + </prop> + <node oor:name="AdditionalLoginArguments"> + <node oor:name="wpDomain" oor:op="fuse"> + <prop oor:name="Value"> + <value>sun</value> + </prop> + </node> + </node> + </node> + </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">@WIKIEXTENSIONPRODUCTNAME@</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/Custom/makefile.mk b/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/makefile.mk new file mode 100644 index 000000000000..82f8303054ab --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/makefile.mk @@ -0,0 +1,48 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +PRJ=..$/..$/..$/..$/..$/..$/..$/.. +PRJNAME=swext +CUSTID=mediawiki +TARGET=mediawiki_registry_data_Custom +PACKAGE=org.openoffice.Office.Custom + +.INCLUDE : settings.mk +.INCLUDE : ${PRJ}$/makefile.pmk + +ABSXCSROOT=$(PWD)$/$(MISC)$/$(CUSTID) +XCSROOT=$(MISC)$/$(CUSTID) + +.IF "$(ENABLE_MEDIAWIKI)" == "YES" +LOCALIZEDFILES= WikiExtension.xcu + +MODULEFILES= + +XCUFILES = WikiExtension.xcu +.ENDIF + +.INCLUDE : target.mk 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 000000000000..f6498c5faef3 --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu @@ -0,0 +1,50 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!--*********************************************************************** + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************ --> +<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>@WIKIEXTENSIONID@</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 000000000000..e39bbc75471c --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu @@ -0,0 +1,36 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!--*********************************************************************** + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************ --> +<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 000000000000..501c0a42548c --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/ProtocolHandler.xcu @@ -0,0 +1,36 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!--*********************************************************************** + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************ --> +<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/Office/makefile.mk b/swext/mediawiki/src/registry/data/org/openoffice/Office/makefile.mk new file mode 100644 index 000000000000..3d1409827390 --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/makefile.mk @@ -0,0 +1,46 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +PRJ=..$/..$/..$/..$/..$/..$/.. +PRJNAME=swext +CUSTID=mediawiki +TARGET=mediawiki_registry_data_office +PACKAGE=org.openoffice.Office + +.INCLUDE : settings.mk +.INCLUDE : ${PRJ}$/makefile.pmk + +.IF "$(ENABLE_MEDIAWIKI)" == "YES" +LOCALIZEDFILES= Addons.xcu OptionsDialog.xcu + +MODULEFILES= + +XCUFILES = Addons.xcu OptionsDialog.xcu ProtocolHandler.xcu Paths.xcu +.ENDIF + +.INCLUDE : target.mk + 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 000000000000..d0ddad5b2a7c --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu @@ -0,0 +1,56 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!--*********************************************************************** + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************ --> +<!DOCTYPE oor:component-data SYSTEM "../../../../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 000000000000..64031b844aaf --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu @@ -0,0 +1,44 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!--*********************************************************************** + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************ --> +<!DOCTYPE oor:component-data SYSTEM "../../../../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> diff --git a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/makefile.mk b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/makefile.mk new file mode 100644 index 000000000000..3224851026c0 --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/makefile.mk @@ -0,0 +1,46 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +PRJ=..$/..$/..$/..$/..$/..$/.. +PRJNAME=swext +CUSTID=mediawiki +TARGET=mediawiki_registry_data_typedetection +PACKAGE=org.openoffice.TypeDetection + +.INCLUDE : settings.mk +.INCLUDE : ${PRJ}$/makefile.pmk + +.IF "$(ENABLE_MEDIAWIKI)" == "YES" +LOCALIZEDFILES= + +MODULEFILES= + +XCUFILES = Filter.xcu Types.xcu +.ENDIF + +.INCLUDE : target.mk + diff --git a/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/WikiExtension.xcs b/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/WikiExtension.xcs new file mode 100644 index 000000000000..d210ec999507 --- /dev/null +++ b/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/WikiExtension.xcs @@ -0,0 +1,197 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!--*********************************************************************** + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************ --> +<oor:component-schema + xmlns:oor="http://openoffice.org/2001/registry" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + oor:name="WikiExtension" + oor:package="org.openoffice.Office.Custom" + xml:lang="en-US"> + <info> + <desc>Configuration parameters for the accounts.</desc> + </info> + + <templates> + <group oor:name="RequestArgument"> + <info><desc>An argument for a request.</desc></info> + <prop oor:name="Value" oor:type="xs:string"> + <info><desc>The value of the argument.</desc></info> + </prop> + </group> + + <group oor:name="WikiServerSpecialData"> + <info><desc>The smart configuration for the MediaWikiServer.</desc></info> + <prop oor:name="AllowUnknownCertificate" oor:type="xs:boolean"> + <info><desc>The value of the argument.</desc></info> + </prop> + <set oor:name="AdditionalLoginArguments" oor:node-type="RequestArgument"> + <info><desc>The additional arguments that can be used on login. The name of an entry is the argument name.</desc></info> + </set> + </group> + + <group oor:name="ConnectionURL"> + <info><desc>The name of the entry is a connection URL of a wiki server.</desc></info> + <prop oor:name="UserName" oor:type="xs:string"> + <info><desc>The UserName that is used to access the URL.</desc></info> + </prop> + </group> + + <group oor:name="Document"> + <info><desc>Wiki Document</desc></info> + <prop oor:name="Url" oor:type="xs:string"> + <info><desc>Main URL for this Wiki</desc></info> + </prop> + <prop oor:name="Doc" oor:type="xs:string"> + <info><desc>The Document name</desc></info> + </prop> + <prop oor:name="CompleteUrl" oor:type="xs:string"> + <info><desc>Identifier</desc></info> + </prop> + </group> + </templates> + + <component> + <set oor:name="SpecialData" oor:node-type="WikiServerSpecialData"> + <info><desc>The set of smart configurations for MediaWiki Servers.</desc></info> + </set> + <set oor:name="ConnectionList" oor:node-type="ConnectionURL"> + <info><desc>The list of the MediaWiki servers.</desc></info> + </set> + <set oor:name="RecentDocs" oor:node-type="Document"> + <info><desc>The recenly stored documents.</desc></info> + </set> + <group oor:name="Settings"> + <info><desc>The addon related settings.</desc></info> + <prop oor:name="PreselectShowBrowser" oor:type="xs:boolean"> + <info><desc>Specifies whether "Show in webbrowser" checkbox should be preselected.</desc></info> + </prop> + </group> + <group oor:name="Strings"> + <info> + <desc>Contains the strings that should be localized</desc> + </info> + <prop oor:name="GeneralSendError" oor:type="xs:string" oor:localized="true"> + <info><desc>The general error shown in case the document could not be sent to the wiki server.</desc></info> + </prop> + <prop oor:name="NoWikiFilter" oor:type="xs:string" oor:localized="true"> + <info><desc>The error is shown in case wiki filter is not evailable.</desc></info> + </prop> + <prop oor:name="NoConnectionToURL" oor:type="xs:string" oor:localized="true"> + <info><desc>The error is shown in case no wiki system was found on specified URL.</desc></info> + </prop> + <prop oor:name="WrongLogin" oor:type="xs:string" oor:localized="true"> + <info><desc>The error is shown in case user name or password is incorrect.</desc></info> + </prop> + <prop oor:name="InvalidURL" oor:type="xs:string" oor:localized="true"> + <info><desc>The error is shown in case the provided URL has invalid syntax.</desc></info> + </prop> + <prop oor:name="NoURL" oor:type="xs:string" oor:localized="true"> + <info><desc>The error is shown in case no wiki server was specified.</desc></info> + </prop> + <prop oor:name="CancelSending" oor:type="xs:string" oor:localized="true"> + <info><desc>The error is shown in case transfer was interrupted by user. The user is notified that the integrity of the wiki article should be checked.</desc></info> + </prop> + <prop oor:name="Dlg_SendTitle" oor:type="xs:string" oor:localized="true"> + <info><desc>The title of the send dialog.</desc></info> + </prop> + <prop oor:name="Dlg_WikiArticle" oor:type="xs:string" oor:localized="true"> + <info><desc>The dialog string used to border the wiki article related information.</desc></info> + </prop> + <prop oor:name="Dlg_No" oor:type="xs:string" oor:localized="true"> + <info><desc>"No" button in dialog.</desc></info> + </prop> + <prop oor:name="Dlg_OK" oor:type="xs:string" oor:localized="true"> + <info><desc>"Ok" button in dialog.</desc></info> + </prop> + <prop oor:name="Dlg_Yes" oor:type="xs:string" oor:localized="true"> + <info><desc>"Yes" button in dialog.</desc></info> + </prop> + <prop oor:name="Dlg_AddButton" oor:type="xs:string" oor:localized="true"> + <info><desc>"Add..." button text.</desc></info> + </prop> + <prop oor:name="Dlg_EditButton" oor:type="xs:string" oor:localized="true"> + <info><desc>"Edit..." button text.</desc></info> + </prop> + <prop oor:name="Dlg_SendButton" oor:type="xs:string" oor:localized="true"> + <info><desc>"Send" button text.</desc></info> + </prop> + <prop oor:name="Dlg_RemoveButton" oor:type="xs:string" oor:localized="true"> + <info><desc>"Remove" button text.</desc></info> + </prop> + <prop oor:name="Dlg_EditSetting_UrlLabel" oor:type="xs:string" oor:localized="true"> + <info><desc>"URL" label.</desc></info> + </prop> + <prop oor:name="Dlg_EditSetting_UsernameLabel" oor:type="xs:string" oor:localized="true"> + <info><desc>"Username" label.</desc></info> + </prop> + <prop oor:name="Dlg_EditSetting_PasswordLabel" oor:type="xs:string" oor:localized="true"> + <info><desc>"Password" label.</desc></info> + </prop> + <prop oor:name="Dlg_NewWikiPage_Label1" oor:type="xs:string" oor:localized="true"> + <info><desc>The text asking whether a new wiki page should be created.</desc></info> + </prop> + <prop oor:name="Dlg_SendToMediaWiki_Label1" oor:type="xs:string" oor:localized="true"> + <info><desc>The label reffering to the MediaWiki server selection.</desc></info> + </prop> + <prop oor:name="Dlg_SendToMediaWiki_Label2" oor:type="xs:string" oor:localized="true"> + <info><desc>The label reffering to the input of wiki article title.</desc></info> + </prop> + <prop oor:name="Dlg_SendToMediaWiki_Label3" oor:type="xs:string" oor:localized="true"> + <info><desc>The label reffering to the comments input.</desc></info> + </prop> + <prop oor:name="Dlg_SendToMediaWiki_MinorCheck" oor:type="xs:string" oor:localized="true"> + <info><desc>Text for checkbox specifying whether it is a minor input.</desc></info> + </prop> + <prop oor:name="Dlg_SendToMediaWiki_BrowserCheck" oor:type="xs:string" oor:localized="true"> + <info><desc>Text for checkbox specifying whether the article should be shown in browser after editing.</desc></info> + </prop> + <prop oor:name="UnknownCert" oor:type="xs:string" oor:localized="true"> + <info><desc>The error is shown in case a wiki site is accessed using https and has an unknown certificate.</desc></info> + </prop> + <prop oor:name="Dlg_MediaWiki_Title" oor:type="xs:string" oor:localized="true"> + <info><desc>"MediaWiki" string that is used as title in some dialogs.</desc></info> + </prop> + <prop oor:name="Dlg_EditSetting_AccountLine" oor:type="xs:string" oor:localized="true"> + <info><desc>The text bordering the account information in the dialog.</desc></info> + </prop> + <prop oor:name="Dlg_EditSetting_WikiLine" oor:type="xs:string" oor:localized="true"> + <info><desc>The text bordering wiki server information in the dialog.</desc></info> + </prop> + <prop oor:name="Dlg_EditSetting_SaveBox" oor:type="xs:string" oor:localized="true"> + <info><desc>The checkbox specifying whether the password should be stored using the password container.</desc></info> + </prop> + <prop oor:name="Dlg_MediaWiki_Extension_String" oor:type="xs:string" oor:localized="true"> + <info><desc>The string containing the name of the extension.</desc></info> + </prop> + <prop oor:name="Dlg_WikiPageExists_Label1" oor:type="xs:string" oor:localized="true"> + <info><desc>The text asking whether an existing wiki page should be overwritten.</desc></info> + </prop> + </group> + </component> + +</oor:component-schema> diff --git a/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/makefile.mk b/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/makefile.mk new file mode 100644 index 000000000000..bbbb9c664cbb --- /dev/null +++ b/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/makefile.mk @@ -0,0 +1,46 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +PRJ=..$/..$/..$/..$/..$/..$/..$/.. +PRJNAME=swext +CUSTID=mediawiki +TARGET=mediawiki_registry_schema_custom +PACKAGE=org.openoffice.Office.Custom + +.INCLUDE : settings.mk +.INCLUDE : ${PRJ}$/makefile.pmk + +.IF "$(ENABLE_MEDIAWIKI)" == "YES" +LOCALIZEDFILES= + +MODULEFILES= + +XCSFILES = WikiExtension.xcs +.ENDIF + +.INCLUDE : target.mk + |