diff options
author | Mikhail Voitenko <mav@openoffice.org> | 2008-02-08 13:57:54 +0000 |
---|---|---|
committer | Mikhail Voitenko <mav@openoffice.org> | 2008-02-08 13:57:54 +0000 |
commit | 2a64ec13a6a4f9c55245212661b1892906a05ef3 (patch) | |
tree | b5459cdec6c6a5b60f0d1ffef07634581bac589f /swext/mediawiki/src | |
parent | 9553a92031fa843107f8d424754996b747fef96f (diff) |
create the configuration hierarchy to let it be built correctly
Diffstat (limited to 'swext/mediawiki/src')
4 files changed, 194 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..f8ab0fe3e29c --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/Addons.xcu @@ -0,0 +1,75 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!--*********************************************************************** + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: Addons.xcu,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mav $ $Date: 2008-02-08 14:57:24 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library 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 for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************ --> +<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/OptionsDialog.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu new file mode 100644 index 000000000000..941d75a213cf --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu @@ -0,0 +1,58 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!--*********************************************************************** + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: OptionsDialog.xcu,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mav $ $Date: 2008-02-08 14:57:34 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library 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 for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************ --> +<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.sun-mediawiki</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/ProtocolHandler.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/ProtocolHandler.xcu new file mode 100644 index 000000000000..1e85627525f6 --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/ProtocolHandler.xcu @@ -0,0 +1,44 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!--*********************************************************************** + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: ProtocolHandler.xcu,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mav $ $Date: 2008-02-08 14:57:44 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library 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 for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************ --> +<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..c0e4a8f65a25 --- /dev/null +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/makefile.mk @@ -0,0 +1,17 @@ +PRJ=..$/..$/..$/..$/..$/..$/.. +PRJNAME=swext +CUSTID=mediawiki +TARGET=mediawiki_registry_data_office +PACKAGE=org.openoffice.Office + +.INCLUDE : settings.mk +.INCLUDE : ${PRJ}$/makefile.pmk + +LOCALIZEDFILES= Addons.xcu OptionsDialog.xcu + +MODULEFILES= + +XCUFILES = Addons.xcu OptionsDialog.xcu ProtocolHandler.xcu + +.INCLUDE : target.mk + |