Kaydet (Commit) 2aa5d13e authored tarafından David Ostrovsky's avatar David Ostrovsky Kaydeden (comit) Stephan Bergmann

fdo#61950 De-extensionize presentation minimizer

Change-Id: I87805ceacf184d5aa5faae68e8bb932391ace7fb
Signed-off-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst a9799560
......@@ -145,11 +145,9 @@ CXX_FOR_BUILD=ccache g++
--disable-activex
--disable-directx
--disable-ext-nlpsolver
--disable-ext-presenter-minimizer
--disable-ext-report-builder
--disable-ext-scripting-beanshell
--disable-ext-scripting-javascript
--disable-ext-wiki-publisher
--disable-report-builder
--disable-scripting-beanshell
--disable-scripting-javascript
--disable-ext-wiki-publisher
--disable-pdfimport
--enable-python=system
......
......@@ -174,6 +174,7 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
animcore \
placeware \
PresenterScreen \
PresentationMinimizer \
))
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
......@@ -645,7 +646,6 @@ $(eval $(call gb_Helper_register_libraries,UNOVERLIBS, \
))
$(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
SunPresentationMinimizer \
mysqlc \
passive_native \
))
......
......@@ -139,7 +139,6 @@ export ENABLE_LWP=@ENABLE_LWP@
export ENABLE_MACOSX_MACLIKE_APP_STRUCTURE=@ENABLE_MACOSX_MACLIKE_APP_STRUCTURE@
export ENABLE_MACOSX_SANDBOX=@ENABLE_MACOSX_SANDBOX@
export ENABLE_MEDIAWIKI=@ENABLE_MEDIAWIKI@
export ENABLE_MINIMIZER=@ENABLE_MINIMIZER@
export ENABLE_MARIADBC=@ENABLE_MARIADBC@
export ENABLE_NPAPI_FROM_BROWSER=@ENABLE_NPAPI_FROM_BROWSER@
export ENABLE_NPAPI_INTO_BROWSER=@ENABLE_NPAPI_INTO_BROWSER@
......
......@@ -753,11 +753,6 @@ AC_ARG_ENABLE(ext-mariadb-connector,
[Enable the build of the MariaDB/MySQL Connector extension.])
)
AC_ARG_ENABLE(ext-presenter-minimizer,
AS_HELP_STRING([--disable-ext-presenter-minimizer],
[Disable the Presentation Minimizer extension.])
)
AC_ARG_ENABLE(report-builder,
AS_HELP_STRING([--disable-report-builder],
[Disable the Report Builder.])
......@@ -10368,18 +10363,6 @@ fi
AC_SUBST(ENABLE_OPENCL)
# presenter minimizer extension?
AC_MSG_CHECKING([whether to build the Presentation Minimizer extension])
if test "x$enable_ext_presenter_minimizer" != "xno" -a "x$enable_extension_integration" != "xno"; then
AC_MSG_RESULT([yes])
ENABLE_MINIMIZER=TRUE
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_MINIMIZER"
else
AC_MSG_RESULT([no])
ENABLE_MINIMIZER=
fi
AC_SUBST(ENABLE_MINIMIZER)
# pdf import?
AC_MSG_CHECKING([whether to build the PDF import feature])
ENABLE_PDFIMPORT=
......@@ -10458,7 +10441,7 @@ fi
AC_SUBST(SYSTEM_SERVLETAPI)
AC_SUBST(SERVLETAPI_JAR)
AC_MSG_CHECKING([whether to build the Report Builder extension])
AC_MSG_CHECKING([whether to build the Report Builder])
if test "$enable_report_builder" != "no" -a "$with_java" != "no"; then
AC_MSG_RESULT([yes])
ENABLE_REPORTBUILDER=TRUE
......
--host=arm-linux-androideabi
--disable-cairo-canvas
--disable-cups
--disable-ext-presenter-minimizer
--disable-gconf
--disable-gnome-vfs
--disable-gstreamer-0-10
......
--host=i686-linux-androideabi
--disable-cairo-canvas
--disable-cups
--disable-ext-presenter-minimizer
--disable-gconf
--disable-gnome-vfs
--disable-gstreamer-0-10
......
......@@ -31,7 +31,6 @@
--enable-scripting-beanshell
--enable-scripting-javascript
--enable-ext-wiki-publisher
--enable-ext-presenter-minimizer
--enable-ext-nlpsolver
--enable-epm
--enable-python=internal
......
......@@ -2,7 +2,6 @@
--enable-epm
--enable-scripting-beanshell
--enable-scripting-javascript
--enable-ext-presenter-minimizer
--enable-ext-wiki-publisher
--enable-ext-nlpsolver
--enable-extension-integration
......
......@@ -9,7 +9,6 @@
--disable-randr-link
--enable-gstreamer-0-10
--enable-lockdown
--enable-ext-presenter-minimizer
--enable-ext-wiki-publisher
--enable-python=system
--with-alloc=system
......
......@@ -8,7 +8,6 @@
--enable-scripting-beanshell
--enable-scripting-javascript
--enable-ext-wiki-publisher
--enable-ext-presenter-minimizer
--enable-ext-nlpsolver
--enable-online-update
--enable-win-mozab-driver
......
......@@ -32,7 +32,6 @@
--enable-extensions
--enable-extension-integration
--enable-ext-wiki-publisher
--enable-ext-presenter-minimizer
--enable-scripting-beanshell
--enable-scripting-javascript
--enable-ext-google-docs
......
......@@ -13,7 +13,6 @@
--with-lang=hu de fr it tr ka fi pl nl pt-BR es ja zh-CN sv cs ko sl
--enable-extension-integration
--enable-ext-wiki-publisher
--enable-ext-presenter-minimizer
--enable-scripting-beanshell
--enable-scripting-javascript
--enable-ext-google-docs
......
......@@ -139,6 +139,7 @@ $(eval $(call gb_Configuration_add_localized_datas,registry,officecfg/registry/d
org/openoffice/Office/Addons.xcu \
org/openoffice/Office/Common.xcu \
org/openoffice/Office/DataAccess.xcu \
org/openoffice/Office/PresentationMinimizer.xcu \
org/openoffice/Office/PresenterScreen.xcu \
org/openoffice/Office/TableWizard.xcu \
org/openoffice/Office/UI.xcu \
......
......@@ -41,6 +41,7 @@ officecfg_XCSFILES := \
Office/OOoImprovement/Settings \
Office/OptionsDialog \
Office/Paths \
Office/PresentationMinimizer \
Office/PresenterScreen \
Office/ProtocolHandler \
Office/Recovery \
......
......@@ -8,8 +8,8 @@
*
-->
<oor:component-data xmlns:install="http://openoffice.org/2004/installation" 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="Addons" oor:package="org.openoffice.Office">
<node oor:name="AddonUI" install:module="librelogo">
<node oor:name="OfficeToolBar">
<node oor:name="AddonUI">
<node oor:name="OfficeToolBar" install:module="librelogo">
<node oor:name="LibreLogo.OfficeToolBar" oor:op="replace">
<node oor:name="m01" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
......@@ -159,8 +159,47 @@
</node>
</node>
</node>
<node oor:name="OfficeMenuBarMerging">
<node oor:name="PresentationMinimizer" oor:op="replace" install:module="impress">
<node oor:name="Command1" oor:op="replace">
<prop oor:name="MergePoint">
<value>.uno:ToolsMenu\.uno:AVMediaPlayer</value>
</prop>
<prop oor:name="MergeCommand">
<value>AddAfter</value>
</prop>
<prop oor:name="MergeFallback">
<value>AddPath</value>
</prop>
<prop oor:name="MergeContext">
<value>com.sun.star.presentation.PresentationDocument</value>
</prop>
<node oor:name="MenuItems">
<node oor:name="PresentationMinimizerExecute1" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>private:separator</value>
</prop>
</node>
<node oor:name="PresentationMinimizerExecute2" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.com.sun.star.comp.PresentationMinimizer:execute</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">~Minimize Presentation...</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.presentation.PresentationDocument</value>
</prop>
</node>
</node>
</node>
</node>
</node>
<node oor:name="Images">
<node oor:name="logo-forward" oor:op="replace">
<node oor:name="logo-forward" oor:op="replace" install:module="librelogo">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:LibreLogo|LibreLogo.py$goforward?language=Python&amp;location=share</value>
</prop>
......@@ -173,7 +212,7 @@
</prop>
</node>
</node>
<node oor:name="logo-backward" oor:op="replace">
<node oor:name="logo-backward" oor:op="replace" install:module="librelogo">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:LibreLogo|LibreLogo.py$gobackward?language=Python&amp;location=share</value>
</prop>
......@@ -186,7 +225,7 @@
</prop>
</node>
</node>
<node oor:name="logo-left" oor:op="replace">
<node oor:name="logo-left" oor:op="replace" install:module="librelogo">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:LibreLogo|LibreLogo.py$left?language=Python&amp;location=share</value>
</prop>
......@@ -199,7 +238,7 @@
</prop>
</node>
</node>
<node oor:name="logo-right" oor:op="replace">
<node oor:name="logo-right" oor:op="replace" install:module="librelogo">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:LibreLogo|LibreLogo.py$right?language=Python&amp;location=share</value>
</prop>
......@@ -212,7 +251,7 @@
</prop>
</node>
</node>
<node oor:name="logo-run" oor:op="replace">
<node oor:name="logo-run" oor:op="replace" install:module="librelogo">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:LibreLogo|LibreLogo.py$run?language=Python&amp;location=share</value>
</prop>
......@@ -225,7 +264,7 @@
</prop>
</node>
</node>
<node oor:name="logo-stop" oor:op="replace">
<node oor:name="logo-stop" oor:op="replace" install:module="librelogo">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:LibreLogo|LibreLogo.py$stop?language=Python&amp;location=share</value>
</prop>
......@@ -238,7 +277,7 @@
</prop>
</node>
</node>
<node oor:name="logo-home" oor:op="replace">
<node oor:name="logo-home" oor:op="replace" install:module="librelogo">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:LibreLogo|LibreLogo.py$home?language=Python&amp;location=share</value>
</prop>
......@@ -251,7 +290,7 @@
</prop>
</node>
</node>
<node oor:name="logo-clearscreen" oor:op="replace">
<node oor:name="logo-clearscreen" oor:op="replace" install:module="librelogo">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:LibreLogo|LibreLogo.py$clearscreen?language=Python&amp;location=share</value>
</prop>
......@@ -264,7 +303,7 @@
</prop>
</node>
</node>
<node oor:name="logo-translate" oor:op="replace">
<node oor:name="logo-translate" oor:op="replace" install:module="librelogo">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:LibreLogo|LibreLogo.py$__translate__?language=Python&amp;location=share</value>
</prop>
......@@ -277,6 +316,25 @@
</prop>
</node>
</node>
<node oor:name="opt-image" oor:op="replace" install:module="impress">
<prop oor:name="URL">
<value>vnd.com.sun.star.comp.PresentationMinimizer:execute</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL" oor:type="xs:string">
<value>bitmaps/opt_16.png</value>
</prop>
<prop oor:name="ImageBigURL" oor:type="xs:string">
<value>bitmaps/opt_26.png</value>
</prop>
<prop oor:name="ImageSmallHCURL" oor:type="xs:string">
<value>bitmaps/opt_16_h.png</value>
</prop>
<prop oor:name="ImageBigHCURL" oor:type="xs:string">
<value>bitmaps/opt_26_h.png</value>
</prop>
</node>
</node>
</node>
</node>
</oor:component-data>
......@@ -16,10 +16,10 @@
* 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="SunPresentationMinimizer" oor:package="org.openoffice.Office.extension">
<!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd">
<oor:component-data xmlns:install="http://openoffice.org/2004/installation" 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:package="org.openoffice.Office" oor:name="PresentationMinimizer">
<prop oor:name="BitmapPath" oor:type="xs:string">
<value>%origin%/../../../../../../bitmaps</value>
<value>bitmaps</value>
</prop>
<node oor:name="Strings">
......
......@@ -64,5 +64,11 @@
<value>vnd.org.libreoffice.presenterscreen:*</value>
</prop>
</node>
<node oor:name="com.sun.star.comp.PresentationMinimizerImp"
oor:op="replace" install:module="impress">
<prop oor:name="Protocols" oor:type="oor:string-list">
<value>vnd.com.sun.star.comp.PresentationMinimizer:*</value>
</prop>
</node>
</node>
</oor:component-data>
......@@ -1858,6 +1858,11 @@
<value xml:lang="en-US">Insert Slide</value>
</prop>
</node>
<node oor:name=".uno:PresentationMinimizer" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
<value xml:lang="en-US">Minimize ~Presentation...</value>
</prop>
</node>
</node>
</node>
</oor:component-data>
......@@ -16,7 +16,11 @@
* 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-schema oor:name="SunPresentationMinimizer" oor:package="org.openoffice.Office.extension" 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">
<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" xml:lang="en-US" oor:package="org.openoffice.Office" oor:name="PresentationMinimizer">
<info>
<desc>Configuration of the Presentation Minimizer.</desc>
</info>
<import oor:component="org.openoffice.Office.Impress"/>
<templates>
<group oor:name="OptimizerSettings">
<info>
......@@ -69,7 +73,7 @@
<desc>Specifies if linked graphics are to be embedded</desc>
</info>
<value>true</value>
</prop>
</prop>
<prop oor:name="OLEOptimization" oor:type="xs:boolean">
<info>
<desc>Specifies if OLE Objects are converted to Graphic objects at all</desc>
......@@ -213,7 +217,7 @@
<prop oor:name="STR_EMBED_LINKED_GRAPHICS" oor:type="xs:string" oor:localized="true">
<info><desc>String STR_EMBED_LINKED_GRAPHICS.</desc></info>
<value>~Break links to external graphics</value>
</prop>
</prop>
<prop oor:name="STR_OLE_OBJECTS" oor:type="xs:string" oor:localized="true">
<info><desc>String STR_OLE_OBJECTS.</desc></info>
<value>OLE Objects</value>
......@@ -347,7 +351,7 @@ The current presentation contains no OLE objects.</value>
<prop oor:name="STR_YES" oor:type="xs:string" oor:localized="true">
<info><desc>String STR_YES.</desc></info>
<value>~Yes</value>
</prop>
</prop>
<prop oor:name="STR_OK" oor:type="xs:string" oor:localized="true">
<info><desc>String STR_OK.</desc></info>
<value>OK</value>
......
......@@ -92,9 +92,11 @@ postprocess_FILES_graphicfilter := \
postprocess_DEPS_impress := main
postprocess_FILES_impress := \
$(postprocess_XCS)/Office/PresentationMinimizer.xcs \
$(postprocess_XCS)/Office/PresenterScreen.xcs \
$(postprocess_XCS)/Office/UI/Effects.xcs \
$(postprocess_XCS)/Office/UI/ImpressWindowState.xcs \
$(postprocess_XCU)/Office/PresentationMinimizer.xcu \
$(postprocess_XCU)/Office/PresenterScreen.xcu \
$(postprocess_XCU)/Office/UI/Effects.xcu \
$(postprocess_XCU)/Office/UI/ImpressWindowState.xcu \
......
......@@ -73,6 +73,7 @@ $(eval $(call gb_Rdb_add_components,services,\
sd/util/sdd \
sd/util/sdfilt \
sdext/source/presenter/presenter \
sdext/source/minimizer/minimizer \
sfx2/util/sfx \
slideshow/util/slideshow \
sot/util/sot \
......
......@@ -22,17 +22,6 @@
#ifdef WITH_EXTENSION_INTEGRATION
/* ** Presentation Minimizer ** */
#ifdef WITH_EXTENSION_MINIMIZER
Directory gid_Brand_Dir_Share_Extensions_Presentation_Minimizer
ParentID = gid_Brand_Dir_Share_Extensions;
DosName = "presentation-minimizer";
End
#endif
/* ** MediaWiki Publisher** */
#ifndef WITHOUT_EXTENSION_MEDIAWIKI
......
......@@ -22,19 +22,6 @@
#ifdef WITH_EXTENSION_INTEGRATION
/* ** Presentation Minimizer ** */
#ifdef WITH_EXTENSION_MINIMIZER
File gid_File_Oxt_Presentation_Minimizer
TXT_FILE_BODY;
Styles = (PACKED, FILELIST);
Dir = FILELIST_DIR;
Name = "Extension/presentation-minimizer.filelist";
End
#endif
/* ** MediaWiki Publisher** */
#ifndef WITHOUT_EXTENSION_MEDIAWIKI
......
......@@ -31,21 +31,6 @@ End
#ifdef WITH_EXTENSION_INTEGRATION
/* ** Presentation Minimizer ** */
#ifdef WITH_EXTENSION_MINIMIZER
Module gid_Module_Optional_Extensions_MINIMIZER
PackageInfo = "packinfo_extensions.txt";
MOD_NAME_DESC(MODULE_OPTIONAL_EXTENSIONS_MINIMIZER);
ParentID = gid_Module_Optional_Extensions;
Files = (
gid_File_Oxt_Presentation_Minimizer );
Minimal = NO;
Default = YES;
Styles = ( );
End
#endif
/* ** MediaWiki Publisher** */
#ifndef WITHOUT_EXTENSION_MEDIAWIKI
......
......@@ -22,12 +22,6 @@ en-US = "Extensions"
[STR_DESC_MODULE_OPTIONAL_EXTENSIONS]
en-US = "Useful %PRODUCTNAME extensions."
[STR_NAME_MODULE_OPTIONAL_EXTENSIONS_MINIMIZER]
en-US = "Presentation Minimizer"
[STR_DESC_MODULE_OPTIONAL_EXTENSIONS_MINIMIZER]
en-US = "Presentation Minimizer"
[STR_NAME_MODULE_OPTIONAL_EXTENSIONS_MEDIAWIKI]
en-US = "MediaWiki Publisher"
......
......@@ -455,6 +455,8 @@
#define SID_ADD_MOTION_PATH (SID_SD_START+442)
#define SID_TABLE_TOOLBOX (SID_SD_START+443)
// free
#define SID_PRESENTATION_MINIMIZER (SID_SD_START+450)
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -118,6 +118,7 @@
#define CMD_SID_TP_EDIT_MASTER ".uno:TaskPaneEditMaster"
#define CMD_SID_INSERTPAGE_LAYOUT_MENU ".uno:TaskPaneInsertPage"
#define CMD_SID_PHOTOALBUM ".uno:PhotoAlbumDialog"
#define CMD_SID_PRESENTATION_MINIMIZER ".uno:PresentationMinimizer"
#endif
......
......@@ -2739,4 +2739,8 @@ interface DrawView
ExecMethod = ExecutePropPanelAttr ;
StateMethod = GetStatePropPanelAttr ;
]
SID_PRESENTATION_MINIMIZER
[
ExecMethod = FuTemporary ;
]
}
......@@ -7251,3 +7251,28 @@ SfxVoidItem PhotoAlbumDialog SID_PHOTOALBUM
ToolBoxConfig = TRUE,
GroupId = GID_OPTIONS;
]
//--------------------------------------------------------------------------
SfxVoidItem PresentationMinimizer SID_PRESENTATION_MINIMIZER
()
[
/* flags: */
AutoUpdate = FALSE,
Cachable = Cachable,
FastCall = TRUE,
HasCoreId = FALSE,
HasDialog = TRUE,
ReadOnlyDoc = FALSE,
Toggle = FALSE,
Container = FALSE,
RecordAbsolute = FALSE,
RecordPerItem;
Synchron;
/* config: */
AccelConfig = TRUE,
MenuConfig = TRUE,
StatusBarConfig = FALSE,
ToolBoxConfig = TRUE,
GroupId = GID_OPTIONS;
]
......@@ -26,6 +26,9 @@
#include <com/sun/star/drawing/XDrawPages.hpp>
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
#include <com/sun/star/ui/dialogs/XSLTFilterDialog.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/util/URLTransformer.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
#include <comphelper/processfactory.hxx>
......@@ -167,6 +170,8 @@
#include "unmodpg.hxx"
#include <sfx2/sidebar/Sidebar.hxx>
#include "ViewShellBase.hxx"
namespace {
const char CustomAnimationPanelId[] = "CustomAnimationPanel";
const char SlideTransitionPanelId[] = "SlideTransitionPanel";
......@@ -2799,6 +2804,27 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
}
break;
case SID_PRESENTATION_MINIMIZER:
{
Reference<XComponentContext> xContext(::comphelper::getProcessComponentContext());
Reference<util::XURLTransformer> xParser(util::URLTransformer::create(xContext));
Reference<frame::XDispatchProvider> xProvider(GetViewShellBase().GetController()->getFrame(), UNO_QUERY);
if (xProvider.is())
{
util::URL aURL;
aURL.Complete = "vnd.com.sun.star.comp.PresentationMinimizer:execute";
xParser->parseStrict(aURL);
uno::Reference<frame::XDispatch> xDispatch(xProvider->queryDispatch(aURL, OUString(), 0));
if (xDispatch.is())
{
xDispatch->dispatch(aURL, uno::Sequence< beans::PropertyValue >());
}
}
Cancel();
rReq.Ignore();
}
break;
case SID_LAYER_DIALOG_WIN:
{
if ( rReq.GetArgs() )
......
......@@ -286,6 +286,8 @@
<menu:menuitem menu:id=".uno:BmpMask"/>
<menu:menuitem menu:id=".uno:AVMediaPlayer"/>
<menu:menuseparator/>
<menu:menuitem menu:id=".uno:PresentationMinimizer"/>
<menu:menuseparator/>
<menu:menu menu:id=".uno:MacrosMenu">
<menu:menupopup>
<menu:menuitem menu:id=".uno:MacroRecorder"/>
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# 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/.
#
$(eval $(call gb_Configuration_Configuration,presentation-minimizer,nodeliver))
$(eval $(call gb_Configuration_add_schemas,presentation-minimizer,sdext/source/minimizer/registry/schema,\
org/openoffice/Office/extension/SunPresentationMinimizer.xcs \
))
$(eval $(call gb_Configuration_add_datas,presentation-minimizer,sdext/source/minimizer/registry/data,\
org/openoffice/Office/ProtocolHandler.xcu \
))
$(eval $(call gb_Configuration_add_localized_datas,presentation-minimizer,sdext/source/minimizer/registry/data,\
org/openoffice/Office/Addons.xcu \
org/openoffice/Office/extension/SunPresentationMinimizer.xcu \
))
# vim:set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# 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/.
#
$(eval $(call gb_Extension_Extension,presentation-minimizer,sdext/source/minimizer))
$(eval $(call gb_Extension_use_default_description,presentation-minimizer))
$(eval $(call gb_Extension_use_default_license,presentation-minimizer))
$(eval $(call gb_Extension_add_libraries,presentation-minimizer,\
SunPresentationMinimizer \
))
$(eval $(call gb_Extension_add_file,presentation-minimizer,components.rdb,$(call gb_Rdb_get_target,minimizer)))
$(eval $(call gb_Extension_add_files,presentation-minimizer,bitmaps,\
$(SRCDIR)/icon-themes/galaxy/desktop/res/extension_32.png \
$(SRCDIR)/icon-themes/galaxy/minimizer/minimizepresi_80.png \
$(SRCDIR)/icon-themes/galaxy/minimizer/opt_16.png \
$(SRCDIR)/icon-themes/galaxy/minimizer/opt_26.png \
))
$(eval $(call gb_Extension_add_file,presentation-minimizer,registry/schema/org/openoffice/Office/extension/SunPresentationMinimizer.xcs,$(call gb_XcsTarget_get_target,org/openoffice/Office/extension/SunPresentationMinimizer.xcs)))
$(eval $(call gb_Extension_add_files,presentation-minimizer,registry/data/org/openoffice/Office,\
$(call gb_XcuFile_for_extension,sdext/source/minimizer/registry/data/org/openoffice/Office/Addons.xcu) \
$(call gb_XcuDataTarget_get_target,sdext/source/minimizer/registry/data/org/openoffice/Office/ProtocolHandler.xcu) \
))
$(eval $(call gb_Extension_add_file,presentation-minimizer,registry/data/org/openoffice/Office/extension/SunPresentationMinimizer.xcu,$(call gb_XcuFile_for_extension,sdext/source/minimizer/registry/data/org/openoffice/Office/extension/SunPresentationMinimizer.xcu)))
# vim:set noet sw=4 ts=4:
......@@ -7,28 +7,28 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Library_Library,SunPresentationMinimizer))
$(eval $(call gb_Library_Library,PresentationMinimizer))
$(eval $(call gb_Library_set_componentfile,SunPresentationMinimizer,sdext/source/minimizer/minimizer))
$(eval $(call gb_Library_set_componentfile,PresentationMinimizer,sdext/source/minimizer/minimizer))
$(eval $(call gb_Library_use_externals,SunPresentationMinimizer,\
$(eval $(call gb_Library_use_externals,PresentationMinimizer,\
boost_headers \
))
$(eval $(call gb_Library_use_sdk_api,SunPresentationMinimizer))
$(eval $(call gb_Library_use_sdk_api,PresentationMinimizer))
$(eval $(call gb_Library_use_api,SunPresentationMinimizer,\
$(eval $(call gb_Library_use_api,PresentationMinimizer,\
offapi \
udkapi \
))
$(eval $(call gb_Library_use_libraries,SunPresentationMinimizer,\
$(eval $(call gb_Library_use_libraries,PresentationMinimizer,\
cppu \
cppuhelper \
sal \
))
$(eval $(call gb_Library_add_exception_objects,SunPresentationMinimizer,\
$(eval $(call gb_Library_add_exception_objects,PresentationMinimizer,\
sdext/source/minimizer/configurationaccess \
sdext/source/minimizer/fileopendialog \
sdext/source/minimizer/graphiccollector \
......
......@@ -13,14 +13,9 @@ $(eval $(call gb_Module_add_targets,sdext,\
Library_PresenterScreen \
))
ifeq ($(ENABLE_MINIMIZER),TRUE)
$(eval $(call gb_Module_add_targets,sdext,\
Configuration_minimizer \
Extension_minimizer \
Library_minimizer \
Rdb_minimizer \
Library_PresentationMinimizer \
))
endif
ifeq ($(ENABLE_PDFIMPORT),TRUE)
$(eval $(call gb_Module_add_targets,sdext,\
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# 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/.
#
$(eval $(call gb_Rdb_Rdb,minimizer))
$(eval $(call gb_Rdb_add_components,minimizer,\
sdext/source/minimizer/minimizer \
))
# vim:set noet sw=4 ts=4:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
<!--
* 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 .
-->
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
<manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-components;platform=@PLATFORM@"
manifest:full-path="components.rdb"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-schema"
manifest:full-path="registry/schema/org/openoffice/Office/extension/SunPresentationMinimizer.xcs"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
manifest:full-path="registry/data/org/openoffice/Office/extension/SunPresentationMinimizer.xcu"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
manifest:full-path="registry/data/org/openoffice/Office/Addons.xcu"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
manifest:full-path="registry/data/org/openoffice/Office/ProtocolHandler.xcu"/>
</manifest:manifest>
......@@ -36,7 +36,7 @@ using namespace ::com::sun::star::container;
static const OUString& GetPathToConfigurationRoot (void)
{
static const OUString sPathToConfigurationRoot ("org.openoffice.Office.extension.SunPresentationMinimizer");
static const OUString sPathToConfigurationRoot ("org.openoffice.Office.PresentationMinimizer");
return sPathToConfigurationRoot;
}
......
<?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 .
-->
<description
xmlns="http://openoffice.org/extensions/description/2006"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:dep="http://openoffice.org/extensions/description/2006">
<identifier value="com.sun.star.PresentationMinimizer-@PLATFORM@"/>
<dependencies>
<OpenOffice.org-minimal-version value="2.3" dep:name="OpenOffice.org 2.3"/>
</dependencies>
<version value="1.0.4"/>
<platform value="@PLATFORM@"/>
<publisher>
<name xlink:href="http://www.documentfoundation.org" lang="en-US">The Document Foundation</name>
</publisher>
<display-name>
<name lang="en-US">Presentation Minimizer</name>
</display-name>
<icon>
<default xlink:href="bitmaps/extension_32.png" />
</icon>
<extension-description>
<src xlink:href="description-en-US.txt" lang="en-US" />
</extension-description>
</description>
......@@ -516,7 +516,7 @@ void ImpOptimizer::DispatchStatus()
if ( mxStatusDispatcher.is() )
{
URL aURL;
aURL.Protocol = OUString( "vnd.com.sun.star.comp.SunPresentationMinimizer:" );
aURL.Protocol = OUString( "vnd.com.sun.star.comp.PresentationMinimizer:" );
aURL.Path = OUString( "statusupdate" );
mxStatusDispatcher->dispatch( aURL, GetStatusSequence() );
}
......
......@@ -13,7 +13,7 @@
<implementation name="com.sun.star.comp.PPPOptimizerImp">
<service name="com.sun.star.comp.PPPOptimizer"/>
</implementation>
<implementation name="com.sun.star.comp.SunPresentationMinimizerImp">
<service name="com.sun.star.comp.SunPresentationMinimizer"/>
<implementation name="com.sun.star.comp.PresentationMinimizerImp">
<service name="com.sun.star.comp.PresentationMinimizer"/>
</implementation>
</component>
......@@ -28,7 +28,7 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::beans;
#define SERVICE_NAME "com.sun.star.comp.SunPresentationMinimizer"
#define SERVICE_NAME "com.sun.star.comp.PresentationMinimizer"
#include <rtl/ustrbuf.hxx>
// ----------------------
......@@ -92,7 +92,7 @@ Reference< com::sun::star::frame::XDispatch > SAL_CALL PPPOptimizerDialog::query
const URL& aURL, const OUString& /* aTargetFrameName */, sal_Int32 /* nSearchFlags */ ) throw( RuntimeException )
{
Reference < XDispatch > xRet;
if ( aURL.Protocol.compareToAscii( "vnd.com.sun.star.comp.SunPresentationMinimizer:" ) == 0 )
if ( aURL.Protocol.compareToAscii( "vnd.com.sun.star.comp.PresentationMinimizer:" ) == 0 )
xRet = this;
return xRet;
......@@ -122,7 +122,7 @@ void SAL_CALL PPPOptimizerDialog::dispatch( const URL& rURL,
throw( RuntimeException )
{
if ( mxController.is() && ( rURL.Protocol.compareToAscii( "vnd.com.sun.star.comp.SunPresentationMinimizer:" ) == 0 ) )
if ( mxController.is() && ( rURL.Protocol.compareToAscii( "vnd.com.sun.star.comp.PresentationMinimizer:" ) == 0 ) )
{
if ( rURL.Path.compareToAscii( "execute" ) == 0 )
{
......@@ -185,7 +185,7 @@ void SAL_CALL PPPOptimizerDialog::removeStatusListener( const Reference< XStatus
OUString PPPOptimizerDialog_getImplementationName()
{
return OUString( "com.sun.star.comp.SunPresentationMinimizerImp" );
return OUString( "com.sun.star.comp.PresentationMinimizerImp" );
}
Sequence< OUString > PPPOptimizerDialog_getSupportedServiceNames()
......
<?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="Images">
<node oor:name="opt-image" oor:op="replace">
<prop oor:name="URL">
<value>vnd.com.sun.star.comp.SunPresentationMinimizer:execute</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL" oor:type="xs:string">
<value>%origin%/../../../../../bitmaps/opt_16.png</value>
</prop>
<prop oor:name="ImageBigURL" oor:type="xs:string">
<value>%origin%/../../../../../bitmaps/opt_26.png</value>
</prop>
<prop oor:name="ImageSmallHCURL" oor:type="xs:string">
<value>%origin%/../../../../../bitmaps/opt_16_h.png</value>
</prop>
<prop oor:name="ImageBigHCURL" oor:type="xs:string">
<value>%origin%/../../../../../bitmaps/opt_26_h.png</value>
</prop>
</node>
</node>
</node>
<node oor:name="OfficeMenuBarMerging">
<node oor:name="SunPresentationMinimizer" oor:op="replace">
<node oor:name="Command1" oor:op="replace">
<prop oor:name="MergePoint">
<value>.uno:ToolsMenu\.uno:AVMediaPlayer</value>
</prop>
<prop oor:name="MergeCommand">
<value>AddAfter</value>
</prop>
<prop oor:name="MergeFallback">
<value>AddPath</value>
</prop>
<prop oor:name="MergeContext">
<value>com.sun.star.presentation.PresentationDocument</value>
</prop>
<node oor:name="MenuItems">
<node oor:name="SunPresentationMinimizerExecute1" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>private:separator</value>
</prop>
</node>
<node oor:name="SunPresentationMinimizerExecute2" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.com.sun.star.comp.SunPresentationMinimizer:execute</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">~Minimize Presentation...</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.presentation.PresentationDocument</value>
</prop>
</node>
</node>
</node>
</node>
</node>
</node>
</oor:component-data>
<?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="ProtocolHandler" oor:package="org.openoffice.Office">
<node oor:name="HandlerSet">
<node oor:name="com.sun.star.comp.SunPresentationMinimizerImp" oor:op="replace">
<prop oor:name="Protocols" oor:type="oor:string-list">
<value>vnd.com.sun.star.comp.SunPresentationMinimizer:*</value>
</prop>
</node>
</node>
</oor:component-data>
......@@ -34,21 +34,6 @@
# destpath
# End
Start
module = "gid_Module_Optional_Extensions_MINIMIZER"
solarispackagename = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-extension-presentation-minimizer"
solarisrequires = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core01 (Name="Core module for %PRODUCTNAME %PRODUCTVERSION"), %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core02 (Name="Core module for %PRODUCTNAME %PRODUCTVERSION"), %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core03 (Name="Core module for %PRODUCTNAME %PRODUCTVERSION"), %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core04 (Name="Core module for %PRODUCTNAME %PRODUCTVERSION"), %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core05 (Name="Core module for %PRODUCTNAME %PRODUCTVERSION"), %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core06 (Name="Core module for %PRODUCTNAME %PRODUCTVERSION"), %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core07 (Name="Core module for %PRODUCTNAME %PRODUCTVERSION")"
packagename = "%BASISPACKAGEPREFIX%PRODUCTVERSION-extension-presentation-minimizer"
requires = "%BASISPACKAGEPREFIX%PRODUCTVERSION-core01 %PACKAGEVERSION %PACKAGEVERSION,%BASISPACKAGEPREFIX%PRODUCTVERSION-core02 %PACKAGEVERSION %PACKAGEVERSION,%BASISPACKAGEPREFIX%PRODUCTVERSION-core03 %PACKAGEVERSION %PACKAGEVERSION,%BASISPACKAGEPREFIX%PRODUCTVERSION-core04 %PACKAGEVERSION %PACKAGEVERSION,%BASISPACKAGEPREFIX%PRODUCTVERSION-core05 %PACKAGEVERSION %PACKAGEVERSION,%BASISPACKAGEPREFIX%PRODUCTVERSION-core06 %PACKAGEVERSION %PACKAGEVERSION,%BASISPACKAGEPREFIX%PRODUCTVERSION-core07 %PACKAGEVERSION %PACKAGEVERSION"
linuxpatchrequires = ""
copyright = "2012 The Document Foundation"
solariscopyright = "solariscopyrightfile"
vendor = "The Document Foundation"
description = "Presentation Minimizer extension for %PRODUCTNAME %PRODUCTVERSION"
destpath = "/opt"
packageversion = "%PACKAGEVERSION"
End
Start
module = "gid_Module_Optional_Extensions_MEDIAWIKI"
solarispackagename = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-extension-mediawiki-publisher"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment