-- cgit v1.2.3 -- cgit v1.2.3 From 3bd28753082fbc07c7b23cca9a225edf350c245b Mon Sep 17 00:00:00 2001 From: Andre Fischer Date: Tue, 24 Mar 2009 13:55:12 +0000 Subject: #i98806# Added IsSoundEnabled property to mute sound in some slide show views. --- sdext/source/presenter/PresenterSlideShowView.cxx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/sdext/source/presenter/PresenterSlideShowView.cxx b/sdext/source/presenter/PresenterSlideShowView.cxx index ded3fe69c554..2816c7bee395 100644 --- a/sdext/source/presenter/PresenterSlideShowView.cxx +++ b/sdext/source/presenter/PresenterSlideShowView.cxx @@ -162,7 +162,17 @@ void PresenterSlideShowView::LateInit (void) // Add the new slide show view to the slide show. if (mxSlideShow.is() && ! mbIsViewAdded) { - mxSlideShow->addView(this); + Reference xView (this); + mxSlideShow->addView(xView); + // Prevent embeded sounds being played twice at the same time by + // disabling sound for the new slide show view. + beans::PropertyValue aProperty; + aProperty.Name = A2S("IsSoundEnabled"); + Sequence aValues (2); + aValues[0] <<= xView; + aValues[1] <<= sal_False; + aProperty.Value <<= aValues; + mxSlideShow->setProperty(aProperty); mbIsViewAdded = true; } -- cgit v1.2.3 From 08b4374045238631144b6927bf6f1253e98cd6b2 Mon Sep 17 00:00:00 2001 From: Andre Fischer Date: Wed, 25 Mar 2009 13:25:25 +0000 Subject: #i48179# Added support for stepping back by effect. --- sdext/source/presenter/PresenterController.cxx | 11 ++++++++++- sdext/source/presenter/PresenterCurrentSlideObserver.cxx | 4 ++-- sdext/source/presenter/PresenterCurrentSlideObserver.hxx | 2 +- sdext/source/presenter/description.xml | 4 ++-- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/sdext/source/presenter/PresenterController.cxx b/sdext/source/presenter/PresenterController.cxx index bcf88fddfa95..d27826c36f78 100644 --- a/sdext/source/presenter/PresenterController.cxx +++ b/sdext/source/presenter/PresenterController.cxx @@ -918,13 +918,22 @@ void SAL_CALL PresenterController::keyReleased (const awt::KeyEvent& rEvent) break; case awt::Key::PAGEUP: + if (mxSlideShowController.is()) + { + if (rEvent.Modifiers == awt::KeyModifier::MOD2) + mxSlideShowController->gotoPreviousSlide(); + else + mxSlideShowController->gotoPreviousEffect(); + } + break; + case awt::Key::LEFT: case awt::Key::UP: case awt::Key::P: case awt::Key::BACKSPACE: if (mxSlideShowController.is()) { - mxSlideShowController->gotoPreviousSlide(); + mxSlideShowController->gotoPreviousEffect(); } break; diff --git a/sdext/source/presenter/PresenterCurrentSlideObserver.cxx b/sdext/source/presenter/PresenterCurrentSlideObserver.cxx index 7776cffb0f09..604908ac3254 100644 --- a/sdext/source/presenter/PresenterCurrentSlideObserver.cxx +++ b/sdext/source/presenter/PresenterCurrentSlideObserver.cxx @@ -109,13 +109,13 @@ void SAL_CALL PresenterCurrentSlideObserver::resumed (void) { } -void SAL_CALL PresenterCurrentSlideObserver::slideEnded (void) +void SAL_CALL PresenterCurrentSlideObserver::slideEnded (sal_Bool bReverse) throw (css::uno::RuntimeException) { // Determine whether the new current slide (the one after the one that // just ended) is the slide past the last slide in the presentation, // i.e. the one that says something like "click to end presentation...". - if (mxSlideShowController.is()) + if (mxSlideShowController.is() && !bReverse) if (mxSlideShowController->getNextSlideIndex() < 0) if( mpPresenterController.is() ) mpPresenterController->UpdateCurrentSlide(+1); diff --git a/sdext/source/presenter/PresenterCurrentSlideObserver.hxx b/sdext/source/presenter/PresenterCurrentSlideObserver.hxx index e4cbd6fbf19d..7b6f231f0576 100644 --- a/sdext/source/presenter/PresenterCurrentSlideObserver.hxx +++ b/sdext/source/presenter/PresenterCurrentSlideObserver.hxx @@ -76,7 +76,7 @@ public: virtual void SAL_CALL slideTransitionStarted( ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL slideTransitionEnded( ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL slideAnimationsEnded( ) throw (::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL slideEnded( ) throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL slideEnded(sal_Bool bReverse) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL hyperLinkClicked( const ::rtl::OUString& hyperLink ) throw (::com::sun::star::uno::RuntimeException); // XAnimationListener diff --git a/sdext/source/presenter/description.xml b/sdext/source/presenter/description.xml index 11213c0aa639..af1c4fee348e 100644 --- a/sdext/source/presenter/description.xml +++ b/sdext/source/presenter/description.xml @@ -8,7 +8,7 @@ - + @@ -17,7 +17,7 @@ - + -- cgit v1.2.3 -- cgit v1.2.3 -- cgit v1.2.3 -- cgit v1.2.3 From c9066a25c11af5dbe0bc27d8fa64fb07e97059fd Mon Sep 17 00:00:00 2001 From: Andre Fischer Date: Mon, 21 Sep 2009 15:26:12 +0000 Subject: #i105185# Added help files. --- .../presenter.xhp | 189 +++++++++++++++++++++ .../presenter.xhp | 189 +++++++++++++++++++++ .../presenter.xhp | 189 +++++++++++++++++++++ .../presenter.xhp | 189 +++++++++++++++++++++ sdext/source/presenter/makefile.mk | 18 +- sdext/source/presenter/manifest.xml | 4 +- 6 files changed, 771 insertions(+), 7 deletions(-) create mode 100755 sdext/source/presenter/help/en-US/com.sun.PresenterScreen-linux_x86/presenter.xhp create mode 100755 sdext/source/presenter/help/en-US/com.sun.PresenterScreen-macosx_x86/presenter.xhp create mode 100755 sdext/source/presenter/help/en-US/com.sun.PresenterScreen-solaris_sparc/presenter.xhp create mode 100755 sdext/source/presenter/help/en-US/com.sun.PresenterScreen-windows_x86/presenter.xhp diff --git a/sdext/source/presenter/help/en-US/com.sun.PresenterScreen-linux_x86/presenter.xhp b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen-linux_x86/presenter.xhp new file mode 100755 index 000000000000..ba804733ac7d --- /dev/null +++ b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen-linux_x86/presenter.xhp @@ -0,0 +1,189 @@ + + + + + + + + + Sun Presenter Console Keyboard Shortcuts + /com.sun.PresenterScreen-linux_x86/presenter.xhp + + + + +Presenter Console shortcuts + +Sun Presenter Console Keyboard Shortcuts + When running a slide show using the Sun Presenter Console, you can use the following keys: + + + + Action + + + Key or Keys + + + + + Next slide, or next effect + + + Left click, right arrow, down arrow, spacebar, page down, enter, return, 'N' + + + + + Previous slide, or previous effect + + + Right click, left arrow, up arrow, page up, backspace, 'P' + + + + + First slide + + + Home + + + + + Last slide + + + End + + + + + Previous slide without effects + + + Alt+Page Up + + + + + Next slide without effects + + + Alt+Page Down + + + + + Black/Unblack the screen + + + 'B', '.' + + + + + White/Unwhite the screen + + + 'W', ',' + + + + + End slide show + + + Esc, '-' + + + + + Go to slide number + + + Number followed by Enter + + + + + Grow/Shrink size of notes font + + + 'G', 'S' + + + + + Scroll notes up/down + + + 'A', 'Z' + + + + + Move caret in notes view backward/forward + + + 'H', 'L' + + + + + Show the Presenter Console + + + Ctrl-'1' + + + + + Show the Presentation Notes + + + Ctrl-'2' + + + + + Show the Slides Overview + + + Ctrl-'3' + + +
+ + +
diff --git a/sdext/source/presenter/help/en-US/com.sun.PresenterScreen-macosx_x86/presenter.xhp b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen-macosx_x86/presenter.xhp new file mode 100755 index 000000000000..551fa61b5849 --- /dev/null +++ b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen-macosx_x86/presenter.xhp @@ -0,0 +1,189 @@ + + + + + + + + + Sun Presenter Console Keyboard Shortcuts + /com.sun.PresenterScreen-macosx_x86/presenter.xhp + + + + +Presenter Console shortcuts + +Sun Presenter Console Keyboard Shortcuts + When running a slide show using the Sun Presenter Console, you can use the following keys: + + + + Action + + + Key or Keys + + + + + Next slide, or next effect + + + Left click, right arrow, down arrow, spacebar, page down, enter, return, 'N' + + + + + Previous slide, or previous effect + + + Right click, left arrow, up arrow, page up, backspace, 'P' + + + + + First slide + + + Home + + + + + Last slide + + + End + + + + + Previous slide without effects + + + Alt+Page Up + + + + + Next slide without effects + + + Alt+Page Down + + + + + Black/Unblack the screen + + + 'B', '.' + + + + + White/Unwhite the screen + + + 'W', ',' + + + + + End slide show + + + Esc, '-' + + + + + Go to slide number + + + Number followed by Enter + + + + + Grow/Shrink size of notes font + + + 'G', 'S' + + + + + Scroll notes up/down + + + 'A', 'Z' + + + + + Move caret in notes view backward/forward + + + 'H', 'L' + + + + + Show the Presenter Console + + + Ctrl-'1' + + + + + Show the Presentation Notes + + + Ctrl-'2' + + + + + Show the Slides Overview + + + Ctrl-'3' + + +
+ + +
diff --git a/sdext/source/presenter/help/en-US/com.sun.PresenterScreen-solaris_sparc/presenter.xhp b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen-solaris_sparc/presenter.xhp new file mode 100755 index 000000000000..a6e2b55d2e7d --- /dev/null +++ b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen-solaris_sparc/presenter.xhp @@ -0,0 +1,189 @@ + + + + + + + + + Sun Presenter Console Keyboard Shortcuts + /com.sun.PresenterScreen-solaris_sparc/presenter.xhp + + + + +Presenter Console shortcuts + +Sun Presenter Console Keyboard Shortcuts + When running a slide show using the Sun Presenter Console, you can use the following keys: + + + + Action + + + Key or Keys + + + + + Next slide, or next effect + + + Left click, right arrow, down arrow, spacebar, page down, enter, return, 'N' + + + + + Previous slide, or previous effect + + + Right click, left arrow, up arrow, page up, backspace, 'P' + + + + + First slide + + + Home + + + + + Last slide + + + End + + + + + Previous slide without effects + + + Alt+Page Up + + + + + Next slide without effects + + + Alt+Page Down + + + + + Black/Unblack the screen + + + 'B', '.' + + + + + White/Unwhite the screen + + + 'W', ',' + + + + + End slide show + + + Esc, '-' + + + + + Go to slide number + + + Number followed by Enter + + + + + Grow/Shrink size of notes font + + + 'G', 'S' + + + + + Scroll notes up/down + + + 'A', 'Z' + + + + + Move caret in notes view backward/forward + + + 'H', 'L' + + + + + Show the Presenter Console + + + Ctrl-'1' + + + + + Show the Presentation Notes + + + Ctrl-'2' + + + + + Show the Slides Overview + + + Ctrl-'3' + + +
+ + +
diff --git a/sdext/source/presenter/help/en-US/com.sun.PresenterScreen-windows_x86/presenter.xhp b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen-windows_x86/presenter.xhp new file mode 100755 index 000000000000..fabd7a3fa35c --- /dev/null +++ b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen-windows_x86/presenter.xhp @@ -0,0 +1,189 @@ + + + + + + + + + Sun Presenter Console Keyboard Shortcuts + /com.sun.PresenterScreen-windows_x86/presenter.xhp + + + + +Presenter Console shortcuts + +Sun Presenter Console Keyboard Shortcuts + When running a slide show using the Sun Presenter Console, you can use the following keys: + + + + Action + + + Key or Keys + + + + + Next slide, or next effect + + + Left click, right arrow, down arrow, spacebar, page down, enter, return, 'N' + + + + + Previous slide, or previous effect + + + Right click, left arrow, up arrow, page up, backspace, 'P' + + + + + First slide + + + Home + + + + + Last slide + + + End + + + + + Previous slide without effects + + + Alt+Page Up + + + + + Next slide without effects + + + Alt+Page Down + + + + + Black/Unblack the screen + + + 'B', '.' + + + + + White/Unwhite the screen + + + 'W', ',' + + + + + End slide show + + + Esc, '-' + + + + + Go to slide number + + + Number followed by Enter + + + + + Grow/Shrink size of notes font + + + 'G', 'S' + + + + + Scroll notes up/down + + + 'A', 'Z' + + + + + Move caret in notes view backward/forward + + + 'H', 'L' + + + + + Show the Presenter Console + + + Ctrl-'1' + + + + + Show the Presentation Notes + + + Ctrl-'2' + + + + + Show the Slides Overview + + + Ctrl-'3' + + +
+ + +
diff --git a/sdext/source/presenter/makefile.mk b/sdext/source/presenter/makefile.mk index b35c3f3a4ae0..fe1aced3c52e 100644 --- a/sdext/source/presenter/makefile.mk +++ b/sdext/source/presenter/makefile.mk @@ -131,12 +131,11 @@ FIND_XCU=registry/data FIND_XCU=$(MISC)$/$(EXTNAME)_in$/merge .ENDIF # "$(WITH_LANG)"=="" - COMPONENT_FILES= \ $(ZIP1DIR)$/registry$/data$/org$/openoffice$/Office$/Jobs.xcu \ $(ZIP1DIR)$/registry$/data$/org$/openoffice$/Office$/ProtocolHandler.xcu \ - $(ZIP1DIR)$/registry$/schema/org$/openoffice$/Office$/extension$/PresenterScreen.xcs \ - $(ZIP1DIR)$/registry$/data/$/org$/openoffice$/Office$/extension$/PresenterScreen.xcu + $(ZIP1DIR)$/registry$/schema/org$/openoffice$/Office$/extension$/PresenterScreen.xcs \ + $(ZIP1DIR)$/registry$/data/$/org$/openoffice$/Office$/extension$/PresenterScreen.xcu #COMPONENT_MERGED_XCU= \ # $(FIND_XCU)$/org$/openoffice$/Office$/extension$/PresenterScreen.xcu @@ -244,8 +243,11 @@ COMPONENT_MANIFEST= \ COMPONENT_LIBRARY= \ $(ZIP1DIR)$/$(TARGET).uno$(DLLPOST) +PLATFORMID:=$(RTL_OS:l)_$(RTL_ARCH:l) + COMPONENT_HELP= \ - $(ZIP1DIR)$/help/component.txt + $(ZIP1DIR)$/help/component.txt \ + $(foreach,l,$(alllangiso) $(ZIP1DIR)$/help$/$l$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp) ZIP1DEPS= \ $(PACKLICS) \ @@ -257,7 +259,6 @@ ZIP1DEPS= \ $(COMPONENT_HELP) # $(COMPONENT_MERGED_XCU) \ -PLATFORMID:=$(RTL_OS:l)_$(RTL_ARCH:l) # --- Targets ---------------------------------- @@ -274,10 +275,15 @@ $(COMPONENT_MANIFEST) : $$(@:f) @-$(MKDIRHIER) $(@:d) +$(TYPE) $< | $(SED) "s/SHARED_EXTENSION/$(DLLPOST)/" > $@ -$(COMPONENT_HELP) : help$/$$(@:f) +$(ZIP1DIR)$/help$/component.txt : help$/$$(@:f) @@-$(MKDIRHIER) $(@:d) $(COPY) $< $@ +$(ZIP1DIR)$/help$/%$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp : help$/%$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp + @echo copying $@ to $< + $(MKDIRHIER) $(@:d) + $(COPY) $< $@ + #$(COMPONENT_FILES) : $$(@:f) # -$(MKDIRHIER) $(@:d) # $(COPY) $< $@ diff --git a/sdext/source/presenter/manifest.xml b/sdext/source/presenter/manifest.xml index facffec5527d..7466467f879f 100644 --- a/sdext/source/presenter/manifest.xml +++ b/sdext/source/presenter/manifest.xml @@ -11,6 +11,8 @@ manifest:full-path="registry/data/org/openoffice/Office/extension/PresenterScreen.xcu"/> + + manifest:full-path="help/component.txt"/> -- cgit v1.2.3 From 5d21864366393050c8ece54e2f6a3dce8a3afff4 Mon Sep 17 00:00:00 2001 From: Andre Fischer Date: Tue, 22 Sep 2009 08:07:25 +0000 Subject: #i105185# Increased version number to 1.0.3 --- sdext/source/presenter/description.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdext/source/presenter/description.xml b/sdext/source/presenter/description.xml index 11213c0aa639..0289e7514a2e 100644 --- a/sdext/source/presenter/description.xml +++ b/sdext/source/presenter/description.xml @@ -17,7 +17,7 @@ - + -- cgit v1.2.3 From 63fa3c48e2ab664802c75fba42873e9fe56b58b3 Mon Sep 17 00:00:00 2001 From: Andre Fischer Date: Fri, 16 Oct 2009 12:00:49 +0000 Subject: #i48179# Fixed wrong resolution of merge conflict. --- sdext/source/presenter/PresenterController.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/sdext/source/presenter/PresenterController.cxx b/sdext/source/presenter/PresenterController.cxx index e95e4d73664f..699df813bb9d 100644 --- a/sdext/source/presenter/PresenterController.cxx +++ b/sdext/source/presenter/PresenterController.cxx @@ -1013,7 +1013,6 @@ void SAL_CALL PresenterController::keyReleased (const awt::KeyEvent& rEvent) } break; - case awt::Key::LEFT: case awt::Key::UP: case awt::Key::P: case awt::Key::BACKSPACE: -- cgit v1.2.3 From 683118f4dfec0a5490052254445b52bb61911189 Mon Sep 17 00:00:00 2001 From: Andre Fischer Date: Fri, 16 Oct 2009 12:59:19 +0000 Subject: #i105185# Added notification for transformation change on resize. --- sdext/source/presenter/PresenterSlideShowView.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sdext/source/presenter/PresenterSlideShowView.cxx b/sdext/source/presenter/PresenterSlideShowView.cxx index 518595082683..5acf57ff87fd 100644 --- a/sdext/source/presenter/PresenterSlideShowView.cxx +++ b/sdext/source/presenter/PresenterSlideShowView.cxx @@ -1053,6 +1053,15 @@ void PresenterSlideShowView::Resize (void) // for the new size. CreateBackgroundPolygons(); + // Notify listeners that the transformation that maps the view into the + // window has changed. + lang::EventObject aEvent (static_cast(this)); + ::cppu::OInterfaceContainerHelper* pIterator + = maBroadcaster.getContainer(getCppuType((Reference*)NULL)); + if (pIterator != NULL) + { + pIterator->notifyEach(&util::XModifyListener::modified, aEvent); + } // Due to constant aspect ratio resizing may lead a preview that changes // its position but not its size. This invalidates the back buffer and -- cgit v1.2.3