https://bugs.freedesktop.org/show_bug.cgi?id=56995

--- Comment #27 from Manik Malhotra <[email protected]> ---
(In reply to comment #15)
> Some code pointers, to turn this into an EasyHack:
> 
> The presenter screen registers a job that runs on every new Impress
> document, here:
> officecfg/registry/data/org/openoffice/Office/Jobs.xcu
> 
> , which then runs PresenterScreenJob::execute() from
> sdext/source/presenter/PresenterScreen.cxx, which in turn registers a
> slideshow listener, that fires up the console once slideshow is started (and
> more than one display is connected).
> 
> Easiest hack: switch off this PresenterScreenJob direclty in Jobs.xcu. That
> sucks slightly, because it does not have an effect (neither disable nor
> enable) for already loaded documents.
> 
> Slightly more involved hack: kill off the PresenterScreenJob entirely (since
> we're no extension anymore), instead instantiate PresenterScreen direclty
> where this OnStartPresentation event is sent
> (SlideshowImpl::startShowImpl(), in
> sd/source/ui/slideshow/slideshowimpl.cxx).
> 
> Have UI for that in the Slideshow->Slideshow settings dialog.

Hey, I've done the above hack and it is now working if you restart after
changing options, now I want to move over to second one. The problem I'm facing
is, how do I include the PresenterScreen.hxx in the slideshowimpl.cxx and when
I do, do I just create an object and everything else will just work?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to