https://bugs.documentfoundation.org/show_bug.cgi?id=88918
--- Comment #13 from Hossein <[email protected]> --- (In reply to Stéphane Guillou (stragu) from comment #12) > Hossein, maybe an easyHack ? Yes. The code pointers for this EasyHack is as follows: Start from the menu, which is "Edit > Hyperlink". In fact, it is "~Hyperlink", as it has underline below H: $ git grep -w ~Hyperlink The search leads to this file: officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu Opening this xml file, one may find the command uno:EditHyperlink which is invoked by selection that menu option. Then, you can search for this command inside the code. The opened dialog for editing the hyperlink as the text "Hyperlink Type" inside it. Searching for this text leads to the exact ui: $ git grep "Hyperlink Type" cui/uiconfig/ui/hyperlinkinternetpage.ui Searching for EditHyperlink (instead of uno:EditHyperlink) in C++ files, leads to a few files: $ git grep -l EditHyperlink *.cxx sc/source/ui/view/editsh.cxx sc/source/ui/view/gridwin.cxx sc/source/ui/view/tabvwshe.cxx sd/source/ui/view/drviews4.cxx sd/source/ui/view/drviews7.cxx Only the last 2 are related to Draw (sd). In the last file, the below method determines when the EditHyperlink menu item should be disabled: sd/source/ui/view/drviews7.cxx:284 bool DrawViewShell::ShouldDisableEditHyperlink() const { ... } The EasyHacker should change this method, so that it can also handle a shape with a hyperlink attached to it. The patch should modify the only "else" block and handle such a situation. -- You are receiving this mail because: You are the assignee for the bug.
