[Bug 32581] [EDITING] Add the possibility to retrieve the filename of a movie or sound inserted in a document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jan 26 09:16:43 PST 2016


https://bugs.documentfoundation.org/show_bug.cgi?id=32581

Michael Stahl <mstahl at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |difficultyEasy, skillCpp,
                   |                            |skillUI

--- Comment #11 from Michael Stahl <mstahl at redhat.com> ---
this easy-hack does not have code pointers...

the embedded media objects are represented by:

class SdrMediaObj (include/svx/svdomedia.hxx svx/source/svdraw/svdomedia.cxx)

there is a avmedia::MediaItem which stores the URL.

include/avmedia/mediaitem.hxx avmedia/source/framework/mediaitem.cxx

the context menu of the media object is apparently defined at Media_POPUP in
sd/source/ui/app/popup2_tmpl.src

so i guess there a context menu "Edit Link" could be added.

... then ask somebody who knows how UI code works where the c++ code is for the
menu :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20160126/71f9b3a9/attachment.html>


More information about the LibreOffice mailing list