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

Muhammet Kara <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #13 from Muhammet Kara <[email protected]> ---
After taking a quick look into this, I would see it as a real bug rather than
an enhancement request.

Dev notes for anyone interested to take this on:

The unnamed shapes cannot be selected because the inner implementation uses the
shape name as a reference, and constructs & uses a bookmark out of it. So if a
shape is unnamed, it is displayed with a name like "Shape X", which is not
actually its name, and this results in a broken link/bookmark.

One of the possible solutions might be sending the pointer of the object (after
converting it into a string, and wrapping in an SfxStringItem) instead of its
name. And getting the pointer to the object at the destination, by converting
it back to a pointer.

This is where the bookmark is constructed: sd/source/ui/view/drviewsd.cxx:124
(else if (nSId == SID_NAVIGATOR_OBJECT))

You may check sfx2/source/doc/autoredactdialog.cxx for examples of the pointer
mechanics described above. (grep/search for toInt64(), and OUString::number
inside the source file)

-- 
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