When writing longer articles some additional explanations to certain topics mentioned in the article will given in a text box.
Writer offers the possibility to create such a text box via Insert / Frame. This works fine.
It is not possible to create an automatically updating reference to this text box (frame) via Insert / Cross-Reference.
Add the possibility to create an automatically updating reference to the name or the first line of the text box (frame).
Operating System: All
Version: 188.8.131.52 release
Created attachment 79734 [details]
Example ODT containing three types of frame objects (all named).
The original discussion for this bug is here:
There are three effective frames in the attached example. One is inserted via Insert > Frame... and has this XML:
<draw:frame draw:style-name="fr1" draw:name="Frame1" text:anchor-type="paragraph" svg:width="119.99pt" svg:height="60.01pt" draw:z-index="2">
The second is a graphic (Insert > Picture...) and has this XML:
<draw:frame draw:style-name="fr2" draw:name="graphics1" text:anchor-type="paragraph" svg:width="299.99pt" svg:height="150.01pt" draw:z-index="1">
<draw:image xlink:href="Pictures/1000000000000190000000C815A4DFE2.jpg" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
The third is a text box (inserted via the Drawing toolbar) and has this XML:
<draw:frame text:anchor-type="paragraph" draw:z-index="0" draw:name="Textbox1" draw:style-name="gr1" svg:width="120.02pt" svg:height="76.48pt" svg:x="361.84pt" svg:y="18pt">
All three objects are named (e.g., "Frame1", "graphics1", and "Textbox1" respectively) and yet it is not possible to insert a cross-reference to any of these objects via the usual Insert > Cross-reference... > Cross-reference tab settings. No names for any of these objects show up.
Problem is confirmed under GNU/Linux v184.108.40.206 (Build ID: 0eaa50a932c8f2199a615e1eb30f7ac74279539). Setting status to NEW.
I forgot to mention that this is likely related to bug #36310, although that bug is specifically requesting drag-n-drop functionality for cross-references from Navigator. Implementing that functionality would however seem to require allowing cross-references to be made to Draw objects and Text frames (probably via name as indicated here).
*** Bug 94412 has been marked as a duplicate of this bug. ***