[Libreoffice] [BUG 32598] How to access the current document from a MediaWindow?

Thorsten Behrens thb at documentfoundation.org
Mon Mar 21 02:07:51 PDT 2011

Skyler Hawthorne wrote:
> Now that introduction is out of the way, I was hoping someone could
> help me with a bug! As per the LO GSoC Wiki (
> http://wiki.documentfoundation.org/Development/GSoc ), I am working
> on an EasyHack bug. I chose Bug #32598 (
> https://bugs.freedesktop.org/show_bug.cgi?id=32598 ).
> I assume that there is some function called something like
> "setChanged()" or something to that effect that just needs to be
> added to the code that controls the video. Using opengrok, I found
> that "mediawindow.cxx" appears to control Mute and Repeat with its
> "setMute()" and "setPlayBackLoop()" functions, respectively.
Hi Skyler,

we were talking about that on irc (incidentally, the best way to get
questions answered quickly - much less latency than email) ;) -

look for "SetChanged()" - you'll need to change a few places, and
pass in the document where the MediaWindow gets instantiated, and
probably want to the centrally deal with the document modification
state when updating the MediaItem.


-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110321/d1ccdad7/attachment.pgp>

More information about the LibreOffice mailing list