summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xRepository.mk2
-rw-r--r--config_host.mk.in1
-rw-r--r--configure.ac22
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-Background.png (renamed from sdext/source/presenter/bitmaps/Background.png)bin3474 -> 3474 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderActiveBottom.png (renamed from sdext/source/presenter/bitmaps/BorderActiveBottom.png)bin214 -> 214 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderActiveBottomCallout.png (renamed from sdext/source/presenter/bitmaps/BorderActiveBottomCallout.png)bin1425 -> 1425 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderActiveBottomLeft.png (renamed from sdext/source/presenter/bitmaps/BorderActiveBottomLeft.png)bin598 -> 598 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderActiveBottomRight.png (renamed from sdext/source/presenter/bitmaps/BorderActiveBottomRight.png)bin626 -> 626 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderActiveLeft.png (renamed from sdext/source/presenter/bitmaps/BorderActiveLeft.png)bin145 -> 145 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderActiveRight.png (renamed from sdext/source/presenter/bitmaps/BorderActiveRight.png)bin141 -> 141 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderActiveTop.png (renamed from sdext/source/presenter/bitmaps/BorderActiveTop.png)bin148 -> 148 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderActiveTopLeft.png (renamed from sdext/source/presenter/bitmaps/BorderActiveTopLeft.png)bin442 -> 442 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderActiveTopRight.png (renamed from sdext/source/presenter/bitmaps/BorderActiveTopRight.png)bin438 -> 438 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderBottom.png (renamed from sdext/source/presenter/bitmaps/BorderBottom.png)bin164 -> 164 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderBottomLeft.png (renamed from sdext/source/presenter/bitmaps/BorderBottomLeft.png)bin576 -> 576 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderBottomRight.png (renamed from sdext/source/presenter/bitmaps/BorderBottomRight.png)bin587 -> 587 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideBottom.png (renamed from sdext/source/presenter/bitmaps/BorderCurrentSlideBottom.png)bin140 -> 140 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideBottomLeft.png (renamed from sdext/source/presenter/bitmaps/BorderCurrentSlideBottomLeft.png)bin161 -> 161 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideBottomRight.png (renamed from sdext/source/presenter/bitmaps/BorderCurrentSlideBottomRight.png)bin159 -> 159 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideLeft.png (renamed from sdext/source/presenter/bitmaps/BorderCurrentSlideLeft.png)bin140 -> 140 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideRight.png (renamed from sdext/source/presenter/bitmaps/BorderCurrentSlideRight.png)bin140 -> 140 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideTop.png (renamed from sdext/source/presenter/bitmaps/BorderCurrentSlideTop.png)bin140 -> 140 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideTopLeft.png (renamed from sdext/source/presenter/bitmaps/BorderCurrentSlideTopLeft.png)bin164 -> 164 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideTopRight.png (renamed from sdext/source/presenter/bitmaps/BorderCurrentSlideTopRight.png)bin164 -> 164 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderLeft.png (renamed from sdext/source/presenter/bitmaps/BorderLeft.png)bin147 -> 147 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderRight.png (renamed from sdext/source/presenter/bitmaps/BorderRight.png)bin177 -> 177 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarBottom.png (renamed from sdext/source/presenter/bitmaps/BorderToolbarBottom.png)bin112 -> 112 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarLeft.png (renamed from sdext/source/presenter/bitmaps/BorderToolbarLeft.png)bin119 -> 119 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarRight.png (renamed from sdext/source/presenter/bitmaps/BorderToolbarRight.png)bin121 -> 121 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarTop.png (renamed from sdext/source/presenter/bitmaps/BorderToolbarTop.png)bin120 -> 120 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarTopLeft.png (renamed from sdext/source/presenter/bitmaps/BorderToolbarTopLeft.png)bin268 -> 268 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarTopRight.png (renamed from sdext/source/presenter/bitmaps/BorderToolbarTopRight.png)bin244 -> 244 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderTop.png (renamed from sdext/source/presenter/bitmaps/BorderTop.png)bin174 -> 174 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderTopLeft.png (renamed from sdext/source/presenter/bitmaps/BorderTopLeft.png)bin426 -> 426 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-BorderTopRight.png (renamed from sdext/source/presenter/bitmaps/BorderTopRight.png)bin414 -> 414 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonEffectNextDisabled.png (renamed from sdext/source/presenter/bitmaps/ButtonEffectNextDisabled.png)bin258 -> 258 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonEffectNextMouseOver.png (renamed from sdext/source/presenter/bitmaps/ButtonEffectNextMouseOver.png)bin259 -> 259 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonEffectNextNormal.png (renamed from sdext/source/presenter/bitmaps/ButtonEffectNextNormal.png)bin262 -> 262 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonEffectNextSelected.png (renamed from sdext/source/presenter/bitmaps/ButtonEffectNextSelected.png)bin257 -> 257 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameCenterMouseOver.png (renamed from sdext/source/presenter/bitmaps/ButtonFrameCenterMouseOver.png)bin131 -> 131 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameCenterNormal.png (renamed from sdext/source/presenter/bitmaps/ButtonFrameCenterNormal.png)bin138 -> 138 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameLeftMouseOver.png (renamed from sdext/source/presenter/bitmaps/ButtonFrameLeftMouseOver.png)bin166 -> 166 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameLeftNormal.png (renamed from sdext/source/presenter/bitmaps/ButtonFrameLeftNormal.png)bin166 -> 166 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameRightMouseOver.png (renamed from sdext/source/presenter/bitmaps/ButtonFrameRightMouseOver.png)bin163 -> 163 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameRightNormal.png (renamed from sdext/source/presenter/bitmaps/ButtonFrameRightNormal.png)bin163 -> 163 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonHelpDisabled.png (renamed from sdext/source/presenter/bitmaps/ButtonHelpDisabled.png)bin543 -> 543 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonHelpMouseOver.png (renamed from sdext/source/presenter/bitmaps/ButtonHelpMouseOver.png)bin538 -> 538 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonHelpNormal.png (renamed from sdext/source/presenter/bitmaps/ButtonHelpNormal.png)bin550 -> 550 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonHelpSelected.png (renamed from sdext/source/presenter/bitmaps/ButtonHelpSelected.png)bin623 -> 623 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonMinusDisabled.png (renamed from sdext/source/presenter/bitmaps/ButtonMinusDisabled.png)bin243 -> 243 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonMinusMouseOver.png (renamed from sdext/source/presenter/bitmaps/ButtonMinusMouseOver.png)bin239 -> 239 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonMinusNormal.png (renamed from sdext/source/presenter/bitmaps/ButtonMinusNormal.png)bin244 -> 244 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonMinusSelected.png (renamed from sdext/source/presenter/bitmaps/ButtonMinusSelected.png)bin245 -> 245 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonNotesDisabled.png (renamed from sdext/source/presenter/bitmaps/ButtonNotesDisabled.png)bin321 -> 321 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonNotesMouseOver.png (renamed from sdext/source/presenter/bitmaps/ButtonNotesMouseOver.png)bin314 -> 314 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonNotesNormal.png (renamed from sdext/source/presenter/bitmaps/ButtonNotesNormal.png)bin324 -> 324 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonNotesSelected.png (renamed from sdext/source/presenter/bitmaps/ButtonNotesSelected.png)bin318 -> 318 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonPlusDisabled.png (renamed from sdext/source/presenter/bitmaps/ButtonPlusDisabled.png)bin277 -> 277 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonPlusMouseOver.png (renamed from sdext/source/presenter/bitmaps/ButtonPlusMouseOver.png)bin275 -> 275 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonPlusNormal.png (renamed from sdext/source/presenter/bitmaps/ButtonPlusNormal.png)bin279 -> 279 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonPlusSelected.png (renamed from sdext/source/presenter/bitmaps/ButtonPlusSelected.png)bin280 -> 280 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideNextDisabled.png (renamed from sdext/source/presenter/bitmaps/ButtonSlideNextDisabled.png)bin246 -> 246 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideNextMouseOver.png (renamed from sdext/source/presenter/bitmaps/ButtonSlideNextMouseOver.png)bin250 -> 250 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideNextNormal.png (renamed from sdext/source/presenter/bitmaps/ButtonSlideNextNormal.png)bin250 -> 250 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonSlidePreviousDisabled.png (renamed from sdext/source/presenter/bitmaps/ButtonSlidePreviousDisabled.png)bin270 -> 270 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonSlidePreviousMouseOver.png (renamed from sdext/source/presenter/bitmaps/ButtonSlidePreviousMouseOver.png)bin263 -> 263 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonSlidePreviousNormal.png (renamed from sdext/source/presenter/bitmaps/ButtonSlidePreviousNormal.png)bin271 -> 271 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonSlidePreviousSelected.png (renamed from sdext/source/presenter/bitmaps/ButtonSlidePreviousSelected.png)bin270 -> 270 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideSorterDisabled.png (renamed from sdext/source/presenter/bitmaps/ButtonSlideSorterDisabled.png)bin342 -> 342 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideSorterMouseOver.png (renamed from sdext/source/presenter/bitmaps/ButtonSlideSorterMouseOver.png)bin338 -> 338 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideSorterNormal.png (renamed from sdext/source/presenter/bitmaps/ButtonSlideSorterNormal.png)bin347 -> 347 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideSorterSelected.png (renamed from sdext/source/presenter/bitmaps/ButtonSlideSorterSelected.png)bin338 -> 338 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonSwitchMonitorMouseOver.png (renamed from sdext/source/presenter/bitmaps/ButtonSwitchMonitorMouseOver.png)bin484 -> 484 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ButtonSwitchMonitorNormal.png (renamed from sdext/source/presenter/bitmaps/ButtonSwitchMonitorNormal.png)bin649 -> 649 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-LabelMouseOverCenter.png (renamed from sdext/source/presenter/bitmaps/LabelMouseOverCenter.png)bin208 -> 208 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-LabelMouseOverLeft.png (renamed from sdext/source/presenter/bitmaps/LabelMouseOverLeft.png)bin157 -> 157 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-LabelMouseOverRight.png (renamed from sdext/source/presenter/bitmaps/LabelMouseOverRight.png)bin154 -> 154 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowDownDisabled.png (renamed from sdext/source/presenter/bitmaps/ScrollbarArrowDownDisabled.png)bin324 -> 324 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowDownMouseOver.png (renamed from sdext/source/presenter/bitmaps/ScrollbarArrowDownMouseOver.png)bin324 -> 324 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowDownNormal.png (renamed from sdext/source/presenter/bitmaps/ScrollbarArrowDownNormal.png)bin331 -> 331 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowDownSelected.png (renamed from sdext/source/presenter/bitmaps/ScrollbarArrowDownSelected.png)bin369 -> 369 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowUpDisabled.png (renamed from sdext/source/presenter/bitmaps/ScrollbarArrowUpDisabled.png)bin319 -> 319 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowUpMouseOver.png (renamed from sdext/source/presenter/bitmaps/ScrollbarArrowUpMouseOver.png)bin323 -> 323 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowUpNormal.png (renamed from sdext/source/presenter/bitmaps/ScrollbarArrowUpNormal.png)bin329 -> 329 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowUpSelected.png (renamed from sdext/source/presenter/bitmaps/ScrollbarArrowUpSelected.png)bin365 -> 365 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarPagerMiddleMouseOver.png (renamed from sdext/source/presenter/bitmaps/ScrollbarPagerMiddleMouseOver.png)bin125 -> 125 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarPagerMiddleNormal.png (renamed from sdext/source/presenter/bitmaps/ScrollbarPagerMiddleNormal.png)bin119 -> 119 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbBottomMouseOver.png (renamed from sdext/source/presenter/bitmaps/ScrollbarThumbBottomMouseOver.png)bin120 -> 120 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbBottomNormal.png (renamed from sdext/source/presenter/bitmaps/ScrollbarThumbBottomNormal.png)bin120 -> 120 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbMiddleMouseOver.png (renamed from sdext/source/presenter/bitmaps/ScrollbarThumbMiddleMouseOver.png)bin118 -> 118 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbMiddleNormal.png (renamed from sdext/source/presenter/bitmaps/ScrollbarThumbMiddleNormal.png)bin118 -> 118 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbTopMouseOver.png (renamed from sdext/source/presenter/bitmaps/ScrollbarThumbTopMouseOver.png)bin120 -> 120 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbTopNormal.png (renamed from sdext/source/presenter/bitmaps/ScrollbarThumbTopNormal.png)bin120 -> 120 bytes
-rw-r--r--icon-themes/galaxy/sd/res/presenterscreen-ViewBackground.png (renamed from sdext/source/presenter/bitmaps/ViewBackground.png)bin177 -> 177 bytes
-rw-r--r--offapi/com/sun/star/drawing/XPresenterHelper.idl20
-rw-r--r--officecfg/Configuration_officecfg.mk3
-rw-r--r--officecfg/registry/data/org/openoffice/Office/Jobs.xcu18
-rw-r--r--officecfg/registry/data/org/openoffice/Office/PresenterScreen.xcu (renamed from sdext/source/presenter/registry/data/org/openoffice/Office/extension/PresenterScreen.xcu)30
-rw-r--r--officecfg/registry/data/org/openoffice/Office/ProtocolHandler.xcu11
-rw-r--r--officecfg/registry/data/org/openoffice/Setup.xcu5
-rw-r--r--officecfg/registry/files.mk1
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/PresenterScreen.xcs (renamed from sdext/source/presenter/registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs)7
-rw-r--r--postprocess/packcomponents/makefile.mk1
-rw-r--r--postprocess/packregistry/makefile.mk4
-rw-r--r--scp2/source/extensions/directory_extensions.scp11
-rw-r--r--scp2/source/extensions/file_extensions.scp13
-rw-r--r--scp2/source/extensions/module_extensions.scp15
-rw-r--r--scp2/source/extensions/module_extensions.ulf6
-rw-r--r--scp2/source/impress/file_impress.scp11
-rw-r--r--sd/source/ui/app/res_bmp.src457
-rw-r--r--sd/source/ui/inc/res_bmp.hrc93
-rw-r--r--sd/source/ui/presenter/PresenterHelper.cxx225
-rw-r--r--sd/source/ui/presenter/PresenterHelper.hxx3
-rw-r--r--sdext/Configuration_presenter.mk43
-rw-r--r--sdext/CustomTarget_presenter.mk39
-rw-r--r--sdext/Extension_presenter.mk146
-rw-r--r--sdext/Library_presenter.mk4
-rw-r--r--sdext/Module_sdext.mk14
-rw-r--r--sdext/Rdb_presenter.mk34
-rw-r--r--sdext/source/presenter/META-INF/manifest.xml33
-rw-r--r--sdext/source/presenter/PresenterAccessibility.cxx6
-rw-r--r--sdext/source/presenter/PresenterBitmapContainer.cxx21
-rw-r--r--sdext/source/presenter/PresenterBitmapContainer.hxx5
-rw-r--r--sdext/source/presenter/PresenterComponent.cxx39
-rw-r--r--sdext/source/presenter/PresenterComponent.hxx48
-rw-r--r--sdext/source/presenter/PresenterConfigurationAccess.cxx2
-rw-r--r--sdext/source/presenter/PresenterExtensionIdentifier.hxx29
-rw-r--r--sdext/source/presenter/PresenterHelpView.cxx2
-rw-r--r--sdext/source/presenter/PresenterProtocolHandler.cxx8
-rw-r--r--sdext/source/presenter/PresenterScreen.cxx10
-rw-r--r--sdext/source/presenter/PresenterScrollBar.cxx4
-rw-r--r--sdext/source/presenter/PresenterSlideSorter.cxx6
-rw-r--r--sdext/source/presenter/PresenterTheme.cxx40
-rw-r--r--sdext/source/presenter/PresenterToolBar.cxx8
-rw-r--r--sdext/source/presenter/PresenterWindowManager.cxx4
-rw-r--r--sdext/source/presenter/description-en-US.txt2
-rw-r--r--sdext/source/presenter/description.xml51
-rw-r--r--sdext/source/presenter/presenter.component9
-rw-r--r--sdext/source/presenter/registry/data/org/openoffice/Office/Jobs.xcu37
-rw-r--r--sdext/source/presenter/registry/data/org/openoffice/Office/ProtocolHandler.xcu27
140 files changed, 869 insertions, 761 deletions
diff --git a/Repository.mk b/Repository.mk
index dd5a93c65067..7592b50d4e17 100755
--- a/Repository.mk
+++ b/Repository.mk
@@ -535,6 +535,7 @@ $(eval $(call gb_Helper_register_libraries,RTVERLIBS, \
))
$(eval $(call gb_Helper_register_libraries,UNOLIBS_OOO, \
+ PresenterScreen \
basprov \
cairocanvas \
canvasfactory \
@@ -637,7 +638,6 @@ $(eval $(call gb_Helper_register_libraries,UNOVERLIBS, \
$(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
pdfimport \
- PresenterScreen \
SunPresentationMinimizer \
))
diff --git a/config_host.mk.in b/config_host.mk.in
index a68918222ec0..0e5faf5e0334 100644
--- a/config_host.mk.in
+++ b/config_host.mk.in
@@ -164,7 +164,6 @@ export ENABLE_ONLINE_UPDATE=@ENABLE_ONLINE_UPDATE@
export ENABLE_OPENGL=@ENABLE_OPENGL@
export ENABLE_OXYGENOFFICE=@ENABLE_OXYGENOFFICE@
export ENABLE_PDFIMPORT=@ENABLE_PDFIMPORT@
-export ENABLE_PRESENTER_SCREEN=@ENABLE_PRESENTER_SCREEN@
export ENABLE_QUICKSTART_LIBPNG=@ENABLE_QUICKSTART_LIBPNG@
export ENABLE_RANDR=@ENABLE_RANDR@
export ENABLE_RELEASE_BUILD=@ENABLE_RELEASE_BUILD@
diff --git a/configure.ac b/configure.ac
index 024a2b397810..b9ac3018b23f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -626,11 +626,6 @@ AC_ARG_ENABLE(ext-pdfimport,
[Disable the PDF Import extension.])
)
-AC_ARG_ENABLE(ext-presenter-console,
- AS_HELP_STRING([--disable-ext-presenter-console],
- [Disable the Presenter Console extension.])
-)
-
AC_ARG_ENABLE(ext-presenter-minimizer,
AS_HELP_STRING([--disable-ext-presenter-minimizer],
[Disable the Presentation Minimizer extension.])
@@ -9748,18 +9743,6 @@ else
fi
AC_SUBST(ENABLE_MINIMIZER)
-# presenter console extension?
-AC_MSG_CHECKING([whether to build the Presenter Console extension])
-if test "x$enable_ext_presenter_console" != "xno" -a "x$enable_extension_integration" != "xno"; then
- AC_MSG_RESULT([yes])
- ENABLE_PRESENTER_SCREEN=YES
-else
- AC_MSG_RESULT([no])
- ENABLE_PRESENTER_SCREEN=NO
- SCPDEFS="$SCPDEFS -DWITHOUT_EXTENSION_PRESENTER_SCREEN"
-fi
-AC_SUBST(ENABLE_PRESENTER_SCREEN)
-
# pdf import extension?
AC_MSG_CHECKING([whether to build the PDF Import extension])
if test "x$enable_ext_pdfimport" != "xno" -a "x$enable_extension_integration" != "xno"; then
@@ -9801,11 +9784,6 @@ AC_SUBST(POPPLER_CFLAGS)
AC_SUBST(POPPLER_LIBS)
AC_SUBST(XPDF_TARBALL)
-
-if test "$ENABLE_PRESENTER_SCREEN" = "YES" -o "$ENABLE_MINIMIZER" = "YES" -o "$ENABLE_PDFIMPORT" = "YES"; then
- BUILD_TYPE="$BUILD_TYPE SDEXT"
-fi
-
AC_MSG_CHECKING([whether to build the Wiki Publisher extension])
if test "x$enable_ext_wiki_publisher" = "xyes" -a "x$enable_extension_integration" != "xno" -a "$with_java" != "no"; then
AC_MSG_RESULT([yes])
diff --git a/sdext/source/presenter/bitmaps/Background.png b/icon-themes/galaxy/sd/res/presenterscreen-Background.png
index 7b32e4ab974b..7b32e4ab974b 100644
--- a/sdext/source/presenter/bitmaps/Background.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-Background.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderActiveBottom.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveBottom.png
index 8314c9efd092..8314c9efd092 100644
--- a/sdext/source/presenter/bitmaps/BorderActiveBottom.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveBottom.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderActiveBottomCallout.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveBottomCallout.png
index b7c33223a33c..b7c33223a33c 100644
--- a/sdext/source/presenter/bitmaps/BorderActiveBottomCallout.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveBottomCallout.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderActiveBottomLeft.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveBottomLeft.png
index 8d573e864942..8d573e864942 100644
--- a/sdext/source/presenter/bitmaps/BorderActiveBottomLeft.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveBottomLeft.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderActiveBottomRight.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveBottomRight.png
index 35ef8e9213db..35ef8e9213db 100644
--- a/sdext/source/presenter/bitmaps/BorderActiveBottomRight.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveBottomRight.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderActiveLeft.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveLeft.png
index 57d4a3dbbcd3..57d4a3dbbcd3 100644
--- a/sdext/source/presenter/bitmaps/BorderActiveLeft.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveLeft.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderActiveRight.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveRight.png
index 9a9857190b9d..9a9857190b9d 100644
--- a/sdext/source/presenter/bitmaps/BorderActiveRight.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveRight.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderActiveTop.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveTop.png
index e0bea9d55448..e0bea9d55448 100644
--- a/sdext/source/presenter/bitmaps/BorderActiveTop.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveTop.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderActiveTopLeft.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveTopLeft.png
index 62d63271fe21..62d63271fe21 100644
--- a/sdext/source/presenter/bitmaps/BorderActiveTopLeft.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveTopLeft.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderActiveTopRight.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveTopRight.png
index 450c8e0cc5e7..450c8e0cc5e7 100644
--- a/sdext/source/presenter/bitmaps/BorderActiveTopRight.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderActiveTopRight.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderBottom.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderBottom.png
index 7ad2fd6c2a03..7ad2fd6c2a03 100644
--- a/sdext/source/presenter/bitmaps/BorderBottom.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderBottom.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderBottomLeft.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderBottomLeft.png
index 019de149b3af..019de149b3af 100644
--- a/sdext/source/presenter/bitmaps/BorderBottomLeft.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderBottomLeft.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderBottomRight.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderBottomRight.png
index 82de5791c1cd..82de5791c1cd 100644
--- a/sdext/source/presenter/bitmaps/BorderBottomRight.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderBottomRight.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideBottom.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideBottom.png
index 7000bc22f6c4..7000bc22f6c4 100644
--- a/sdext/source/presenter/bitmaps/BorderCurrentSlideBottom.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideBottom.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideBottomLeft.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideBottomLeft.png
index 7571c8d94b1f..7571c8d94b1f 100644
--- a/sdext/source/presenter/bitmaps/BorderCurrentSlideBottomLeft.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideBottomLeft.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideBottomRight.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideBottomRight.png
index c0af63ff58b8..c0af63ff58b8 100644
--- a/sdext/source/presenter/bitmaps/BorderCurrentSlideBottomRight.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideBottomRight.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideLeft.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideLeft.png
index 7000bc22f6c4..7000bc22f6c4 100644
--- a/sdext/source/presenter/bitmaps/BorderCurrentSlideLeft.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideLeft.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideRight.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideRight.png
index 7000bc22f6c4..7000bc22f6c4 100644
--- a/sdext/source/presenter/bitmaps/BorderCurrentSlideRight.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideRight.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideTop.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideTop.png
index 7000bc22f6c4..7000bc22f6c4 100644
--- a/sdext/source/presenter/bitmaps/BorderCurrentSlideTop.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideTop.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideTopLeft.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideTopLeft.png
index fdfabd42ae9f..fdfabd42ae9f 100644
--- a/sdext/source/presenter/bitmaps/BorderCurrentSlideTopLeft.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideTopLeft.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideTopRight.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideTopRight.png
index 5b4b642e9f34..5b4b642e9f34 100644
--- a/sdext/source/presenter/bitmaps/BorderCurrentSlideTopRight.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderCurrentSlideTopRight.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderLeft.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderLeft.png
index cbdb267b8789..cbdb267b8789 100644
--- a/sdext/source/presenter/bitmaps/BorderLeft.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderLeft.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderRight.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderRight.png
index 333073328ddd..333073328ddd 100644
--- a/sdext/source/presenter/bitmaps/BorderRight.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderRight.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderToolbarBottom.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarBottom.png
index 23a3bc3595aa..23a3bc3595aa 100644
--- a/sdext/source/presenter/bitmaps/BorderToolbarBottom.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarBottom.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderToolbarLeft.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarLeft.png
index 839ab5091a8e..839ab5091a8e 100644
--- a/sdext/source/presenter/bitmaps/BorderToolbarLeft.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarLeft.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderToolbarRight.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarRight.png
index e5c4b9d25a16..e5c4b9d25a16 100644
--- a/sdext/source/presenter/bitmaps/BorderToolbarRight.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarRight.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderToolbarTop.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarTop.png
index c45b97c434cd..c45b97c434cd 100644
--- a/sdext/source/presenter/bitmaps/BorderToolbarTop.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarTop.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderToolbarTopLeft.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarTopLeft.png
index 978e98a9bbc4..978e98a9bbc4 100644
--- a/sdext/source/presenter/bitmaps/BorderToolbarTopLeft.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarTopLeft.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderToolbarTopRight.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarTopRight.png
index 7dc3d98860ea..7dc3d98860ea 100644
--- a/sdext/source/presenter/bitmaps/BorderToolbarTopRight.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderToolbarTopRight.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderTop.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderTop.png
index dee68e828147..dee68e828147 100644
--- a/sdext/source/presenter/bitmaps/BorderTop.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderTop.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderTopLeft.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderTopLeft.png
index bbec4e42be42..bbec4e42be42 100644
--- a/sdext/source/presenter/bitmaps/BorderTopLeft.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderTopLeft.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/BorderTopRight.png b/icon-themes/galaxy/sd/res/presenterscreen-BorderTopRight.png
index 3416b16c9e91..3416b16c9e91 100644
--- a/sdext/source/presenter/bitmaps/BorderTopRight.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-BorderTopRight.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonEffectNextDisabled.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonEffectNextDisabled.png
index 5417cf72c928..5417cf72c928 100644
--- a/sdext/source/presenter/bitmaps/ButtonEffectNextDisabled.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonEffectNextDisabled.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonEffectNextMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonEffectNextMouseOver.png
index 96805e392176..96805e392176 100644
--- a/sdext/source/presenter/bitmaps/ButtonEffectNextMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonEffectNextMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonEffectNextNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonEffectNextNormal.png
index 6dbd732e0977..6dbd732e0977 100644
--- a/sdext/source/presenter/bitmaps/ButtonEffectNextNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonEffectNextNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonEffectNextSelected.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonEffectNextSelected.png
index eb6e6d45bb23..eb6e6d45bb23 100644
--- a/sdext/source/presenter/bitmaps/ButtonEffectNextSelected.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonEffectNextSelected.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonFrameCenterMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameCenterMouseOver.png
index b97799f1f314..b97799f1f314 100644
--- a/sdext/source/presenter/bitmaps/ButtonFrameCenterMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameCenterMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonFrameCenterNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameCenterNormal.png
index 4cf7218f3b52..4cf7218f3b52 100644
--- a/sdext/source/presenter/bitmaps/ButtonFrameCenterNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameCenterNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonFrameLeftMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameLeftMouseOver.png
index 1f2ab6a00cab..1f2ab6a00cab 100644
--- a/sdext/source/presenter/bitmaps/ButtonFrameLeftMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameLeftMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonFrameLeftNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameLeftNormal.png
index 0e92cb37d7d8..0e92cb37d7d8 100644
--- a/sdext/source/presenter/bitmaps/ButtonFrameLeftNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameLeftNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonFrameRightMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameRightMouseOver.png
index 0f49ad4f7e61..0f49ad4f7e61 100644
--- a/sdext/source/presenter/bitmaps/ButtonFrameRightMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameRightMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonFrameRightNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameRightNormal.png
index 4ca69670e513..4ca69670e513 100644
--- a/sdext/source/presenter/bitmaps/ButtonFrameRightNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonFrameRightNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonHelpDisabled.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonHelpDisabled.png
index 12f4903b6cf8..12f4903b6cf8 100644
--- a/sdext/source/presenter/bitmaps/ButtonHelpDisabled.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonHelpDisabled.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonHelpMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonHelpMouseOver.png
index 7bddef561f11..7bddef561f11 100644
--- a/sdext/source/presenter/bitmaps/ButtonHelpMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonHelpMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonHelpNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonHelpNormal.png
index 99c693215ba9..99c693215ba9 100644
--- a/sdext/source/presenter/bitmaps/ButtonHelpNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonHelpNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonHelpSelected.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonHelpSelected.png
index f162db27650e..f162db27650e 100644
--- a/sdext/source/presenter/bitmaps/ButtonHelpSelected.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonHelpSelected.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonMinusDisabled.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonMinusDisabled.png
index ff61106eb7ec..ff61106eb7ec 100644
--- a/sdext/source/presenter/bitmaps/ButtonMinusDisabled.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonMinusDisabled.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonMinusMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonMinusMouseOver.png
index 787249912b9c..787249912b9c 100644
--- a/sdext/source/presenter/bitmaps/ButtonMinusMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonMinusMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonMinusNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonMinusNormal.png
index e2d993384fef..e2d993384fef 100644
--- a/sdext/source/presenter/bitmaps/ButtonMinusNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonMinusNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonMinusSelected.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonMinusSelected.png
index 5d15de3b916f..5d15de3b916f 100644
--- a/sdext/source/presenter/bitmaps/ButtonMinusSelected.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonMinusSelected.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonNotesDisabled.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonNotesDisabled.png
index 09e31d26c649..09e31d26c649 100644
--- a/sdext/source/presenter/bitmaps/ButtonNotesDisabled.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonNotesDisabled.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonNotesMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonNotesMouseOver.png
index 099d6bf0f2b1..099d6bf0f2b1 100644
--- a/sdext/source/presenter/bitmaps/ButtonNotesMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonNotesMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonNotesNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonNotesNormal.png
index 551392622506..551392622506 100644
--- a/sdext/source/presenter/bitmaps/ButtonNotesNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonNotesNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonNotesSelected.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonNotesSelected.png
index f5494fb1c678..f5494fb1c678 100644
--- a/sdext/source/presenter/bitmaps/ButtonNotesSelected.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonNotesSelected.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonPlusDisabled.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonPlusDisabled.png
index e6ba3f3e78a7..e6ba3f3e78a7 100644
--- a/sdext/source/presenter/bitmaps/ButtonPlusDisabled.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonPlusDisabled.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonPlusMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonPlusMouseOver.png
index 9d21dc40a6eb..9d21dc40a6eb 100644
--- a/sdext/source/presenter/bitmaps/ButtonPlusMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonPlusMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonPlusNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonPlusNormal.png
index 2e075c2a3a87..2e075c2a3a87 100644
--- a/sdext/source/presenter/bitmaps/ButtonPlusNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonPlusNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonPlusSelected.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonPlusSelected.png
index b9d6fe1ed929..b9d6fe1ed929 100644
--- a/sdext/source/presenter/bitmaps/ButtonPlusSelected.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonPlusSelected.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonSlideNextDisabled.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideNextDisabled.png
index 7f3bce058f4c..7f3bce058f4c 100644
--- a/sdext/source/presenter/bitmaps/ButtonSlideNextDisabled.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideNextDisabled.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonSlideNextMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideNextMouseOver.png
index 4dc13655965b..4dc13655965b 100644
--- a/sdext/source/presenter/bitmaps/ButtonSlideNextMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideNextMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonSlideNextNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideNextNormal.png
index 711b8ca8caf6..711b8ca8caf6 100644
--- a/sdext/source/presenter/bitmaps/ButtonSlideNextNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideNextNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonSlidePreviousDisabled.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlidePreviousDisabled.png
index 383780eab2cf..383780eab2cf 100644
--- a/sdext/source/presenter/bitmaps/ButtonSlidePreviousDisabled.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlidePreviousDisabled.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonSlidePreviousMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlidePreviousMouseOver.png
index dc35c62deaf2..dc35c62deaf2 100644
--- a/sdext/source/presenter/bitmaps/ButtonSlidePreviousMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlidePreviousMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonSlidePreviousNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlidePreviousNormal.png
index 26262b4568d7..26262b4568d7 100644
--- a/sdext/source/presenter/bitmaps/ButtonSlidePreviousNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlidePreviousNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonSlidePreviousSelected.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlidePreviousSelected.png
index 7274263a43f5..7274263a43f5 100644
--- a/sdext/source/presenter/bitmaps/ButtonSlidePreviousSelected.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlidePreviousSelected.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonSlideSorterDisabled.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideSorterDisabled.png
index ce7d4ad51514..ce7d4ad51514 100644
--- a/sdext/source/presenter/bitmaps/ButtonSlideSorterDisabled.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideSorterDisabled.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonSlideSorterMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideSorterMouseOver.png
index 2e7f518ac9e3..2e7f518ac9e3 100644
--- a/sdext/source/presenter/bitmaps/ButtonSlideSorterMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideSorterMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonSlideSorterNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideSorterNormal.png
index 7aa914f41c01..7aa914f41c01 100644
--- a/sdext/source/presenter/bitmaps/ButtonSlideSorterNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideSorterNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonSlideSorterSelected.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideSorterSelected.png
index 143f995a004c..143f995a004c 100644
--- a/sdext/source/presenter/bitmaps/ButtonSlideSorterSelected.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSlideSorterSelected.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonSwitchMonitorMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSwitchMonitorMouseOver.png
index bc1055a97689..bc1055a97689 100644
--- a/sdext/source/presenter/bitmaps/ButtonSwitchMonitorMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSwitchMonitorMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ButtonSwitchMonitorNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSwitchMonitorNormal.png
index 8cfe81dd1d5a..8cfe81dd1d5a 100644
--- a/sdext/source/presenter/bitmaps/ButtonSwitchMonitorNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ButtonSwitchMonitorNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/LabelMouseOverCenter.png b/icon-themes/galaxy/sd/res/presenterscreen-LabelMouseOverCenter.png
index 6eb75d386f46..6eb75d386f46 100644
--- a/sdext/source/presenter/bitmaps/LabelMouseOverCenter.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-LabelMouseOverCenter.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/LabelMouseOverLeft.png b/icon-themes/galaxy/sd/res/presenterscreen-LabelMouseOverLeft.png
index 9455246332cf..9455246332cf 100644
--- a/sdext/source/presenter/bitmaps/LabelMouseOverLeft.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-LabelMouseOverLeft.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/LabelMouseOverRight.png b/icon-themes/galaxy/sd/res/presenterscreen-LabelMouseOverRight.png
index 1f972d0cebea..1f972d0cebea 100644
--- a/sdext/source/presenter/bitmaps/LabelMouseOverRight.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-LabelMouseOverRight.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowDownDisabled.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowDownDisabled.png
index 4dd16272fad7..4dd16272fad7 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarArrowDownDisabled.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowDownDisabled.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowDownMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowDownMouseOver.png
index d1980a2a1a05..d1980a2a1a05 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarArrowDownMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowDownMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowDownNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowDownNormal.png
index 166f10057c11..166f10057c11 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarArrowDownNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowDownNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowDownSelected.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowDownSelected.png
index 21d42945ce98..21d42945ce98 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarArrowDownSelected.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowDownSelected.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowUpDisabled.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowUpDisabled.png
index 44f60683bc59..44f60683bc59 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarArrowUpDisabled.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowUpDisabled.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowUpMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowUpMouseOver.png
index 9795885632dc..9795885632dc 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarArrowUpMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowUpMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowUpNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowUpNormal.png
index 804ced846065..804ced846065 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarArrowUpNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowUpNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowUpSelected.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowUpSelected.png
index d7be4f324f86..d7be4f324f86 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarArrowUpSelected.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarArrowUpSelected.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarPagerMiddleMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarPagerMiddleMouseOver.png
index 84b781af9fb8..84b781af9fb8 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarPagerMiddleMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarPagerMiddleMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarPagerMiddleNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarPagerMiddleNormal.png
index a06ba667f118..a06ba667f118 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarPagerMiddleNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarPagerMiddleNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarThumbBottomMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbBottomMouseOver.png
index 482f13638755..482f13638755 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarThumbBottomMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbBottomMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarThumbBottomNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbBottomNormal.png
index ec46e172c134..ec46e172c134 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarThumbBottomNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbBottomNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarThumbMiddleMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbMiddleMouseOver.png
index 62066c24b687..62066c24b687 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarThumbMiddleMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbMiddleMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarThumbMiddleNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbMiddleNormal.png
index c25e4edcf595..c25e4edcf595 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarThumbMiddleNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbMiddleNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarThumbTopMouseOver.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbTopMouseOver.png
index 714481df996d..714481df996d 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarThumbTopMouseOver.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbTopMouseOver.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ScrollbarThumbTopNormal.png b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbTopNormal.png
index 7e0922c74966..7e0922c74966 100644
--- a/sdext/source/presenter/bitmaps/ScrollbarThumbTopNormal.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ScrollbarThumbTopNormal.png
Binary files differ
diff --git a/sdext/source/presenter/bitmaps/ViewBackground.png b/icon-themes/galaxy/sd/res/presenterscreen-ViewBackground.png
index ca52d8262a88..ca52d8262a88 100644
--- a/sdext/source/presenter/bitmaps/ViewBackground.png
+++ b/icon-themes/galaxy/sd/res/presenterscreen-ViewBackground.png
Binary files differ
diff --git a/offapi/com/sun/star/drawing/XPresenterHelper.idl b/offapi/com/sun/star/drawing/XPresenterHelper.idl
index 003b6c1b5e75..6d40c6af3c9b 100644
--- a/offapi/com/sun/star/drawing/XPresenterHelper.idl
+++ b/offapi/com/sun/star/drawing/XPresenterHelper.idl
@@ -28,13 +28,13 @@
module com { module sun { module star { module drawing {
-/** This interface is a collection of functions that are necessary to
+/** This interface is a collection of functions that were necessary to
implement larger parts of the presenter screen as extension. The
- methods of this interface give access to services that can, at the
- moment, only implemented in the Office core, not in an extension.
+ methods of this interface give access to services that could only be
+ implemented in the Office core, not in an extension.
- <p>With time some, maybe all, methods can moved to other, better suited,
- interfaces.</p>
+ <p>As the presenter screen is no extension any more, this hack can go again;
+ it just needs clean-up.</p>
*/
interface XPresenterHelper
{
@@ -114,17 +114,15 @@ interface XPresenterHelper
void toTop (
[in] ::com::sun::star::awt::XWindow xWindow);
- /** Load a bitmap from a file or other accessible resource that can be
- located via a URL.
- @param sURL
- The URL of the bitmap. For a file URL the bitmap is loaded from
- the specified file.
+ /** Load a bitmap with a given ID.
+ @param id
+ The ID of the bitmap.
@param xCanvas
The bitmap is created to be compatible, and possibly optimized,
for this canvas.
*/
::com::sun::star::rendering::XBitmap loadBitmap (
- [in] string sURL,
+ [in] string id,
[in] ::com::sun::star::rendering::XCanvas xCanvas);
/** Capture the mouse so that no other window will receive mouse events.
diff --git a/officecfg/Configuration_officecfg.mk b/officecfg/Configuration_officecfg.mk
index 7b03616a48b5..df9b30aa97a4 100644
--- a/officecfg/Configuration_officecfg.mk
+++ b/officecfg/Configuration_officecfg.mk
@@ -82,7 +82,9 @@ $(eval $(call gb_Configuration_add_spool_modules,registry,officecfg/registry/dat
org/openoffice/Office/Common-macosx.xcu \
org/openoffice/Office/Common-wnt.xcu \
org/openoffice/Office/Common-UseOOoFileDialogs.xcu \
+ org/openoffice/Office/Jobs-impress.xcu \
org/openoffice/Office/Linguistic-ForceDefaultLanguage.xcu \
+ org/openoffice/Office/ProtocolHandler-impress.xcu \
org/openoffice/Office/Scripting-python.xcu \
org/openoffice/Office/Common-cjk.xcu \
org/openoffice/Office/Common-ctl.xcu \
@@ -124,6 +126,7 @@ $(eval $(call gb_Configuration_add_localized_datas,registry,officecfg/registry/d
org/openoffice/Office/Common.xcu \
org/openoffice/Office/SFX.xcu \
org/openoffice/Office/DataAccess.xcu \
+ org/openoffice/Office/PresenterScreen.xcu \
org/openoffice/Office/TableWizard.xcu \
org/openoffice/Office/UI.xcu \
org/openoffice/Office/Embedding.xcu \
diff --git a/officecfg/registry/data/org/openoffice/Office/Jobs.xcu b/officecfg/registry/data/org/openoffice/Office/Jobs.xcu
index 7dea57841d32..dffb3f84f5e4 100644
--- a/officecfg/registry/data/org/openoffice/Office/Jobs.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/Jobs.xcu
@@ -17,9 +17,25 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd">
-<oor:component-data oor:name="Jobs" 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">
+<oor:component-data oor:name="Jobs" oor:package="org.openoffice.Office"
+ xmlns:install="http://openoffice.org/2004/installation"
+ xmlns:oor="http://openoffice.org/2001/registry">
<node oor:name="Jobs">
+ <node oor:name="org.libreoffice.PresenterScreen" oor:op="replace"
+ install:module="impress">
+ <prop oor:name="Service">
+ <value>org.libreoffice.comp.PresenterScreenJob</value>
+ </prop>
+ <prop oor:name="Context">
+ <value>com.sun.star.presentation.PresentationDocument</value>
+ </prop>
+ </node>
</node>
<node oor:name="Events">
+ <node oor:name="onDocumentOpened" oor:op="fuse" install:module="impress">
+ <node oor:name="JobList">
+ <node oor:name="org.libreoffice.PresenterScreen" oor:op="replace"/>
+ </node>
+ </node>
</node>
</oor:component-data>
diff --git a/sdext/source/presenter/registry/data/org/openoffice/Office/extension/PresenterScreen.xcu b/officecfg/registry/data/org/openoffice/Office/PresenterScreen.xcu
index 837805794dc3..fe2c78c46dce 100644
--- a/sdext/source/presenter/registry/data/org/openoffice/Office/extension/PresenterScreen.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/PresenterScreen.xcu
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<!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.extension" oor:name="PresenterScreen">
+<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="PresenterScreen">
<node oor:name="PresenterScreenSettings">
<node oor:name="ToolBars">
<node oor:name="ToolBar" oor:op="replace">
@@ -30,7 +30,7 @@
<node oor:name="Icon">
<prop oor:name="NormalFileName"><value>bitmaps/ButtonSlidePreviousNormal.png</value></prop>
</node>
- <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:PrevSlide</value></prop>
+ <prop oor:name="Action"><value>vnd.org.libreoffice.presenterscreen:PrevSlide</value></prop>
<node oor:name="Font">
<prop oor:name="Size"><value>12</value></prop>
<prop oor:name="Style"><value>Bold</value></prop>
@@ -60,7 +60,7 @@
<node oor:name="Icon">
<prop oor:name="NormalFileName"><value>bitmaps/ButtonEffectNextNormal.png</value></prop>
</node>
- <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:NextEffect</value></prop>
+ <prop oor:name="Action"><value>vnd.org.libreoffice.presenterscreen:NextEffect</value></prop>
<node oor:name="Font">
<prop oor:name="Size"><value>12</value></prop>
<prop oor:name="Style"><value>Bold</value></prop>
@@ -90,7 +90,7 @@
<node oor:name="Icon">
<prop oor:name="NormalFileName"><value>bitmaps/ButtonNotesNormal.png</value></prop>
</node>
- <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:ShowNotes</value></prop>
+ <prop oor:name="Action"><value>vnd.org.libreoffice.presenterscreen:ShowNotes</value></prop>
<node oor:name="Font">
<prop oor:name="Size"><value>12</value></prop>
<prop oor:name="Style"><value>Bold</value></prop>
@@ -113,7 +113,7 @@
<node oor:name="Font">
<prop oor:name="Color"><value>FFFFFF</value></prop>
</node>
- <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:CloseNotes</value></prop>
+ <prop oor:name="Action"><value>vnd.org.libreoffice.presenterscreen:CloseNotes</value></prop>
</node>
<node oor:name="Disabled">
<node oor:name="Icon">
@@ -129,7 +129,7 @@
<node oor:name="Icon">
<prop oor:name="NormalFileName"><value>bitmaps/ButtonSlideSorterNormal.png</value></prop>
</node>
- <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:ShowSlideSorter</value></prop>
+ <prop oor:name="Action"><value>vnd.org.libreoffice.presenterscreen:ShowSlideSorter</value></prop>
<node oor:name="Font">
<prop oor:name="Size"><value>12</value></prop>
<prop oor:name="Style"><value>Bold</value></prop>
@@ -152,7 +152,7 @@
<node oor:name="Font">
<prop oor:name="Color"><value>FFFFFF</value></prop>
</node>
- <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:CloseSlideSorter</value></prop>
+ <prop oor:name="Action"><value>vnd.org.libreoffice.presenterscreen:CloseSlideSorter</value></prop>
</node>
<node oor:name="Disabled">
<node oor:name="Icon">
@@ -220,7 +220,7 @@
<node oor:name="Icon">
<prop oor:name="NormalFileName"><value>bitmaps/ButtonSwitchMonitorNormal.png</value></prop>
</node>
- <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:SwitchMonitor</value></prop>
+ <prop oor:name="Action"><value>vnd.org.libreoffice.presenterscreen:SwitchMonitor</value></prop>
<node oor:name="Font">
<prop oor:name="Size"><value>12</value></prop>
<prop oor:name="Style"><value>Bold</value></prop>
@@ -258,7 +258,7 @@
<node oor:name="Icon">
<prop oor:name="NormalFileName"><value>bitmaps/ButtonHelpNormal.png</value></prop>
</node>
- <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:ShowHelp</value></prop>
+ <prop oor:name="Action"><value>vnd.org.libreoffice.presenterscreen:ShowHelp</value></prop>
<node oor:name="Font">
<prop oor:name="Size"><value>12</value></prop>
<prop oor:name="Style"><value>Bold</value></prop>
@@ -281,7 +281,7 @@
<node oor:name="Font">
<prop oor:name="Color"><value>FFFFFF</value></prop>
</node>
- <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:CloseHelp</value></prop>
+ <prop oor:name="Action"><value>vnd.org.libreoffice.presenterscreen:CloseHelp</value></prop>
</node>
<node oor:name="Disabled">
<node oor:name="Icon">
@@ -312,7 +312,7 @@
<node oor:name="Icon">
<prop oor:name="NormalFileName"><value>bitmaps/ButtonPlusNormal.png</value></prop>
</node>
- <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:GrowNotesFont</value></prop>
+ <prop oor:name="Action"><value>vnd.org.libreoffice.presenterscreen:GrowNotesFont</value></prop>
</node>
<node oor:name="MouseOver">
<node oor:name="Icon">
@@ -332,7 +332,7 @@
<node oor:name="Icon">
<prop oor:name="NormalFileName"><value>bitmaps/ButtonMinusNormal.png</value></prop>
</node>
- <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:ShrinkNotesFont</value></prop>
+ <prop oor:name="Action"><value>vnd.org.libreoffice.presenterscreen:ShrinkNotesFont</value></prop>
</node>
<node oor:name="MouseOver">
<node oor:name="Icon">
@@ -354,21 +354,21 @@
<prop oor:name="Text">
<value xml:lang="en-US">Close</value>
</prop>
- <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:CloseSlideSorter</value></prop>
+ <prop oor:name="Action"><value>vnd.org.libreoffice.presenterscreen:CloseSlideSorter</value></prop>
</node>
<node oor:name="NotesViewCloser" oor:op="replace">
<prop oor:name="Name"><value>NotesViewCloser</value></prop>
<prop oor:name="Text">
<value xml:lang="en-US">Close</value>
</prop>
- <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:CloseNotes</value></prop>
+ <prop oor:name="Action"><value>vnd.org.libreoffice.presenterscreen:CloseNotes</value></prop>
</node>
<node oor:name="HelpViewCloser" oor:op="replace">
<prop oor:name="Name"><value>HelpViewCloser</value></prop>
<prop oor:name="Text">
<value xml:lang="en-US">Close</value>
</prop>
- <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:CloseHelp</value></prop>
+ <prop oor:name="Action"><value>vnd.org.libreoffice.presenterscreen:CloseHelp</value></prop>
</node>
</node>
<node oor:name="ScrollBar">
diff --git a/officecfg/registry/data/org/openoffice/Office/ProtocolHandler.xcu b/officecfg/registry/data/org/openoffice/Office/ProtocolHandler.xcu
index 36ec36bf924a..33d81468c4b2 100644
--- a/officecfg/registry/data/org/openoffice/Office/ProtocolHandler.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/ProtocolHandler.xcu
@@ -17,7 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd">
-<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">
+<oor:component-data oor:name="ProtocolHandler"
+ oor:package="org.openoffice.Office"
+ xmlns:install="http://openoffice.org/2004/installation"
+ xmlns:oor="http://openoffice.org/2001/registry">
<node oor:name="HandlerSet">
<node oor:name="com.sun.star.comp.sfx2.SfxMacroLoader" oor:op="replace">
<prop oor:name="Protocols">
@@ -59,5 +62,11 @@
<value>vnd.sun.star.findbar:*</value>
</prop>
</node>
+ <node oor:name="org.libreoffice.comp.PresenterScreenProtocolHandler"
+ oor:op="replace" install:module="impress">
+ <prop oor:name="Protocols">
+ <value>vnd.org.libreoffice.presenterscreen:*</value>
+ </prop>
+ </node>
</node>
</oor:component-data>
diff --git a/officecfg/registry/data/org/openoffice/Setup.xcu b/officecfg/registry/data/org/openoffice/Setup.xcu
index 3d8512aedd23..0fadef2d828b 100644
--- a/officecfg/registry/data/org/openoffice/Setup.xcu
+++ b/officecfg/registry/data/org/openoffice/Setup.xcu
@@ -791,6 +791,11 @@
<prop oor:name="MigrationService">
<value>com.sun.star.migration.Extensions</value>
</prop>
+ <prop oor:name="ExcludedExtensions">
+ <value>
+ <it>com.sun.PresenterScreen-*</it>
+ </value>
+ </prop>
</node>
<node oor:name="Inet" oor:op="replace">
<prop oor:name="IncludedNodes">
diff --git a/officecfg/registry/files.mk b/officecfg/registry/files.mk
index 2280f1cd1023..1f6fbfa4d1ac 100644
--- a/officecfg/registry/files.mk
+++ b/officecfg/registry/files.mk
@@ -40,6 +40,7 @@ officecfg_XCSFILES := \
Office/OOoImprovement/Settings \
Office/OptionsDialog \
Office/Paths \
+ Office/PresenterScreen \
Office/ProtocolHandler \
Office/Recovery \
Office/SFX \
diff --git a/sdext/source/presenter/registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs b/officecfg/registry/schema/org/openoffice/Office/PresenterScreen.xcs
index 74900896c96a..eb4e6ae79fd8 100644
--- a/sdext/source/presenter/registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/PresenterScreen.xcs
@@ -16,7 +16,7 @@
* 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 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:package="org.openoffice.Office.extension" oor:name="PresenterScreen">
+<oor:component-schema 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:package="org.openoffice.Office" oor:name="PresenterScreen">
<info>
<author>AF</author>
<desc>Configuration of the Presenter Screen extension.</desc>
@@ -330,11 +330,6 @@
mean default theme.</desc></info>
<value></value>
</prop>
- <prop oor:name="BitmapSourceExtension" oor:type="xs:string">
- <info><desc>Name of the extension which contains the bitmaps
- referenced by this theme.</desc></info>
- <value></value>
- </prop>
<node-ref oor:name="Background" oor:node-type="BitmapDescriptor">
<info><desc>Color or bitmap that is used to paint the
background.</desc></info>
diff --git a/postprocess/packcomponents/makefile.mk b/postprocess/packcomponents/makefile.mk
index 25c55e4a0c4f..51c5359e0e8f 100644
--- a/postprocess/packcomponents/makefile.mk
+++ b/postprocess/packcomponents/makefile.mk
@@ -80,6 +80,7 @@ my_components = \
component/sd/util/sd \
component/sd/util/sdd \
component/sd/util/sdfilt \
+ component/sdext/source/presenter/presenter \
component/sfx2/util/sfx \
component/slideshow/util/slideshow \
component/sot/util/sot \
diff --git a/postprocess/packregistry/makefile.mk b/postprocess/packregistry/makefile.mk
index 019b1dce756a..d4952faa7383 100644
--- a/postprocess/packregistry/makefile.mk
+++ b/postprocess/packregistry/makefile.mk
@@ -99,14 +99,18 @@ MY_FILES_graphicfilter = \
MY_DEPS_impress = main
MY_FILES_impress = \
+ $(MY_XCS)/Office/PresenterScreen.xcs \
$(MY_XCS)/Office/UI/Effects.xcs \
$(MY_XCS)/Office/UI/ImpressWindowState.xcs \
+ $(MY_XCU)/Office/PresenterScreen.xcu \
$(MY_XCU)/Office/UI/Effects.xcu \
$(MY_XCU)/Office/UI/ImpressWindowState.xcu \
$(MY_MOD)/fcfg_impress_filters.xcu \
$(MY_MOD)/fcfg_impress_types.xcu \
$(MY_MOD)/org/openoffice/Office/Common-impress.xcu \
$(MY_MOD)/org/openoffice/Office/Embedding-impress.xcu \
+ $(MY_MOD)/org/openoffice/Office/Jobs-impress.xcu \
+ $(MY_MOD)/org/openoffice/Office/ProtocolHandler-impress.xcu \
$(MY_MOD)/org/openoffice/Setup-impress.xcu
MY_DEPS_korea = main
diff --git a/scp2/source/extensions/directory_extensions.scp b/scp2/source/extensions/directory_extensions.scp
index ca2d2c1c6d79..62d3b942ce07 100644
--- a/scp2/source/extensions/directory_extensions.scp
+++ b/scp2/source/extensions/directory_extensions.scp
@@ -66,17 +66,6 @@ End
#endif
-/* ** Presenter Screen ** */
-
-#ifndef WITHOUT_EXTENSION_PRESENTER_SCREEN
-
-Directory gid_Brand_Dir_Share_Extensions_Presenter_Screen
- ParentID = gid_Brand_Dir_Share_Extensions;
- DosName = "presenter-screen";
-End
-
-#endif
-
/* ** PDF Import ** */
#ifndef WITHOUT_EXTENSION_PDFIMPORT
diff --git a/scp2/source/extensions/file_extensions.scp b/scp2/source/extensions/file_extensions.scp
index 90e99875d32e..f268379905f2 100644
--- a/scp2/source/extensions/file_extensions.scp
+++ b/scp2/source/extensions/file_extensions.scp
@@ -72,19 +72,6 @@ End
#endif
-/* ** Presenter Screen ** */
-
-#ifndef WITHOUT_EXTENSION_PRESENTER_SCREEN
-
-File gid_File_Oxt_Presenter_Screen
- TXT_FILE_BODY;
- Styles = (PACKED, ARCHIVE);
- Dir = gid_Brand_Dir_Share_Extensions_Presenter_Screen;
- Name = "presenter-screen.oxt";
-End
-
-#endif
-
/* ** PDF Import ** */
#ifndef WITHOUT_EXTENSION_PDFIMPORT
diff --git a/scp2/source/extensions/module_extensions.scp b/scp2/source/extensions/module_extensions.scp
index 91853ea629e1..48b5f7d31975 100644
--- a/scp2/source/extensions/module_extensions.scp
+++ b/scp2/source/extensions/module_extensions.scp
@@ -87,21 +87,6 @@ Module gid_Module_Optional_Extensions_MEDIAWIKI
End
#endif
-/* ** Presenter Screen ** */
-
-#ifndef WITHOUT_EXTENSION_PRESENTER_SCREEN
-Module gid_Module_Optional_Extensions_PRESENTER_SCREEN
- PackageInfo = "packinfo_extensions.txt";
- MOD_NAME_DESC(MODULE_OPTIONAL_EXTENSIONS_PRESENTER_SCREEN);
- ParentID = gid_Module_Optional_Extensions;
- Files = (
- gid_File_Oxt_Presenter_Screen );
- Minimal = NO;
- Default = YES;
- Styles = ( );
-End
-#endif
-
/* ** PDF Import ** */
#ifndef WITHOUT_EXTENSION_PDFIMPORT
diff --git a/scp2/source/extensions/module_extensions.ulf b/scp2/source/extensions/module_extensions.ulf
index 40d0a0aa176c..1d9e2476e629 100644
--- a/scp2/source/extensions/module_extensions.ulf
+++ b/scp2/source/extensions/module_extensions.ulf
@@ -51,12 +51,6 @@ en-US = "MediaWiki Publisher"
[STR_DESC_MODULE_OPTIONAL_EXTENSIONS_MEDIAWIKI]
en-US = "MediaWiki Publisher"
-[STR_NAME_MODULE_OPTIONAL_EXTENSIONS_PRESENTER_SCREEN]
-en-US = "Presenter Screen"
-
-[STR_DESC_MODULE_OPTIONAL_EXTENSIONS_PRESENTER_SCREEN]
-en-US = "Presenter Screen"
-
[STR_NAME_MODULE_OPTIONAL_EXTENSIONS_PDFIMPORT]
en-US = "PDF Import"
diff --git a/scp2/source/impress/file_impress.scp b/scp2/source/impress/file_impress.scp
index bbac0236b705..21deb8e486d8 100644
--- a/scp2/source/impress/file_impress.scp
+++ b/scp2/source/impress/file_impress.scp
@@ -37,6 +37,17 @@ File gid_File_Lib_Animcore
PACKED_LIB_FILE_BODY;
End
+File gid_File_Lib_PresenterScreen
+ LIB_FILE_BODY;
+ Dir = SCP2_OOO_BIN_DIR;
+#if defined UNX
+ Name = STRING(CONCAT2(PresenterScreen.uno,UNXSUFFIX));
+#else
+ Name = "PresenterScreen.uno.dll";
+#endif
+ Styles = (PACKED);
+End
+
File gid_File_Share_Registry_Impress_Xcd
TXT_FILE_BODY;
Styles = (PACKED);
diff --git a/sd/source/ui/app/res_bmp.src b/sd/source/ui/app/res_bmp.src
index cfdd2a4c7a1a..c209e1097686 100644
--- a/sd/source/ui/app/res_bmp.src
+++ b/sd/source/ui/app/res_bmp.src
@@ -348,3 +348,460 @@ Bitmap BMP_COMMENTS_INDICATOR
{
File = "comments_indicator.bmp";
};
+
+// Presenter Screen bitmaps:
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_LEFT
+{
+ File = "presenterscreen-BorderLeft.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_SLIDE_NEXT_DISABLED
+{
+ File = "presenterscreen-ButtonSlideNextDisabled.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_SELECTED
+{
+ File = "presenterscreen-ButtonSlidePreviousSelected.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_TOP
+{
+ File = "presenterscreen-BorderCurrentSlideTop.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_NOTES_SELECTED
+{
+ File = "presenterscreen-ButtonNotesSelected.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_SELECTED
+{
+ File = "presenterscreen-ScrollbarArrowDownSelected.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BACKGROUND
+{
+ File = "presenterscreen-Background.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_RIGHT
+{
+ File = "presenterscreen-BorderRight.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_ACTIVE_TOP
+{
+ File = "presenterscreen-BorderActiveTop.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_HELP_DISABLED
+{
+ File = "presenterscreen-ButtonHelpDisabled.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_ACTIVE_RIGHT
+{
+ File = "presenterscreen-BorderActiveRight.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_FRAME_CENTER_NORMAL
+{
+ File = "presenterscreen-ButtonFrameCenterNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_MIDDLE_MOUSE_OVER
+{
+ File = "presenterscreen-ScrollbarThumbMiddleMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_BOTTOM_RIGHT
+{
+ File = "presenterscreen-BorderCurrentSlideBottomRight.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_TOP_LEFT
+{
+ File = "presenterscreen-BorderTopLeft.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM
+{
+ File = "presenterscreen-BorderActiveBottom.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_BOTTOM_LEFT
+{
+ File = "presenterscreen-BorderBottomLeft.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_TOOLBAR_TOP
+{
+ File = "presenterscreen-BorderToolbarTop.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_ACTIVE_LEFT
+{
+ File = "presenterscreen-BorderActiveLeft.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_HELP_NORMAL
+{
+ File = "presenterscreen-ButtonHelpNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM_CALLOUT
+{
+ File = "presenterscreen-BorderActiveBottomCallout.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_TOOLBAR_LEFT
+{
+ File = "presenterscreen-BorderToolbarLeft.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_NORMAL
+{
+ File = "presenterscreen-ButtonSlideSorterNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_PAGER_MIDDLE_NORMAL
+{
+ File = "presenterscreen-ScrollbarPagerMiddleNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_FRAME_RIGHT_NORMAL
+{
+ File = "presenterscreen-ButtonFrameRightNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_MOUSE_OVER
+{
+ File = "presenterscreen-ButtonEffectNextMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_TOP_MOUSE_OVER
+{
+ File = "presenterscreen-ScrollbarThumbTopMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_DISABLED
+{
+ File = "presenterscreen-ButtonEffectNextDisabled.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_FRAME_CENTER_MOUSE_OVER
+{
+ File = "presenterscreen-ButtonFrameCenterMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_LEFT
+{
+ File = "presenterscreen-BorderCurrentSlideLeft.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_FRAME_LEFT_MOUSE_OVER
+{
+ File = "presenterscreen-ButtonFrameLeftMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_HELP_SELECTED
+{
+ File = "presenterscreen-ButtonHelpSelected.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_VIEW_BACKGROUND
+{
+ File = "presenterscreen-ViewBackground.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_NOTES_MOUSE_OVER
+{
+ File = "presenterscreen-ButtonNotesMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_PLUS_MOUSE_OVER
+{
+ File = "presenterscreen-ButtonPlusMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_SELECTED
+{
+ File = "presenterscreen-ButtonSlideSorterSelected.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_LABEL_MOUSE_OVER_RIGHT
+{
+ File = "presenterscreen-LabelMouseOverRight.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_SWITCH_MONITOR_NORMAL
+{
+ File = "presenterscreen-ButtonSwitchMonitorNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_TOOLBAR_RIGHT
+{
+ File = "presenterscreen-BorderToolbarRight.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_MIDDLE_NORMAL
+{
+ File = "presenterscreen-ScrollbarThumbMiddleNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_SELECTED
+{
+ File = "presenterscreen-ButtonEffectNextSelected.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_NORMAL
+{
+ File = "presenterscreen-ScrollbarArrowDownNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_TOP_RIGHT
+{
+ File = "presenterscreen-BorderCurrentSlideTopRight.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_PLUS_NORMAL
+{
+ File = "presenterscreen-ButtonPlusNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_TOOLBAR_TOP_RIGHT
+{
+ File = "presenterscreen-BorderToolbarTopRight.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_MINUS_DISABLED
+{
+ File = "presenterscreen-ButtonMinusDisabled.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_DISABLED
+{
+ File = "presenterscreen-ScrollbarArrowDownDisabled.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_FRAME_RIGHT_MOUSE_OVER
+{
+ File = "presenterscreen-ButtonFrameRightMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_SWITCH_MONITOR_MOUSE_OVER
+{
+ File = "presenterscreen-ButtonSwitchMonitorMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_DISABLED
+{
+ File = "presenterscreen-ButtonSlidePreviousDisabled.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_MINUS_SELECTED
+{
+ File = "presenterscreen-ButtonMinusSelected.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_LABEL_MOUSE_OVER_CENTER
+{
+ File = "presenterscreen-LabelMouseOverCenter.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_SLIDE_NEXT_MOUSE_OVER
+{
+ File = "presenterscreen-ButtonSlideNextMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_SLIDE_NEXT_NORMAL
+{
+ File = "presenterscreen-ButtonSlideNextNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_MOUSE_OVER
+{
+ File = "presenterscreen-ButtonSlidePreviousMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_TOP
+{
+ File = "presenterscreen-BorderTop.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_FRAME_LEFT_NORMAL
+{
+ File = "presenterscreen-ButtonFrameLeftNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_MOUSE_OVER
+{
+ File = "presenterscreen-ScrollbarArrowUpMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_NOTES_NORMAL
+{
+ File = "presenterscreen-ButtonNotesNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_DISABLED
+{
+ File = "presenterscreen-ButtonSlideSorterDisabled.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_NORMAL
+{
+ File = "presenterscreen-ButtonEffectNextNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_TOOLBAR_TOP_LEFT
+{
+ File = "presenterscreen-BorderToolbarTopLeft.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM_RIGHT
+{
+ File = "presenterscreen-BorderActiveBottomRight.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_BOTTOM
+{
+ File = "presenterscreen-BorderBottom.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM_LEFT
+{
+ File = "presenterscreen-BorderActiveBottomLeft.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_MOUSE_OVER
+{
+ File = "presenterscreen-ScrollbarArrowDownMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_PLUS_SELECTED
+{
+ File = "presenterscreen-ButtonPlusSelected.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_ACTIVE_TOP_RIGHT
+{
+ File = "presenterscreen-BorderActiveTopRight.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_NORMAL
+{
+ File = "presenterscreen-ButtonSlidePreviousNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_MOUSE_OVER
+{
+ File = "presenterscreen-ButtonSlideSorterMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_MINUS_MOUSE_OVER
+{
+ File = "presenterscreen-ButtonMinusMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_NOTES_DISABLED
+{
+ File = "presenterscreen-ButtonNotesDisabled.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_BOTTOM_LEFT
+{
+ File = "presenterscreen-BorderCurrentSlideBottomLeft.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_TOP_RIGHT
+{
+ File = "presenterscreen-BorderTopRight.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_HELP_MOUSE_OVER
+{
+ File = "presenterscreen-ButtonHelpMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_TOP_NORMAL
+{
+ File = "presenterscreen-ScrollbarThumbTopNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_SELECTED
+{
+ File = "presenterscreen-ScrollbarArrowUpSelected.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_DISABLED
+{
+ File = "presenterscreen-ScrollbarArrowUpDisabled.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_NORMAL
+{
+ File = "presenterscreen-ScrollbarArrowUpNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_TOOLBAR_BOTTOM
+{
+ File = "presenterscreen-BorderToolbarBottom.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_TOP_LEFT
+{
+ File = "presenterscreen-BorderCurrentSlideTopLeft.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_MINUS_NORMAL
+{
+ File = "presenterscreen-ButtonMinusNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_BOTTOM_MOUSE_OVER
+{
+ File = "presenterscreen-ScrollbarThumbBottomMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_ACTIVE_TOP_LEFT
+{
+ File = "presenterscreen-BorderActiveTopLeft.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_BOTTOM
+{
+ File = "presenterscreen-BorderCurrentSlideBottom.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_PAGER_MIDDLE_MOUSE_OVER
+{
+ File = "presenterscreen-ScrollbarPagerMiddleMouseOver.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_LABEL_MOUSE_OVER_LEFT
+{
+ File = "presenterscreen-LabelMouseOverLeft.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_RIGHT
+{
+ File = "presenterscreen-BorderCurrentSlideRight.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BORDER_BOTTOM_RIGHT
+{
+ File = "presenterscreen-BorderBottomRight.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_BOTTOM_NORMAL
+{
+ File = "presenterscreen-ScrollbarThumbBottomNormal.png";
+};
+
+Bitmap BMP_PRESENTERSCREEN_BUTTON_PLUS_DISABLED
+{
+ File = "presenterscreen-ButtonPlusDisabled.png";
+};
diff --git a/sd/source/ui/inc/res_bmp.hrc b/sd/source/ui/inc/res_bmp.hrc
index ce85b79d408f..47dee23b838b 100644
--- a/sd/source/ui/inc/res_bmp.hrc
+++ b/sd/source/ui/inc/res_bmp.hrc
@@ -107,6 +107,99 @@
#define BMP_PLACEHOLDER_MOVIE_LARGE_HOVER (RID_SD_START+417)
#define BMP_PLACEHOLDER_LARGE_END (RID_SD_START+418) // until here!
+// Presenter Screen bitmaps:
+#define BMP_PRESENTERSCREEN_BACKGROUND (RID_SD_START+500)
+#define BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM (RID_SD_START+501)
+#define BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM_CALLOUT (RID_SD_START+502)
+#define BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM_LEFT (RID_SD_START+503)
+#define BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM_RIGHT (RID_SD_START+504)
+#define BMP_PRESENTERSCREEN_BORDER_ACTIVE_LEFT (RID_SD_START+505)
+#define BMP_PRESENTERSCREEN_BORDER_ACTIVE_RIGHT (RID_SD_START+506)
+#define BMP_PRESENTERSCREEN_BORDER_ACTIVE_TOP (RID_SD_START+507)
+#define BMP_PRESENTERSCREEN_BORDER_ACTIVE_TOP_LEFT (RID_SD_START+508)
+#define BMP_PRESENTERSCREEN_BORDER_ACTIVE_TOP_RIGHT (RID_SD_START+509)
+#define BMP_PRESENTERSCREEN_BORDER_BOTTOM (RID_SD_START+510)
+#define BMP_PRESENTERSCREEN_BORDER_BOTTOM_LEFT (RID_SD_START+511)
+#define BMP_PRESENTERSCREEN_BORDER_BOTTOM_RIGHT (RID_SD_START+512)
+#define BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_BOTTOM (RID_SD_START+513)
+#define BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_BOTTOM_LEFT (RID_SD_START+514)
+#define BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_BOTTOM_RIGHT (RID_SD_START+515)
+#define BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_LEFT (RID_SD_START+516)
+#define BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_RIGHT (RID_SD_START+517)
+#define BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_TOP (RID_SD_START+518)
+#define BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_TOP_LEFT (RID_SD_START+519)
+#define BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_TOP_RIGHT (RID_SD_START+520)
+#define BMP_PRESENTERSCREEN_BORDER_LEFT (RID_SD_START+521)
+#define BMP_PRESENTERSCREEN_BORDER_RIGHT (RID_SD_START+522)
+#define BMP_PRESENTERSCREEN_BORDER_TOOLBAR_BOTTOM (RID_SD_START+523)
+#define BMP_PRESENTERSCREEN_BORDER_TOOLBAR_LEFT (RID_SD_START+524)
+#define BMP_PRESENTERSCREEN_BORDER_TOOLBAR_RIGHT (RID_SD_START+525)
+#define BMP_PRESENTERSCREEN_BORDER_TOOLBAR_TOP (RID_SD_START+526)
+#define BMP_PRESENTERSCREEN_BORDER_TOOLBAR_TOP_LEFT (RID_SD_START+527)
+#define BMP_PRESENTERSCREEN_BORDER_TOOLBAR_TOP_RIGHT (RID_SD_START+528)
+#define BMP_PRESENTERSCREEN_BORDER_TOP (RID_SD_START+529)
+#define BMP_PRESENTERSCREEN_BORDER_TOP_LEFT (RID_SD_START+530)
+#define BMP_PRESENTERSCREEN_BORDER_TOP_RIGHT (RID_SD_START+531)
+#define BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_DISABLED (RID_SD_START+532)
+#define BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_MOUSE_OVER (RID_SD_START+533)
+#define BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_NORMAL (RID_SD_START+534)
+#define BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_SELECTED (RID_SD_START+535)
+#define BMP_PRESENTERSCREEN_BUTTON_FRAME_CENTER_MOUSE_OVER (RID_SD_START+536)
+#define BMP_PRESENTERSCREEN_BUTTON_FRAME_CENTER_NORMAL (RID_SD_START+537)
+#define BMP_PRESENTERSCREEN_BUTTON_FRAME_LEFT_MOUSE_OVER (RID_SD_START+538)
+#define BMP_PRESENTERSCREEN_BUTTON_FRAME_LEFT_NORMAL (RID_SD_START+539)
+#define BMP_PRESENTERSCREEN_BUTTON_FRAME_RIGHT_MOUSE_OVER (RID_SD_START+540)
+#define BMP_PRESENTERSCREEN_BUTTON_FRAME_RIGHT_NORMAL (RID_SD_START+541)
+#define BMP_PRESENTERSCREEN_BUTTON_HELP_DISABLED (RID_SD_START+542)
+#define BMP_PRESENTERSCREEN_BUTTON_HELP_MOUSE_OVER (RID_SD_START+543)
+#define BMP_PRESENTERSCREEN_BUTTON_HELP_NORMAL (RID_SD_START+544)
+#define BMP_PRESENTERSCREEN_BUTTON_HELP_SELECTED (RID_SD_START+545)
+#define BMP_PRESENTERSCREEN_BUTTON_MINUS_DISABLED (RID_SD_START+546)
+#define BMP_PRESENTERSCREEN_BUTTON_MINUS_MOUSE_OVER (RID_SD_START+547)
+#define BMP_PRESENTERSCREEN_BUTTON_MINUS_NORMAL (RID_SD_START+548)
+#define BMP_PRESENTERSCREEN_BUTTON_MINUS_SELECTED (RID_SD_START+549)
+#define BMP_PRESENTERSCREEN_BUTTON_NOTES_DISABLED (RID_SD_START+550)
+#define BMP_PRESENTERSCREEN_BUTTON_NOTES_MOUSE_OVER (RID_SD_START+551)
+#define BMP_PRESENTERSCREEN_BUTTON_NOTES_NORMAL (RID_SD_START+552)
+#define BMP_PRESENTERSCREEN_BUTTON_NOTES_SELECTED (RID_SD_START+553)
+#define BMP_PRESENTERSCREEN_BUTTON_PLUS_DISABLED (RID_SD_START+554)
+#define BMP_PRESENTERSCREEN_BUTTON_PLUS_MOUSE_OVER (RID_SD_START+555)
+#define BMP_PRESENTERSCREEN_BUTTON_PLUS_NORMAL (RID_SD_START+556)
+#define BMP_PRESENTERSCREEN_BUTTON_PLUS_SELECTED (RID_SD_START+557)
+#define BMP_PRESENTERSCREEN_BUTTON_SLIDE_NEXT_DISABLED (RID_SD_START+558)
+#define BMP_PRESENTERSCREEN_BUTTON_SLIDE_NEXT_MOUSE_OVER (RID_SD_START+559)
+#define BMP_PRESENTERSCREEN_BUTTON_SLIDE_NEXT_NORMAL (RID_SD_START+560)
+#define BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_DISABLED (RID_SD_START+561)
+#define BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_MOUSE_OVER (RID_SD_START+562)
+#define BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_NORMAL (RID_SD_START+563)
+#define BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_SELECTED (RID_SD_START+564)
+#define BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_DISABLED (RID_SD_START+565)
+#define BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_MOUSE_OVER (RID_SD_START+566)
+#define BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_NORMAL (RID_SD_START+567)
+#define BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_SELECTED (RID_SD_START+568)
+#define BMP_PRESENTERSCREEN_BUTTON_SWITCH_MONITOR_MOUSE_OVER (RID_SD_START+569)
+#define BMP_PRESENTERSCREEN_BUTTON_SWITCH_MONITOR_NORMAL (RID_SD_START+570)
+#define BMP_PRESENTERSCREEN_LABEL_MOUSE_OVER_CENTER (RID_SD_START+571)
+#define BMP_PRESENTERSCREEN_LABEL_MOUSE_OVER_LEFT (RID_SD_START+572)
+#define BMP_PRESENTERSCREEN_LABEL_MOUSE_OVER_RIGHT (RID_SD_START+573)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_DISABLED (RID_SD_START+574)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_MOUSE_OVER (RID_SD_START+575)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_NORMAL (RID_SD_START+576)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_SELECTED (RID_SD_START+577)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_DISABLED (RID_SD_START+578)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_MOUSE_OVER (RID_SD_START+579)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_NORMAL (RID_SD_START+580)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_SELECTED (RID_SD_START+581)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_PAGER_MIDDLE_MOUSE_OVER (RID_SD_START+582)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_PAGER_MIDDLE_NORMAL (RID_SD_START+583)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_BOTTOM_MOUSE_OVER (RID_SD_START+584)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_BOTTOM_NORMAL (RID_SD_START+585)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_MIDDLE_MOUSE_OVER (RID_SD_START+586)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_MIDDLE_NORMAL (RID_SD_START+587)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_TOP_MOUSE_OVER (RID_SD_START+588)
+#define BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_TOP_NORMAL (RID_SD_START+589)
+#define BMP_PRESENTERSCREEN_VIEW_BACKGROUND (RID_SD_START+590)
+
// -----------------------------------------------------------------------------
/*
diff --git a/sd/source/ui/presenter/PresenterHelper.cxx b/sd/source/ui/presenter/PresenterHelper.cxx
index 157eb949a863..8ad42092ced9 100644
--- a/sd/source/ui/presenter/PresenterHelper.cxx
+++ b/sd/source/ui/presenter/PresenterHelper.cxx
@@ -26,6 +26,9 @@
*
************************************************************************/
+#include "sal/config.h"
+
+#include <cstddef>
#include "PresenterHelper.hxx"
#include "CanvasUpdateRequester.hxx"
@@ -34,12 +37,14 @@
#include <com/sun/star/awt/WindowAttribute.hpp>
#include <com/sun/star/awt/WindowClass.hpp>
#include <com/sun/star/awt/WindowDescriptor.hpp>
-#include <osl/file.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <vcl/svapp.hxx>
#include <vcl/window.hxx>
#include <vcl/wrkwin.hxx>
+#include "res_bmp.hrc"
+#include "sdresid.hxx"
+
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using ::rtl::OUString;
@@ -245,39 +250,221 @@ void SAL_CALL PresenterHelper::toTop (
+namespace {
+
+struct IdMapEntry {
+ char const * sid;
+ sal_uInt32 nid;
+};
+
+}
Reference<rendering::XBitmap> SAL_CALL PresenterHelper::loadBitmap (
- const OUString& rsURL,
+ const OUString& id,
const Reference<rendering::XCanvas>& rxCanvas)
throw (RuntimeException)
{
if ( ! rxCanvas.is())
return NULL;
- ::osl::MutexGuard aGuard (::osl::Mutex::getGlobalMutex());
+ static IdMapEntry const map[] = {
+ { "bitmaps/Background.png", BMP_PRESENTERSCREEN_BACKGROUND },
+ { "bitmaps/BorderActiveBottom.png",
+ BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM },
+ { "bitmaps/BorderActiveBottomCallout.png",
+ BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM_CALLOUT },
+ { "bitmaps/BorderActiveBottomLeft.png",
+ BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM_LEFT },
+ { "bitmaps/BorderActiveBottomRight.png",
+ BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM_RIGHT },
+ { "bitmaps/BorderActiveLeft.png",
+ BMP_PRESENTERSCREEN_BORDER_ACTIVE_LEFT },
+ { "bitmaps/BorderActiveRight.png",
+ BMP_PRESENTERSCREEN_BORDER_ACTIVE_RIGHT },
+ { "bitmaps/BorderActiveTop.png",
+ BMP_PRESENTERSCREEN_BORDER_ACTIVE_TOP },
+ { "bitmaps/BorderActiveTopLeft.png",
+ BMP_PRESENTERSCREEN_BORDER_ACTIVE_TOP_LEFT },
+ { "bitmaps/BorderActiveTopRight.png",
+ BMP_PRESENTERSCREEN_BORDER_ACTIVE_TOP_RIGHT },
+ { "bitmaps/BorderBottom.png", BMP_PRESENTERSCREEN_BORDER_BOTTOM },
+ { "bitmaps/BorderBottomLeft.png",
+ BMP_PRESENTERSCREEN_BORDER_BOTTOM_LEFT },
+ { "bitmaps/BorderBottomRight.png",
+ BMP_PRESENTERSCREEN_BORDER_BOTTOM_RIGHT },
+ { "bitmaps/BorderCurrentSlideBottom.png",
+ BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_BOTTOM },
+ { "bitmaps/BorderCurrentSlideBottomLeft.png",
+ BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_BOTTOM_LEFT },
+ { "bitmaps/BorderCurrentSlideBottomRight.png",
+ BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_BOTTOM_RIGHT },
+ { "bitmaps/BorderCurrentSlideLeft.png",
+ BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_LEFT },
+ { "bitmaps/BorderCurrentSlideRight.png",
+ BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_RIGHT },
+ { "bitmaps/BorderCurrentSlideTop.png",
+ BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_TOP },
+ { "bitmaps/BorderCurrentSlideTopLeft.png",
+ BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_TOP_LEFT },
+ { "bitmaps/BorderCurrentSlideTopRight.png",
+ BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_TOP_RIGHT },
+ { "bitmaps/BorderLeft.png", BMP_PRESENTERSCREEN_BORDER_LEFT },
+ { "bitmaps/BorderRight.png", BMP_PRESENTERSCREEN_BORDER_RIGHT },
+ { "bitmaps/BorderToolbarBottom.png",
+ BMP_PRESENTERSCREEN_BORDER_TOOLBAR_BOTTOM },
+ { "bitmaps/BorderToolbarLeft.png",
+ BMP_PRESENTERSCREEN_BORDER_TOOLBAR_LEFT },
+ { "bitmaps/BorderToolbarRight.png",
+ BMP_PRESENTERSCREEN_BORDER_TOOLBAR_RIGHT },
+ { "bitmaps/BorderToolbarTop.png",
+ BMP_PRESENTERSCREEN_BORDER_TOOLBAR_TOP },
+ { "bitmaps/BorderToolbarTopLeft.png",
+ BMP_PRESENTERSCREEN_BORDER_TOOLBAR_TOP_LEFT },
+ { "bitmaps/BorderToolbarTopRight.png",
+ BMP_PRESENTERSCREEN_BORDER_TOOLBAR_TOP_RIGHT },
+ { "bitmaps/BorderTop.png", BMP_PRESENTERSCREEN_BORDER_TOP },
+ { "bitmaps/BorderTopLeft.png", BMP_PRESENTERSCREEN_BORDER_TOP_LEFT },
+ { "bitmaps/BorderTopRight.png", BMP_PRESENTERSCREEN_BORDER_TOP_RIGHT },
+ { "bitmaps/ButtonEffectNextDisabled.png",
+ BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_DISABLED },
+ { "bitmaps/ButtonEffectNextMouseOver.png",
+ BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_MOUSE_OVER },
+ { "bitmaps/ButtonEffectNextNormal.png",
+ BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_NORMAL },
+ { "bitmaps/ButtonEffectNextSelected.png",
+ BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_SELECTED },
+ { "bitmaps/ButtonFrameCenterMouseOver.png",
+ BMP_PRESENTERSCREEN_BUTTON_FRAME_CENTER_MOUSE_OVER },
+ { "bitmaps/ButtonFrameCenterNormal.png",
+ BMP_PRESENTERSCREEN_BUTTON_FRAME_CENTER_NORMAL },
+ { "bitmaps/ButtonFrameLeftMouseOver.png",
+ BMP_PRESENTERSCREEN_BUTTON_FRAME_LEFT_MOUSE_OVER },
+ { "bitmaps/ButtonFrameLeftNormal.png",
+ BMP_PRESENTERSCREEN_BUTTON_FRAME_LEFT_NORMAL },
+ { "bitmaps/ButtonFrameRightMouseOver.png",
+ BMP_PRESENTERSCREEN_BUTTON_FRAME_RIGHT_MOUSE_OVER },
+ { "bitmaps/ButtonFrameRightNormal.png",
+ BMP_PRESENTERSCREEN_BUTTON_FRAME_RIGHT_NORMAL },
+ { "bitmaps/ButtonHelpDisabled.png",
+ BMP_PRESENTERSCREEN_BUTTON_HELP_DISABLED },
+ { "bitmaps/ButtonHelpMouseOver.png",
+ BMP_PRESENTERSCREEN_BUTTON_HELP_MOUSE_OVER },
+ { "bitmaps/ButtonHelpNormal.png",
+ BMP_PRESENTERSCREEN_BUTTON_HELP_NORMAL },
+ { "bitmaps/ButtonHelpSelected.png",
+ BMP_PRESENTERSCREEN_BUTTON_HELP_SELECTED },
+ { "bitmaps/ButtonMinusDisabled.png",
+ BMP_PRESENTERSCREEN_BUTTON_MINUS_DISABLED },
+ { "bitmaps/ButtonMinusMouseOver.png",
+ BMP_PRESENTERSCREEN_BUTTON_MINUS_MOUSE_OVER },
+ { "bitmaps/ButtonMinusNormal.png",
+ BMP_PRESENTERSCREEN_BUTTON_MINUS_NORMAL },
+ { "bitmaps/ButtonMinusSelected.png",
+ BMP_PRESENTERSCREEN_BUTTON_MINUS_SELECTED },
+ { "bitmaps/ButtonNotesDisabled.png",
+ BMP_PRESENTERSCREEN_BUTTON_NOTES_DISABLED },
+ { "bitmaps/ButtonNotesMouseOver.png",
+ BMP_PRESENTERSCREEN_BUTTON_NOTES_MOUSE_OVER },
+ { "bitmaps/ButtonNotesNormal.png",
+ BMP_PRESENTERSCREEN_BUTTON_NOTES_NORMAL },
+ { "bitmaps/ButtonNotesSelected.png",
+ BMP_PRESENTERSCREEN_BUTTON_NOTES_SELECTED },
+ { "bitmaps/ButtonPlusDisabled.png",
+ BMP_PRESENTERSCREEN_BUTTON_PLUS_DISABLED },
+ { "bitmaps/ButtonPlusMouseOver.png",
+ BMP_PRESENTERSCREEN_BUTTON_PLUS_MOUSE_OVER },
+ { "bitmaps/ButtonPlusNormal.png",
+ BMP_PRESENTERSCREEN_BUTTON_PLUS_NORMAL },
+ { "bitmaps/ButtonPlusSelected.png",
+ BMP_PRESENTERSCREEN_BUTTON_PLUS_SELECTED },
+ { "bitmaps/ButtonSlideNextDisabled.png",
+ BMP_PRESENTERSCREEN_BUTTON_SLIDE_NEXT_DISABLED },
+ { "bitmaps/ButtonSlideNextMouseOver.png",
+ BMP_PRESENTERSCREEN_BUTTON_SLIDE_NEXT_MOUSE_OVER },
+ { "bitmaps/ButtonSlideNextNormal.png",
+ BMP_PRESENTERSCREEN_BUTTON_SLIDE_NEXT_NORMAL },
+ { "bitmaps/ButtonSlidePreviousDisabled.png",
+ BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_DISABLED },
+ { "bitmaps/ButtonSlidePreviousMouseOver.png",
+ BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_MOUSE_OVER },
+ { "bitmaps/ButtonSlidePreviousNormal.png",
+ BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_NORMAL },
+ { "bitmaps/ButtonSlidePreviousSelected.png",
+ BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_SELECTED },
+ { "bitmaps/ButtonSlideSorterDisabled.png",
+ BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_DISABLED },
+ { "bitmaps/ButtonSlideSorterMouseOver.png",
+ BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_MOUSE_OVER },
+ { "bitmaps/ButtonSlideSorterNormal.png",
+ BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_NORMAL },
+ { "bitmaps/ButtonSlideSorterSelected.png",
+ BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_SELECTED },
+ { "bitmaps/ButtonSwitchMonitorMouseOver.png",
+ BMP_PRESENTERSCREEN_BUTTON_SWITCH_MONITOR_MOUSE_OVER },
+ { "bitmaps/ButtonSwitchMonitorNormal.png",
+ BMP_PRESENTERSCREEN_BUTTON_SWITCH_MONITOR_NORMAL },
+ { "bitmaps/LabelMouseOverCenter.png",
+ BMP_PRESENTERSCREEN_LABEL_MOUSE_OVER_CENTER },
+ { "bitmaps/LabelMouseOverLeft.png",
+ BMP_PRESENTERSCREEN_LABEL_MOUSE_OVER_LEFT },
+ { "bitmaps/LabelMouseOverRight.png",
+ BMP_PRESENTERSCREEN_LABEL_MOUSE_OVER_RIGHT },
+ { "bitmaps/ScrollbarArrowDownDisabled.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_DISABLED },
+ { "bitmaps/ScrollbarArrowDownMouseOver.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_MOUSE_OVER },
+ { "bitmaps/ScrollbarArrowDownNormal.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_NORMAL },
+ { "bitmaps/ScrollbarArrowDownSelected.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_SELECTED },
+ { "bitmaps/ScrollbarArrowUpDisabled.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_DISABLED },
+ { "bitmaps/ScrollbarArrowUpMouseOver.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_MOUSE_OVER },
+ { "bitmaps/ScrollbarArrowUpNormal.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_NORMAL },
+ { "bitmaps/ScrollbarArrowUpSelected.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_SELECTED },
+ { "bitmaps/ScrollbarPagerMiddleMouseOver.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_PAGER_MIDDLE_MOUSE_OVER },
+ { "bitmaps/ScrollbarPagerMiddleNormal.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_PAGER_MIDDLE_NORMAL },
+ { "bitmaps/ScrollbarThumbBottomMouseOver.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_BOTTOM_MOUSE_OVER },
+ { "bitmaps/ScrollbarThumbBottomNormal.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_BOTTOM_NORMAL },
+ { "bitmaps/ScrollbarThumbMiddleMouseOver.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_MIDDLE_MOUSE_OVER },
+ { "bitmaps/ScrollbarThumbMiddleNormal.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_MIDDLE_NORMAL },
+ { "bitmaps/ScrollbarThumbTopMouseOver.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_TOP_MOUSE_OVER },
+ { "bitmaps/ScrollbarThumbTopNormal.png",
+ BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_TOP_NORMAL },
+ { "bitmaps/ViewBackground.png", BMP_PRESENTERSCREEN_VIEW_BACKGROUND }
+ };
+ sal_uInt32 nid = 0;
+ for (std::size_t i = 0; i != SAL_N_ELEMENTS(map); ++i) {
+ if (id.equalsAscii(map[i].sid)) {
+ nid = map[i].nid;
+ break;
+ }
+ }
+ if (nid == 0) {
+ return 0;
+ }
- if (mpGraphicFilter.get() == NULL)
- mpGraphicFilter.reset(new GraphicFilter(sal_False));
+ ::osl::MutexGuard aGuard (::osl::Mutex::getGlobalMutex());
const cppcanvas::CanvasSharedPtr pCanvas (
cppcanvas::VCLFactory::getInstance().createCanvas(
Reference<css::rendering::XBitmapCanvas>(rxCanvas,UNO_QUERY)));
- if (pCanvas.get()!=NULL && !rsURL.isEmpty() && mpGraphicFilter.get()!=NULL)
+ if (pCanvas.get()!=NULL)
{
- Graphic aGraphic;
- OUString sFileName;
- if (osl::FileBase::getSystemPathFromFileURL(rsURL, sFileName)
- == osl::FileBase::E_None)
- {
- if (mpGraphicFilter->ImportGraphic(aGraphic, rsURL) == GRFILTER_OK)
- {
- BitmapEx aBitmapEx (aGraphic.GetBitmapEx());
- return cppcanvas::VCLFactory::getInstance().createBitmap(
- pCanvas,
- aBitmapEx)->getUNOBitmap();
- }
- }
+ BitmapEx aBitmapEx = SdResId(nid);
+ return cppcanvas::VCLFactory::getInstance().createBitmap(
+ pCanvas, aBitmapEx)->getUNOBitmap();
}
return NULL;
diff --git a/sd/source/ui/presenter/PresenterHelper.hxx b/sd/source/ui/presenter/PresenterHelper.hxx
index 4ad837f74242..dbe3e80857ed 100644
--- a/sd/source/ui/presenter/PresenterHelper.hxx
+++ b/sd/source/ui/presenter/PresenterHelper.hxx
@@ -25,9 +25,7 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase2.hxx>
-#include <svtools/filter.hxx>
#include <boost/noncopyable.hpp>
-#include <boost/scoped_ptr.hpp>
namespace css = ::com::sun::star;
@@ -104,7 +102,6 @@ public:
private:
css::uno::Reference<css::uno::XComponentContext> mxComponentContext;
- ::boost::scoped_ptr<GraphicFilter> mpGraphicFilter;
};
} } // end of namespace ::sd::presenter
diff --git a/sdext/Configuration_presenter.mk b/sdext/Configuration_presenter.mk
deleted file mode 100644
index 456a17294049..000000000000
--- a/sdext/Configuration_presenter.mk
+++ /dev/null
@@ -1,43 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-# Version: MPL 1.1 / GPLv3+ / LGPLv3+
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License or as specified alternatively below. You may obtain a copy of
-# the License at http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# Major Contributor(s):
-# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
-# (initial developer)
-#
-# All Rights Reserved.
-#
-# For minor contributions see the git repository.
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
-# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
-# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
-# instead of those above.
-
-$(eval $(call gb_Configuration_Configuration,presenter-screen,nodeliver))
-
-$(eval $(call gb_Configuration_add_schemas,presenter-screen,sdext/source/presenter/registry/schema,\
- org/openoffice/Office/extension/PresenterScreen.xcs \
-))
-
-$(eval $(call gb_Configuration_add_datas,presenter-screen,sdext/source/presenter/registry/data,\
- org/openoffice/Office/Jobs.xcu \
- org/openoffice/Office/ProtocolHandler.xcu \
-))
-
-$(eval $(call gb_Configuration_add_localized_datas,presenter-screen,sdext/source/presenter/registry/data,\
- org/openoffice/Office/extension/PresenterScreen.xcu \
-))
-
-# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/CustomTarget_presenter.mk b/sdext/CustomTarget_presenter.mk
deleted file mode 100644
index e559bde7167c..000000000000
--- a/sdext/CustomTarget_presenter.mk
+++ /dev/null
@@ -1,39 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-# Version: MPL 1.1 / GPLv3+ / LGPLv3+
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License or as specified alternatively below. You may obtain a copy of
-# the License at http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# Major Contributor(s):
-# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
-# (initial developer)
-#
-# All Rights Reserved.
-#
-# For minor contributions see the git repository.
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
-# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
-# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
-# instead of those above.
-
-$(eval $(call gb_CustomTarget_CustomTarget,sdext/source/presenter/help/en-US/com.sun.PresenterScreen))
-
-$(call gb_CustomTarget_get_target,sdext/source/presenter/help/en-US/com.sun.PresenterScreen) : \
- $(call gb_CustomTarget_get_workdir,sdext/source/presenter/help/en-US/com.sun.PresenterScreen)/presenter.xhp
-
-$(call gb_CustomTarget_get_workdir,sdext/source/presenter/help/en-US/com.sun.PresenterScreen)/presenter.xhp : \
- $(SRCDIR)/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/presenter.xhp \
- | $(call gb_CustomTarget_get_workdir,sdext/source/presenter/help/en-US/com.sun.PresenterScreen)/.dir
- $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),SED,1)
- sed "s/PLATFORMID/$(PLATFORMID)/" < $< > $@
-
-# vim:set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/sdext/Extension_presenter.mk b/sdext/Extension_presenter.mk
deleted file mode 100644
index 93c18a8740ef..000000000000
--- a/sdext/Extension_presenter.mk
+++ /dev/null
@@ -1,146 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-# Version: MPL 1.1 / GPLv3+ / LGPLv3+
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License or as specified alternatively below. You may obtain a copy of
-# the License at http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# Major Contributor(s):
-# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
-# (initial developer)
-#
-# All Rights Reserved.
-#
-# For minor contributions see the git repository.
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
-# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
-# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
-# instead of those above.
-
-$(eval $(call gb_Extension_Extension,presenter-screen,sdext/source/presenter))
-
-$(eval $(call gb_Extension_add_libraries,presenter-screen,\
- PresenterScreen \
-))
-
-$(eval $(call gb_Extension_add_file,presenter-screen,components.rdb,$(call gb_Rdb_get_target,presenter)))
-
-$(eval $(call gb_Extension_add_files,presenter-screen,bitmaps,\
- $(SRCDIR)/icon-themes/galaxy/desktop/res/extension_32.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/Background.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveBottom.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveBottomCallout.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveBottomLeft.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveBottomRight.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveLeft.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveRight.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveTop.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveTopLeft.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveTopRight.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderBottom.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderBottomLeft.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderBottomRight.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideBottom.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideBottomLeft.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideBottomRight.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideLeft.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideRight.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideTop.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideTopLeft.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideTopRight.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderLeft.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderRight.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderToolbarBottom.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderToolbarLeft.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderToolbarRight.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderToolbarTop.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderToolbarTopLeft.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderToolbarTopRight.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderTop.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderTopLeft.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/BorderTopRight.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonEffectNextDisabled.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonEffectNextMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonEffectNextNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonEffectNextSelected.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonFrameCenterMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonFrameCenterNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonFrameLeftMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonFrameLeftNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonFrameRightMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonFrameRightNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonHelpDisabled.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonHelpMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonHelpNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonHelpSelected.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonMinusDisabled.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonMinusMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonMinusNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonMinusSelected.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonNotesDisabled.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonNotesMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonNotesNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonNotesSelected.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonPlusDisabled.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonPlusMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonPlusNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonPlusSelected.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlideNextDisabled.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlideNextMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlideNextNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlidePreviousDisabled.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlidePreviousMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlidePreviousNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlidePreviousSelected.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlideSorterDisabled.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlideSorterMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlideSorterNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlideSorterSelected.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSwitchMonitorMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSwitchMonitorNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/LabelMouseOverCenter.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/LabelMouseOverLeft.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/LabelMouseOverRight.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowDownDisabled.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowDownMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowDownNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowDownSelected.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowUpDisabled.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowUpMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowUpNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowUpSelected.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarPagerMiddleMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarPagerMiddleNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarThumbBottomMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarThumbBottomNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarThumbMiddleMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarThumbMiddleNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarThumbTopMouseOver.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarThumbTopNormal.png \
- $(SRCDIR)/sdext/source/presenter/bitmaps/ViewBackground.png \
-))
-
-$(eval $(call gb_Extension_add_file,presenter-screen,registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs,$(call gb_XcsTarget_get_target,sdext/source/presenter/registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs)))
-
-$(eval $(call gb_Extension_add_file,presenter-screen,registry/data/org/openoffice/Office/extension/PresenterScreen.xcu,$(call gb_XcuFile_for_extension,sdext/source/presenter/registry/data/org/openoffice/Office/extension/PresenterScreen.xcu)))
-
-$(eval $(call gb_Extension_add_files,presenter-screen,registry/data/org/openoffice/Office,\
- $(call gb_XcuDataTarget_get_target,sdext/source/presenter/registry/data/org/openoffice/Office/Jobs.xcu) \
- $(call gb_XcuDataTarget_get_target,sdext/source/presenter/registry/data/org/openoffice/Office/ProtocolHandler.xcu) \
-))
-
-$(eval $(call gb_Extension_add_helpfile,presenter-screen,$(SRCDIR)/sdext/source/presenter/help/en-US,com.sun.PresenterScreen-$(PLATFORMID)/presenter.xhp,com.sun.PresenterScreen/presenter.xhp))
-
-$(eval $(call gb_Extension_add_helptreefile,presenter-screen,$(SRCDIR)/sdext/source/presenter/help/en-US,help.tree,com.sun.PresenterScreen/help.tree,com.sun.PresenterScreen-$(PLATFORMID)))
-
-
-
-# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Library_presenter.mk b/sdext/Library_presenter.mk
index 8153e0d9a845..87418159ef36 100644
--- a/sdext/Library_presenter.mk
+++ b/sdext/Library_presenter.mk
@@ -31,10 +31,6 @@ $(eval $(call gb_Library_set_componentfile,PresenterScreen,sdext/source/presente
$(eval $(call gb_Library_use_sdk_api,PresenterScreen))
-$(eval $(call gb_Library_add_defs,PresenterScreen,\
- -DPRESENTER_IMPL_IDENTIFIER=\"com.sun.PresenterScreen-$(PLATFORMID)\" \
-))
-
$(eval $(call gb_Library_use_libraries,PresenterScreen,\
cppu \
cppuhelper \
diff --git a/sdext/Module_sdext.mk b/sdext/Module_sdext.mk
index 7bba9d936232..779b3bf6b6d7 100644
--- a/sdext/Module_sdext.mk
+++ b/sdext/Module_sdext.mk
@@ -27,6 +27,10 @@
$(eval $(call gb_Module_Module,sdext))
+$(eval $(call gb_Module_add_targets,sdext,\
+ Library_presenter \
+))
+
ifeq ($(ENABLE_MINIMIZER),YES)
$(eval $(call gb_Module_add_targets,sdext,\
Configuration_minimizer \
@@ -53,14 +57,4 @@ $(eval $(call gb_Module_add_check_targets,sdext,\
))
endif
-ifeq ($(ENABLE_PRESENTER_SCREEN),YES)
-$(eval $(call gb_Module_add_targets,sdext,\
- Configuration_presenter \
- CustomTarget_presenter \
- Extension_presenter \
- Library_presenter \
- Rdb_presenter \
-))
-endif
-
# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Rdb_presenter.mk b/sdext/Rdb_presenter.mk
deleted file mode 100644
index c1d4125202b7..000000000000
--- a/sdext/Rdb_presenter.mk
+++ /dev/null
@@ -1,34 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-# Version: MPL 1.1 / GPLv3+ / LGPLv3+
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License or as specified alternatively below. You may obtain a copy of
-# the License at http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# Major Contributor(s):
-# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
-# (initial developer)
-#
-# All Rights Reserved.
-#
-# For minor contributions see the git repository.
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
-# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
-# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
-# instead of those above.
-
-$(eval $(call gb_Rdb_Rdb,presenter))
-
-$(eval $(call gb_Rdb_add_components,presenter,\
- sdext/source/presenter/presenter \
-))
-
-# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/source/presenter/META-INF/manifest.xml b/sdext/source/presenter/META-INF/manifest.xml
deleted file mode 100644
index a25f22fdf81a..000000000000
--- a/sdext/source/presenter/META-INF/manifest.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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-data"
- manifest:full-path="registry/data/org/openoffice/Office/Jobs.xcu"/>
- <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
- manifest:full-path="registry/data/org/openoffice/Office/ProtocolHandler.xcu"/>
- <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
- manifest:full-path="registry/data/org/openoffice/Office/extension/PresenterScreen.xcu"/>
- <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-schema"
- manifest:full-path="registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs"/>
- <manifest:file-entry manifest:media-type="application/vnd.sun.star.help"
- manifest:full-path="help"/>
-</manifest:manifest>
diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx
index b19bac9a6867..b3f8048b05e5 100644
--- a/sdext/source/presenter/PresenterAccessibility.cxx
+++ b/sdext/source/presenter/PresenterAccessibility.cxx
@@ -435,7 +435,7 @@ public:
OUString sName (A2S("Presenter Console"));
PresenterConfigurationAccess aConfiguration (
rxContext,
- OUString("/org.openoffice.Office.extension.PresenterScreen/"),
+ OUString("/org.openoffice.Office.PresenterScreen/"),
PresenterConfigurationAccess::READ_ONLY);
aConfiguration.GetConfigurationNode(A2S("Presenter/Accessibility/Console/String"))
>>= sName;
@@ -465,7 +465,7 @@ public:
{
PresenterConfigurationAccess aConfiguration (
rxContext,
- OUString("/org.openoffice.Office.extension.PresenterScreen/"),
+ OUString("/org.openoffice.Office.PresenterScreen/"),
PresenterConfigurationAccess::READ_ONLY);
aConfiguration.GetConfigurationNode(A2S("Presenter/Accessibility/Preview/String"))
>>= sName;
@@ -1886,7 +1886,7 @@ rtl::Reference<PresenterAccessible::AccessibleObject> AccessibleNotes::Create (
{
PresenterConfigurationAccess aConfiguration (
rxContext,
- OUString("/org.openoffice.Office.extension.PresenterScreen/"),
+ OUString("/org.openoffice.Office.PresenterScreen/"),
PresenterConfigurationAccess::READ_ONLY);
aConfiguration.GetConfigurationNode(A2S("Presenter/Accessibility/Notes/String"))
>>= sName;
diff --git a/sdext/source/presenter/PresenterBitmapContainer.cxx b/sdext/source/presenter/PresenterBitmapContainer.cxx
index 88c4d6d16928..30e4eaf25ff9 100644
--- a/sdext/source/presenter/PresenterBitmapContainer.cxx
+++ b/sdext/source/presenter/PresenterBitmapContainer.cxx
@@ -18,7 +18,6 @@
*/
#include "PresenterBitmapContainer.hxx"
-#include "PresenterComponent.hxx"
#include "PresenterConfigurationAccess.hxx"
#include <com/sun/star/deployment/XPackageInformationProvider.hpp>
@@ -45,11 +44,9 @@ PresenterBitmapContainer::PresenterBitmapContainer (
const ::boost::shared_ptr<PresenterBitmapContainer>& rpParentContainer,
const css::uno::Reference<css::uno::XComponentContext>& rxComponentContext,
const css::uno::Reference<css::rendering::XCanvas>& rxCanvas,
- const OUString& rsBasePath,
const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper)
: mpParentContainer(rpParentContainer),
maIconContainer(),
- msBasePath(rsBasePath),
mxCanvas(rxCanvas),
mxPresenterHelper(rxPresenterHelper)
{
@@ -58,7 +55,7 @@ PresenterBitmapContainer::PresenterBitmapContainer (
// Get access to the configuration.
PresenterConfigurationAccess aConfiguration (
rxComponentContext,
- A2S("org.openoffice.Office.extension.PresenterScreen"),
+ A2S("org.openoffice.Office.PresenterScreen"),
PresenterConfigurationAccess::READ_ONLY);
Reference<container::XNameAccess> xBitmapList (
aConfiguration.GetConfigurationNode(rsConfigurationBase),
@@ -72,11 +69,9 @@ PresenterBitmapContainer::PresenterBitmapContainer (
const ::boost::shared_ptr<PresenterBitmapContainer>& rpParentContainer,
const css::uno::Reference<css::uno::XComponentContext>& rxComponentContext,
const css::uno::Reference<css::rendering::XCanvas>& rxCanvas,
- const OUString& rsBasePath,
const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper)
: mpParentContainer(rpParentContainer),
maIconContainer(),
- msBasePath(rsBasePath),
mxCanvas(rxCanvas),
mxPresenterHelper(rxPresenterHelper)
{
@@ -150,7 +145,6 @@ SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap (
const css::uno::Reference<css::container::XHierarchicalNameAccess>& rxNode,
const ::rtl::OUString& rsPath,
const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper,
- const OUString& rsBasePath,
const css::uno::Reference<css::rendering::XCanvas>& rxCanvas,
const SharedBitmapDescriptor& rpDefault)
{
@@ -167,7 +161,6 @@ SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap (
pBitmap = LoadBitmap(
xBitmapProperties,
rxPresenterHelper,
- rsBasePath,
rxCanvas,
rpDefault);
}
@@ -191,7 +184,6 @@ void PresenterBitmapContainer::ProcessBitmap (
maIconContainer[sName] = LoadBitmap(
rxProperties,
mxPresenterHelper,
- msBasePath,
mxCanvas,
SharedBitmapDescriptor());
}
@@ -199,7 +191,6 @@ void PresenterBitmapContainer::ProcessBitmap (
SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap (
const Reference<beans::XPropertySet>& rxProperties,
const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper,
- const OUString& rsBasePath,
const css::uno::Reference<css::rendering::XCanvas>& rxCanvas,
const SharedBitmapDescriptor& rpDefault)
{
@@ -219,7 +210,7 @@ SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap (
{
pBitmap->SetBitmap(
BitmapDescriptor::Normal,
- rxPresenterHelper->loadBitmap(rsBasePath + sFileName, rxCanvas));
+ rxPresenterHelper->loadBitmap(sFileName, rxCanvas));
}
catch (Exception&)
{}
@@ -228,7 +219,7 @@ SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap (
{
pBitmap->SetBitmap(
BitmapDescriptor::MouseOver,
- rxPresenterHelper->loadBitmap(rsBasePath + sFileName, rxCanvas));
+ rxPresenterHelper->loadBitmap(sFileName, rxCanvas));
}
catch (Exception&)
{}
@@ -237,7 +228,7 @@ SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap (
{
pBitmap->SetBitmap(
BitmapDescriptor::ButtonDown,
- rxPresenterHelper->loadBitmap(rsBasePath + sFileName, rxCanvas));
+ rxPresenterHelper->loadBitmap(sFileName, rxCanvas));
}
catch (Exception&)
{}
@@ -246,7 +237,7 @@ SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap (
{
pBitmap->SetBitmap(
BitmapDescriptor::Disabled,
- rxPresenterHelper->loadBitmap(rsBasePath + sFileName, rxCanvas));
+ rxPresenterHelper->loadBitmap(sFileName, rxCanvas));
}
catch (Exception&)
{}
@@ -255,7 +246,7 @@ SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap (
{
pBitmap->SetBitmap(
BitmapDescriptor::Mask,
- rxPresenterHelper->loadBitmap(rsBasePath + sFileName, rxCanvas));
+ rxPresenterHelper->loadBitmap(sFileName, rxCanvas));
}
catch (Exception&)
{}
diff --git a/sdext/source/presenter/PresenterBitmapContainer.hxx b/sdext/source/presenter/PresenterBitmapContainer.hxx
index 1a44c7f3fc27..c06f6cf58bd5 100644
--- a/sdext/source/presenter/PresenterBitmapContainer.hxx
+++ b/sdext/source/presenter/PresenterBitmapContainer.hxx
@@ -98,14 +98,12 @@ public:
const ::boost::shared_ptr<PresenterBitmapContainer>& rpParentContainer,
const css::uno::Reference<css::uno::XComponentContext>& rxComponentContext,
const css::uno::Reference<css::rendering::XCanvas>& rxCanvas,
- const ::rtl::OUString& rsBasePath,
const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper = NULL);
PresenterBitmapContainer (
const css::uno::Reference<css::container::XNameAccess>& rsRootNode,
const ::boost::shared_ptr<PresenterBitmapContainer>& rpParentContainer,
const css::uno::Reference<css::uno::XComponentContext>& rxComponentContext,
const css::uno::Reference<css::rendering::XCanvas>& rxCanvas,
- const ::rtl::OUString& rsBasePath,
const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper = NULL);
~PresenterBitmapContainer (void);
@@ -120,7 +118,6 @@ public:
const css::uno::Reference<css::container::XHierarchicalNameAccess>& rxNode,
const ::rtl::OUString& rsPathToBitmapNode,
const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper,
- const ::rtl::OUString& rsBitmapBasePath,
const css::uno::Reference<css::rendering::XCanvas>& rxCanvas,
const ::boost::shared_ptr<BitmapDescriptor>& rpDefaultBitmap);
@@ -128,7 +125,6 @@ private:
::boost::shared_ptr<PresenterBitmapContainer> mpParentContainer;
typedef ::std::map<rtl::OUString, ::boost::shared_ptr<BitmapDescriptor> > BitmapContainer;
BitmapContainer maIconContainer;
- ::rtl::OUString msBasePath;
css::uno::Reference<css::rendering::XCanvas> mxCanvas;
css::uno::Reference<css::drawing::XPresenterHelper> mxPresenterHelper;
@@ -140,7 +136,6 @@ private:
static ::boost::shared_ptr<BitmapDescriptor> LoadBitmap (
const css::uno::Reference<css::beans::XPropertySet>& rxProperties,
const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper,
- const ::rtl::OUString& rsBasePath,
const css::uno::Reference<css::rendering::XCanvas>& rxCanvas,
const ::boost::shared_ptr<PresenterBitmapContainer::BitmapDescriptor>& rpDefault);
static BitmapDescriptor::TexturingMode
diff --git a/sdext/source/presenter/PresenterComponent.cxx b/sdext/source/presenter/PresenterComponent.cxx
index cb4d049e6216..de18f450ea0e 100644
--- a/sdext/source/presenter/PresenterComponent.cxx
+++ b/sdext/source/presenter/PresenterComponent.cxx
@@ -17,13 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "PresenterComponent.hxx"
#include "cppuhelper/factory.hxx"
#include "cppuhelper/implementationentry.hxx"
-#include <com/sun/star/deployment/DeploymentException.hpp>
-#include <com/sun/star/deployment/XPackageInformationProvider.hpp>
-#include "PresenterExtensionIdentifier.hxx"
#include "PresenterProtocolHandler.hxx"
#include "PresenterScreen.hxx"
@@ -35,41 +31,6 @@ using ::rtl::OUString;
namespace sdext { namespace presenter {
-::rtl::OUString PresenterComponent::GetBasePath (
- const Reference<XComponentContext>& rxComponentContext)
-{
- return GetBasePath(rxComponentContext, gsExtensionIdentifier);
-}
-
-::rtl::OUString PresenterComponent::GetBasePath (
- const Reference<XComponentContext>& rxComponentContext,
- const OUString& rsExtensionIdentifier)
-{
- static ::rtl::OUString sBasePath;
- if (sBasePath.isEmpty())
- {
- // Determine the base path of the bitmaps.
- Reference<deployment::XPackageInformationProvider> xInformationProvider (
- rxComponentContext->getValueByName(
- OUString(RTL_CONSTASCII_USTRINGPARAM(
- "/singletons/com.sun.star.deployment.PackageInformationProvider"))),
- UNO_QUERY);
- if (xInformationProvider.is())
- {
- try
- {
- sBasePath = xInformationProvider->getPackageLocation(rsExtensionIdentifier)
- + OUString(RTL_CONSTASCII_USTRINGPARAM("/"));
- }
- catch (const deployment::DeploymentException&)
- {
- }
- }
- }
-
- return sBasePath;
-}
-
rtl_StandardModuleCount g_moduleCount = MODULE_COUNT_INIT;
static struct ImplementationEntry gServiceEntries[] =
diff --git a/sdext/source/presenter/PresenterComponent.hxx b/sdext/source/presenter/PresenterComponent.hxx
deleted file mode 100644
index b9a428a4c58f..000000000000
--- a/sdext/source/presenter/PresenterComponent.hxx
+++ /dev/null
@@ -1,48 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * 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 .
- */
-
-#ifndef SDEXT_PRESENTER_COMPONENT_HXX
-#define SDEXT_PRESENTER_COMPONENT_HXX
-
-#include <com/sun/star/uno/XComponentContext.hpp>
-
-namespace css = ::com::sun::star;
-
-namespace sdext { namespace presenter {
-
-/** This string is replaced automatically by the makefile during the
- building of this extension.
-*/
-class PresenterComponent
-{
-public:
- const static ::rtl::OUString gsExtensionIdentifier;
-
- static ::rtl::OUString GetBasePath (
- const css::uno::Reference<css::uno::XComponentContext>& rxComponentContext);
- static ::rtl::OUString GetBasePath (
- const css::uno::Reference<css::uno::XComponentContext>& rxComponentContext,
- const ::rtl::OUString& rsExtensionIdentifier);
-};
-
-} }
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sdext/source/presenter/PresenterConfigurationAccess.cxx b/sdext/source/presenter/PresenterConfigurationAccess.cxx
index 2ae90dc1085a..5fdb8bc5d026 100644
--- a/sdext/source/presenter/PresenterConfigurationAccess.cxx
+++ b/sdext/source/presenter/PresenterConfigurationAccess.cxx
@@ -34,7 +34,7 @@ using ::rtl::OUString;
namespace sdext { namespace presenter {
const ::rtl::OUString PresenterConfigurationAccess::msPresenterScreenRootName =
- A2S("/org.openoffice.Office.extension.PresenterScreen/");
+ A2S("/org.openoffice.Office.PresenterScreen/");
PresenterConfigurationAccess::PresenterConfigurationAccess (
const Reference<XComponentContext>& rxContext,
diff --git a/sdext/source/presenter/PresenterExtensionIdentifier.hxx b/sdext/source/presenter/PresenterExtensionIdentifier.hxx
deleted file mode 100644
index 089f8e377da8..000000000000
--- a/sdext/source/presenter/PresenterExtensionIdentifier.hxx
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * 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 .
- */
-
-#ifndef SDEXT_PRESENTER_EXTENSION_IDENTIFIER_HXX
-#define SDEXT_PRESENTER_EXTENSION_IDENTIFIER_HXX
-
-namespace sdext { namespace presenter {
-
-const ::rtl::OUString PresenterComponent::gsExtensionIdentifier(
- RTL_CONSTASCII_USTRINGPARAM(PRESENTER_IMPL_IDENTIFIER));
-
-} }
-
-#endif
diff --git a/sdext/source/presenter/PresenterHelpView.cxx b/sdext/source/presenter/PresenterHelpView.cxx
index e2c2f3d0aca7..ee6729ffa692 100644
--- a/sdext/source/presenter/PresenterHelpView.cxx
+++ b/sdext/source/presenter/PresenterHelpView.cxx
@@ -346,7 +346,7 @@ void PresenterHelpView::ReadHelpStrings (void)
mpTextContainer.reset(new TextContainer());
PresenterConfigurationAccess aConfiguration (
mxComponentContext,
- OUString("/org.openoffice.Office.extension.PresenterScreen/"),
+ OUString("/org.openoffice.Office.PresenterScreen/"),
PresenterConfigurationAccess::READ_ONLY);
Reference<container::XNameAccess> xStrings (
aConfiguration.GetConfigurationNode(A2S("PresenterScreenSettings/HelpView/HelpStrings")),
diff --git a/sdext/source/presenter/PresenterProtocolHandler.cxx b/sdext/source/presenter/PresenterProtocolHandler.cxx
index 45b671827acf..34da2bd17fb2 100644
--- a/sdext/source/presenter/PresenterProtocolHandler.cxx
+++ b/sdext/source/presenter/PresenterProtocolHandler.cxx
@@ -47,8 +47,6 @@ using ::rtl::OUString;
namespace sdext { namespace presenter {
namespace {
- const static OUString gsProtocol (A2S("vnd.com.sun.star.comp.PresenterScreen:"));
-
class Command
{
public:
@@ -240,7 +238,7 @@ private:
OUString PresenterProtocolHandler::getImplementationName_static (void)
{
- return A2S("vnd.sun.star.sdext.presenter.PresenterProtocolHandler");
+ return OUString("org.libreoffice.comp.PresenterScreenProtocolHandler");
}
Sequence<OUString> PresenterProtocolHandler::getSupportedServiceNames_static (void)
@@ -309,7 +307,7 @@ Reference<frame::XDispatch> SAL_CALL PresenterProtocolHandler::queryDispatch (
Reference<frame::XDispatch> xDispatch;
- if (rURL.Protocol == gsProtocol)
+ if (rURL.Protocol == "vnd.org.libreoffice.presenterscreen:")
{
xDispatch.set(Dispatch::Create(rURL.Path, mpPresenterController));
}
@@ -432,7 +430,7 @@ void SAL_CALL PresenterProtocolHandler::Dispatch::dispatch(
(void)rArguments;
ThrowIfDisposed();
- if (rURL.Protocol == gsProtocol
+ if (rURL.Protocol == "vnd.org.libreoffice.presenterscreen:"
&& rURL.Path == msURLPath)
{
if (mpCommand.get() != NULL)
diff --git a/sdext/source/presenter/PresenterScreen.cxx b/sdext/source/presenter/PresenterScreen.cxx
index bfa2ae2a43d8..d4fadf6e9597 100644
--- a/sdext/source/presenter/PresenterScreen.cxx
+++ b/sdext/source/presenter/PresenterScreen.cxx
@@ -95,14 +95,12 @@ namespace {
OUString PresenterScreenJob::getImplementationName_static (void)
{
- return A2S("com.sun.star.comp.Draw.framework.PresenterScreenJob");
+ return OUString("org.libreoffice.comp.PresenterScreenJob");
}
Sequence<OUString> PresenterScreenJob::getSupportedServiceNames_static (void)
{
- static const ::rtl::OUString sServiceName(
- A2S("com.sun.star.drawing.framework.PresenterScreenJob"));
- return Sequence<rtl::OUString>(&sServiceName, 1);
+ return Sequence<rtl::OUString>();
}
Reference<XInterface> PresenterScreenJob::Create (const Reference<uno::XComponentContext>& rxContext)
@@ -505,7 +503,7 @@ sal_Int32 PresenterScreen::GetPresenterScreenNumber (
Reference<XComponentContext> xContext (mxContextWeak);
PresenterConfigurationAccess aConfiguration (
xContext,
- OUString("/org.openoffice.Office.extension.PresenterScreen/"),
+ OUString("/org.openoffice.Office.PresenterScreen/"),
PresenterConfigurationAccess::READ_ONLY);
bool bStartAlways (false);
if (aConfiguration.GetConfigurationNode(
@@ -654,7 +652,7 @@ void PresenterScreen::SetupConfiguration (
{
PresenterConfigurationAccess aConfiguration (
rxContext,
- OUString("org.openoffice.Office.extension.PresenterScreen"),
+ OUString("org.openoffice.Office.PresenterScreen"),
PresenterConfigurationAccess::READ_ONLY);
maViewDescriptors.clear();
ProcessViewDescriptions(aConfiguration);
diff --git a/sdext/source/presenter/PresenterScrollBar.cxx b/sdext/source/presenter/PresenterScrollBar.cxx
index 576458bd0256..cb87d61f4166 100644
--- a/sdext/source/presenter/PresenterScrollBar.cxx
+++ b/sdext/source/presenter/PresenterScrollBar.cxx
@@ -20,7 +20,6 @@
#include "PresenterScrollBar.hxx"
#include "PresenterBitmapContainer.hxx"
#include "PresenterCanvasHelper.hxx"
-#include "PresenterComponent.hxx"
#include "PresenterGeometryHelper.hxx"
#include "PresenterPaintManager.hxx"
#include "PresenterTimer.hxx"
@@ -272,8 +271,7 @@ void PresenterScrollBar::SetCanvas (const Reference<css::rendering::XCanvas>& rx
OUString("PresenterScreenSettings/ScrollBar/Bitmaps"),
::boost::shared_ptr<PresenterBitmapContainer>(),
mxComponentContext,
- mxCanvas,
- PresenterComponent::GetBasePath(mxComponentContext)));
+ mxCanvas));
mpSharedBitmaps = mpBitmaps;
}
catch(Exception&)
diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx
index 6c5d75da837a..eb0ce723c163 100644
--- a/sdext/source/presenter/PresenterSlideSorter.cxx
+++ b/sdext/source/presenter/PresenterSlideSorter.cxx
@@ -22,7 +22,6 @@
#include "PresenterSlideSorter.hxx"
#include "PresenterButton.hxx"
#include "PresenterCanvasHelper.hxx"
-#include "PresenterComponent.hxx"
#include "PresenterGeometryHelper.hxx"
#include "PresenterHelper.hxx"
#include "PresenterPaintManager.hxx"
@@ -1725,7 +1724,7 @@ PresenterSlideSorter::CurrentSlideFrameRenderer::CurrentSlideFrameRenderer (
{
PresenterConfigurationAccess aConfiguration (
rxContext,
- OUString("/org.openoffice.Office.extension.PresenterScreen/"),
+ OUString("/org.openoffice.Office.PresenterScreen/"),
PresenterConfigurationAccess::READ_ONLY);
Reference<container::XHierarchicalNameAccess> xBitmaps (
aConfiguration.GetConfigurationNode(
@@ -1738,8 +1737,7 @@ PresenterSlideSorter::CurrentSlideFrameRenderer::CurrentSlideFrameRenderer (
A2S("PresenterScreenSettings/SlideSorter/CurrentSlideBorderBitmaps"),
::boost::shared_ptr<PresenterBitmapContainer>(),
rxContext,
- rxCanvas,
- PresenterComponent::GetBasePath(rxContext));
+ rxCanvas);
mpTopLeft = aContainer.GetBitmap(A2S("TopLeft"));
mpTop = aContainer.GetBitmap(A2S("Top"));
diff --git a/sdext/source/presenter/PresenterTheme.cxx b/sdext/source/presenter/PresenterTheme.cxx
index e64f1073c4f7..1fc2f85475af 100644
--- a/sdext/source/presenter/PresenterTheme.cxx
+++ b/sdext/source/presenter/PresenterTheme.cxx
@@ -20,7 +20,6 @@
#include "PresenterTheme.hxx"
#include "PresenterBitmapContainer.hxx"
#include "PresenterCanvasHelper.hxx"
-#include "PresenterComponent.hxx"
#include "PresenterConfigurationAccess.hxx"
#include "PresenterHelper.hxx"
#include <com/sun/star/awt/Point.hpp>
@@ -93,7 +92,6 @@ public:
Reference<XComponentContext> mxComponentContext;
Reference<rendering::XCanvas> mxCanvas;
Reference<drawing::XPresenterHelper> mxPresenterHelper;
- OUString msBasePath;
ReadContext (
const Reference<XComponentContext>& rxContext,
@@ -119,8 +117,6 @@ public:
BorderSize ReadBorderSize (const Reference<container::XNameAccess>& rxNode);
- void SetBitmapSourceExtension (const OUString& rsExtensionName);
-
private:
Any GetByName (
const Reference<container::XNameAccess>& rxNode,
@@ -293,7 +289,7 @@ PresenterTheme::~PresenterTheme (void)
PresenterConfigurationAccess aConfiguration (
mxContext,
- OUString("/org.openoffice.Office.extension.PresenterScreen/"),
+ OUString("/org.openoffice.Office.PresenterScreen/"),
PresenterConfigurationAccess::READ_ONLY);
return aReadContext.ReadTheme(aConfiguration, msThemeName);
@@ -381,7 +377,7 @@ bool PresenterTheme::ConvertToColor (
::boost::shared_ptr<PresenterConfigurationAccess> pConfiguration (
new PresenterConfigurationAccess(
mxContext,
- OUString("/org.openoffice.Office.extension.PresenterScreen/"),
+ OUString("/org.openoffice.Office.PresenterScreen/"),
PresenterConfigurationAccess::READ_WRITE));
// Get configuration node for the view style container of the current
@@ -625,26 +621,11 @@ void PresenterTheme::Theme::Read (
mpParentTheme = rReadContext.ReadTheme(rConfiguration, sParentThemeName);
}
- // Read the extension that contains the bitmaps referenced in this
- // theme.
- OUString sBitmapSourceExtension;
- if ((PresenterConfigurationAccess::GetConfigurationNode(
- mxThemeRoot, A2S("BitmapSourceExtension")) >>= sBitmapSourceExtension)
- && !sBitmapSourceExtension.isEmpty())
- {
- rReadContext.SetBitmapSourceExtension(sBitmapSourceExtension);
- }
- else
- {
- rReadContext.SetBitmapSourceExtension(PresenterComponent::gsExtensionIdentifier);
- }
-
// Background.
mpBackground = PresenterBitmapContainer::LoadBitmap(
mxThemeRoot,
A2S("Background"),
rReadContext.mxPresenterHelper,
- rReadContext.msBasePath,
rReadContext.mxCanvas,
SharedBitmapDescriptor());
@@ -667,8 +648,7 @@ void PresenterTheme::Theme::Read (
? mpParentTheme->mpIconContainer
: ::boost::shared_ptr<PresenterBitmapContainer>(),
rReadContext.mxComponentContext,
- rReadContext.mxCanvas,
- rReadContext.msBasePath));
+ rReadContext.mxCanvas));
// Read fonts.
Reference<container::XNameAccess> xFontNode(
@@ -720,8 +700,7 @@ ReadContext::ReadContext (
const Reference<rendering::XCanvas>& rxCanvas)
: mxComponentContext(rxContext),
mxCanvas(rxCanvas),
- mxPresenterHelper(),
- msBasePath()
+ mxPresenterHelper()
{
Reference<lang::XMultiComponentFactory> xFactory (rxContext->getServiceManager());
if (xFactory.is())
@@ -732,9 +711,6 @@ ReadContext::ReadContext (
rxContext),
UNO_QUERY_THROW);
}
-
- // Get base path to bitmaps.
- SetBitmapSourceExtension(PresenterComponent::gsExtensionIdentifier);
}
ReadContext::~ReadContext (void)
@@ -866,12 +842,6 @@ BorderSize ReadContext::ReadBorderSize (const Reference<container::XNameAccess>&
return aBorderSize;
}
-void ReadContext::SetBitmapSourceExtension (const OUString& rsExtensionIdentifier)
-{
- // Get base path to bitmaps.
- msBasePath = PresenterComponent::GetBasePath(mxComponentContext, rsExtensionIdentifier);
-}
-
//===== PaneStyleContainer ====================================================
void PaneStyleContainer::Read (
@@ -953,7 +923,6 @@ void PaneStyleContainer::ProcessPaneStyle(
: ::boost::shared_ptr<PresenterBitmapContainer>(),
rReadContext.mxComponentContext,
rReadContext.mxCanvas,
- rReadContext.msBasePath,
rReadContext.mxPresenterHelper));
}
@@ -1088,7 +1057,6 @@ void ViewStyleContainer::ProcessViewStyle(
xBackgroundNode,
OUString(),
rReadContext.mxPresenterHelper,
- rReadContext.msBasePath,
rReadContext.mxCanvas,
SharedBitmapDescriptor()));
if (pBackground.get() != NULL && pBackground->GetNormalBitmap().is())
diff --git a/sdext/source/presenter/PresenterToolBar.cxx b/sdext/source/presenter/PresenterToolBar.cxx
index 60e44faaed9f..ac69c76720a8 100644
--- a/sdext/source/presenter/PresenterToolBar.cxx
+++ b/sdext/source/presenter/PresenterToolBar.cxx
@@ -22,7 +22,6 @@
#include "PresenterBitmapContainer.hxx"
#include "PresenterCanvasHelper.hxx"
-#include "PresenterComponent.hxx"
#include "PresenterGeometryHelper.hxx"
#include "PresenterPaintManager.hxx"
#include "PresenterPaneBase.hxx"
@@ -120,7 +119,6 @@ class PresenterToolBar::Context
: private ::boost::noncopyable
{
public:
- ::rtl::OUString msBasePath;
Reference<drawing::XPresenterHelper> mxPresenterHelper;
css::uno::Reference<css::rendering::XCanvas> mxCanvas;
};
@@ -633,11 +631,9 @@ void PresenterToolBar::CreateControls (
// Expand the macro in the bitmap file names.
PresenterConfigurationAccess aConfiguration (
mxComponentContext,
- OUString("/org.openoffice.Office.extension.PresenterScreen/"),
+ OUString("/org.openoffice.Office.PresenterScreen/"),
PresenterConfigurationAccess::READ_ONLY);
- const OUString sBasePath (PresenterComponent::GetBasePath(mxComponentContext));
-
mpCurrentContainerPart.reset(new ElementContainerPart());
maElementContainer.clear();
maElementContainer.push_back(mpCurrentContainerPart);
@@ -651,7 +647,6 @@ void PresenterToolBar::CreateControls (
PresenterConfigurationAccess::GetConfigurationNode(xToolBarNode, A2S("Entries")),
UNO_QUERY);
Context aContext;
- aContext.msBasePath = sBasePath;
aContext.mxPresenterHelper = mpPresenterController->GetPresenterHelper();
aContext.mxCanvas = mxCanvas;
if (xEntries.is()
@@ -1468,7 +1463,6 @@ void ElementMode::ReadElementMode (
xIconNode,
A2S(""),
rContext.mxPresenterHelper,
- rContext.msBasePath,
rContext.mxCanvas,
rpDefaultMode.get()!=NULL ? rpDefaultMode->mpIcon : SharedBitmapDescriptor());
}
diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx
index 7d38f1a7ee7f..7c8124d17d13 100644
--- a/sdext/source/presenter/PresenterWindowManager.cxx
+++ b/sdext/source/presenter/PresenterWindowManager.cxx
@@ -534,7 +534,7 @@ void PresenterWindowManager::RestoreViewMode (void)
sal_Int32 nMode (0);
PresenterConfigurationAccess aConfiguration (
mxComponentContext,
- OUString("/org.openoffice.Office.extension.PresenterScreen/"),
+ OUString("/org.openoffice.Office.PresenterScreen/"),
PresenterConfigurationAccess::READ_ONLY);
aConfiguration.GetConfigurationNode(A2S("Presenter/InitialViewMode")) >>= nMode;
switch (nMode)
@@ -560,7 +560,7 @@ void PresenterWindowManager::StoreViewMode (const ViewMode eViewMode)
{
PresenterConfigurationAccess aConfiguration (
mxComponentContext,
- OUString("/org.openoffice.Office.extension.PresenterScreen/"),
+ OUString("/org.openoffice.Office.PresenterScreen/"),
PresenterConfigurationAccess::READ_WRITE);
aConfiguration.GoToChild(A2S("Presenter"));
Any aValue;
diff --git a/sdext/source/presenter/description-en-US.txt b/sdext/source/presenter/description-en-US.txt
deleted file mode 100644
index 26a10c622fe9..000000000000
--- a/sdext/source/presenter/description-en-US.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-The Presenter Console Extension provides more control over your slide show presentation, such as the ability to see the upcoming slide, the slide notes, and a presentation timer whereas the audience see only the current slide.
-To avoid confusions by displaying a large number of presentation elements, the Presenter Console displays the elements on three different easily changeable views.
diff --git a/sdext/source/presenter/description.xml b/sdext/source/presenter/description.xml
deleted file mode 100644
index e8c52f047c03..000000000000
--- a/sdext/source/presenter/description.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?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:dep="http://openoffice.org/extensions/description/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
-
- <identifier value="com.sun.PresenterScreen-@PLATFORM@" />
-
- <dependencies>
- <OpenOffice.org-minimal-version value="3.3" dep:name="OpenOffice.org 3.3"/>
- </dependencies>
-
- <version value="1.1.1" />
-
- <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">Presenter Console</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>
diff --git a/sdext/source/presenter/presenter.component b/sdext/source/presenter/presenter.component
index 698180404f5e..ee7d1d63c9f1 100644
--- a/sdext/source/presenter/presenter.component
+++ b/sdext/source/presenter/presenter.component
@@ -8,12 +8,9 @@
*
-->
<component xmlns="http://openoffice.org/2010/uno-components"
- loader="com.sun.star.loader.SharedLibrary"
- prefix="presenter">
- <implementation name="com.sun.star.comp.Draw.framework.PresenterScreenJob">
- <service name="com.sun.star.drawing.framework.PresenterScreenJob"/>
- </implementation>
- <implementation name="vnd.sun.star.sdext.presenter.PresenterProtocolHandler">
+ loader="com.sun.star.loader.SharedLibrary" prefix="presenter">
+ <implementation name="org.libreoffice.comp.PresenterScreenJob"/>
+ <implementation name="org.libreoffice.comp.PresenterScreenProtocolHandler">
<service name="com.sun.star.frame.ProtocolHandler"/>
</implementation>
</component>
diff --git a/sdext/source/presenter/registry/data/org/openoffice/Office/Jobs.xcu b/sdext/source/presenter/registry/data/org/openoffice/Office/Jobs.xcu
deleted file mode 100644
index a7991b8cad21..000000000000
--- a/sdext/source/presenter/registry/data/org/openoffice/Office/Jobs.xcu
+++ /dev/null
@@ -1,37 +0,0 @@
-<?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="Jobs" 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="Jobs">
- <node oor:name="onDocumentOpenedJob" oor:op="replace">
- <prop oor:name="Service">
- <value>com.sun.star.comp.Draw.framework.PresenterScreenJob</value>
- </prop>
- <prop oor:name="Context">
- <value>com.sun.star.presentation.PresentationDocument</value>
- </prop>
- </node>
- </node>
- <node oor:name="Events">
- <node oor:name="onDocumentOpened" oor:op="fuse">
- <node oor:name="JobList">
- <node oor:name="onDocumentOpenedJob" oor:op="replace"/>
- </node>
- </node>
- </node>
-</oor:component-data>
diff --git a/sdext/source/presenter/registry/data/org/openoffice/Office/ProtocolHandler.xcu b/sdext/source/presenter/registry/data/org/openoffice/Office/ProtocolHandler.xcu
deleted file mode 100644
index b1ecdb0d47fa..000000000000
--- a/sdext/source/presenter/registry/data/org/openoffice/Office/ProtocolHandler.xcu
+++ /dev/null
@@ -1,27 +0,0 @@
-<?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="vnd.sun.star.sdext.presenter.PresenterProtocolHandler" oor:op="replace">
- <prop oor:name="Protocols">
- <value>vnd.com.sun.star.comp.PresenterScreen:*</value>
- </prop>
- </node>
- </node>
-</oor:component-data>