Bug 64889 - EDITING: Enhancement: Enable cross reference to a text box (insert frame) in Writer
Summary: EDITING: Enhancement: Enable cross reference to a text box (insert frame) in...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.6.2 release
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
: 94412 (view as bug list)
Depends on:
Blocks: Fields-Cross-Reference
  Show dependency treegraph
 
Reported: 2013-05-23 03:52 UTC by bugquestcontri
Modified: 2019-02-05 18:51 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example ODT containing three types of frame objects (all named). (42.78 KB, application/vnd.oasis.opendocument.text)
2013-05-24 06:29 UTC, Owen Genat (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugquestcontri 2013-05-23 03:52:19 UTC
Problem description: 

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. 

Enhancement request:
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: 3.6.6.2 release
Comment 1 Owen Genat (retired) 2013-05-24 06:29:25 UTC
Created attachment 79734 [details]
Example ODT containing three types of frame objects (all named).

The original discussion for this bug is here:

http://ask.libreoffice.org/en/question/11182/how-can-i-make-a-cross-reference-to-a-text-box/

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">
	<draw:text-box>
	...
	</draw:text-box>
</draw:frame>

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"/>
</draw:frame>

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">
	<draw:text-box>
	...
	</draw:text-box>
</draw:frame>

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.
Comment 2 Owen Genat (retired) 2013-05-24 06:31:00 UTC
Problem is confirmed under GNU/Linux v4.0.3.3 (Build ID: 0eaa50a932c8f2199a615e1eb30f7ac74279539). Setting status to NEW.
Comment 3 Owen Genat (retired) 2013-05-24 06:34:56 UTC
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).
Comment 4 Cor Nouws 2019-02-05 18:31:44 UTC
*** Bug 94412 has been marked as a duplicate of this bug. ***