Issue 41131

Summary: Reference names in fields should be able to be edited
Product: Writer Reporter: isr81 <isr81>
Component: editingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: andrew, issues
Version: OOo 1.1.4   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
limitations of field naming none

Description isr81 2005-01-22 17:31:02 UTC
When inserting a reference for a target, the type of naming for this reference
is selected by a list. Therefore, there isn't a way to use a custom naming for
the reference.
In some languages, such as Greek (and German I could think of), it is necessary
to change the 'category' name of an object, so that when the reference is used
in a text, it would be grammatically correct. 
The only way I found this could be done, is by using a plain text category
naming and referencing only by number. But this way, the linking is done only by
number.

My suggestion is that apart from the default naming, there should exist a field
for the user to enter custom text, also linking to a target.
Comment 1 isr81 2005-01-22 17:36:12 UTC
Created attachment 21765 [details]
limitations of field naming
Comment 2 michael.ruess 2005-01-24 10:13:03 UTC
MRU->ES: pls evaluate.
Comment 3 eric.savary 2005-01-24 15:47:36 UTC
Reassigned
Comment 4 andrew 2007-07-19 21:06:42 UTC
1. In a new Writer document Use Insert > Fields > Other to open the Fields dialog. 

2. Select the Variables tab.

3. Select the Number range type.

4. Select Table - the name changes to Table in the lower left corner.

5. In the value field, enter "Table + 1" (without the double quotes).

6. Click Insert to insert the value 1.

7. Click Insert again to inset the value 2.

Now, create a your own variable.

8. In the name field, enter Equation.

9. In the value field, enter "Equation + 1" (without the double quotes).

10. click insert to insert the value 1.

11. Click Insert again to inset the value 2.

12. click on the References tab.

13. Under type, click on Table.

I see the value 1 and the value 12.

Initially, I considered this a bug until I realized that all text to the left of
the inserted field is considered its name. The text is included even if that
text includes other fields. This is the name that is inserted.

I never saw this with respect to tables because I always start a table caption
on its own paragraph and precede it with the text "Table ".

I thought there was a problem because I label equations using (<EQUATION + 1>).
The name, therefore, is "(". This would be worse if I attempted to place the
equation number to the right of an equation.