39da7ee77e
Changes made are as Follows /officecfg/registry/schema/org/openoffice/Office/Impress.xcs To add the new global checkbox to Libreoffice Impress>General>Start A new xml block for EnablePresenterScreen was added <prop oor:name="EnablePresenterScreen" oor:type="xs:boolean" > /sd/source/ui/app/optsitem.cxx To add the setter/getter for the new checkbox button, namely: SetEnablePresenterScreen IsEnablePresenterScreen EnablePresenterScreen added to index number 26 of: GetPropNameArray() /sd/source/ui/dlg/tpoption.cxx SdTpOptionsMisc() editted to attach EnablePresenterScreen to CBX_ENABLE_PRESENTER_SCREEN aCbxEnablePresenterScreen ( this, SdResId( CBX_ENABLE_PRESENTER_SCREEN)) Also Added to FillItemSet() and Reset() functions /sd/source/ui/dlg/tpoption.src b/sd/source/ui/dlg/tpoption.src enableSdRemote size changed to Size = MAP_APPFONT ( 116 , 10 ) ; Pos = MAP_APPFONT ( 12 , 171 ) ; 158 was correct but 171 was added on request To allow enableSdRemote(CBX_ENABLE_SDREMOTE) and enablePresenterScreen( CBX_ENABLE_PRESENTER_SCREEN) to be drawn adjacent. enablePresenterScreen checkbox CBX_ENABLE_PRESENTER_SCREEN added /sd/source/ui/inc/optsitem.hxx Set default value for enablePresenterScreen as 1 or TRUE sal_Bool bEnablePresenterScreen : 1; Added getter/setter named same as above for interface definition sd/source/ui/inc/tpoption.hrc Defined CBX_ENABLE_PRESENTER_SCREEN as 42nd checkbox #define CBX_ENABLE_PRESENTER_SCREEN 42 /sd/source/ui/inc/tpoption.hxx Added interface declaration of aCbxEnablePresenterScreen which was attached to CBX_ENABLE_PRESENTER_SCREEN /sdext/source/presenter/PresenterScreen.hxx Added interface declaration of bool isPresenterScreenEnabled() to PresenterScreen class to allow presenterscreen to get if the option is checked /sdext/source/presenter/PresenterScreen.cxx Added definition of isPresenterScreenEnabled(const css::uno::Reference<css::uno::XComponentContext>& rxContext) Input : Current Process Context Output : The 0/1 value of EnablePresenterScreen from presenterconfig In PresenterScreenListener::notifyEvent( ) Added if(mpPresenterScreen->isPresenterScreenEnabled(mxComponentContext) mpPresenterScreen->InitializePresenterScreen() To initialize PresenterScreen only when enabled Change-Id: If8242e607323df57d8e78d08cf2129d03c0c9e4f Reviewed-on: https://gerrit.libreoffice.org/3762 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> |
||
---|---|---|
.. | ||
presenter.component | ||
PresenterAccessibility.cxx | ||
PresenterAccessibility.hxx | ||
PresenterBitmapContainer.cxx | ||
PresenterBitmapContainer.hxx | ||
PresenterButton.cxx | ||
PresenterButton.hxx | ||
PresenterCanvasHelper.cxx | ||
PresenterCanvasHelper.hxx | ||
PresenterComponent.cxx | ||
PresenterConfigurationAccess.cxx | ||
PresenterConfigurationAccess.hxx | ||
PresenterController.cxx | ||
PresenterController.hxx | ||
PresenterCurrentSlideObserver.cxx | ||
PresenterCurrentSlideObserver.hxx | ||
PresenterFrameworkObserver.cxx | ||
PresenterFrameworkObserver.hxx | ||
PresenterGeometryHelper.cxx | ||
PresenterGeometryHelper.hxx | ||
PresenterHelper.cxx | ||
PresenterHelper.hxx | ||
PresenterHelpView.cxx | ||
PresenterHelpView.hxx | ||
PresenterNotesView.cxx | ||
PresenterNotesView.hxx | ||
PresenterPaintManager.cxx | ||
PresenterPaintManager.hxx | ||
PresenterPane.cxx | ||
PresenterPane.hxx | ||
PresenterPaneBase.cxx | ||
PresenterPaneBase.hxx | ||
PresenterPaneBorderManager.cxx | ||
PresenterPaneBorderManager.hxx | ||
PresenterPaneBorderPainter.cxx | ||
PresenterPaneBorderPainter.hxx | ||
PresenterPaneContainer.cxx | ||
PresenterPaneContainer.hxx | ||
PresenterPaneFactory.cxx | ||
PresenterPaneFactory.hxx | ||
PresenterProtocolHandler.cxx | ||
PresenterProtocolHandler.hxx | ||
PresenterScreen.cxx | ||
PresenterScreen.hxx | ||
PresenterScrollBar.cxx | ||
PresenterScrollBar.hxx | ||
PresenterSlidePreview.cxx | ||
PresenterSlidePreview.hxx | ||
PresenterSlideShowView.cxx | ||
PresenterSlideShowView.hxx | ||
PresenterSlideSorter.cxx | ||
PresenterSlideSorter.hxx | ||
PresenterSprite.cxx | ||
PresenterSprite.hxx | ||
PresenterSpritePane.cxx | ||
PresenterSpritePane.hxx | ||
PresenterTextView.cxx | ||
PresenterTextView.hxx | ||
PresenterTheme.cxx | ||
PresenterTheme.hxx | ||
PresenterTimer.cxx | ||
PresenterTimer.hxx | ||
PresenterToolBar.cxx | ||
PresenterToolBar.hxx | ||
PresenterUIPainter.cxx | ||
PresenterUIPainter.hxx | ||
PresenterViewFactory.cxx | ||
PresenterViewFactory.hxx | ||
PresenterWindowManager.cxx | ||
PresenterWindowManager.hxx |