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

Michael Stahl (CIB) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needsDevEval                |difficultyBeginner,
                   |                            |skillCpp, skillUI, topicUI
                 CC|                            |[email protected]

--- Comment #3 from Michael Stahl (CIB) <[email protected]> ---
the dispatch command to execute is:

UNO dispatch:
".uno:SendOutlineToClipboard"
SDI definition:
sw/sdi/swriter.sdi:SfxVoidItem SendOutlineToClipboard FN_OUTLINE_TO_CLIPBOARD

the navigator content tree is in this file:

sw/source/uibase/utlui/content.cxx:

this function creates the entries in the context menu:
SwContentTree::CreateContextMenu()
need to add a new one of course!

this function is called when the context menu is clicked:
SwContentTree::ExecuteContextMenuAction()
on the new action, it should get a SfxDispatcher from the "m_pActiveShell",
and dispatch the SendOutlineToClipboard command.

some docs about dispatch-api:
https://wiki.openoffice.org/wiki/Framework/Article/Implementation_of_the_Dispatch_API_In_SFX2

=> easy-hack

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

Reply via email to