Bug 119806 - Allow cross-reference to list numbered item
Summary: Allow cross-reference to list numbered item
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.5.1 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-11 13:33 UTC by Ulrich Windl
Modified: 2018-09-13 06:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example (10.11 KB, application/vnd.oasis.opendocument.text)
2018-09-11 13:59 UTC, Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Windl 2018-09-11 13:33:16 UTC
I'd like to be able to insert a cross-reference referring to the number of a numbered list item (as is possible with DOCBOOK).
Even when setting a cross-reference mark, the list item number for that mark is not available (it seems).
Comment 1 Dieter 2018-09-11 13:59:27 UTC
Created attachment 144792 [details]
Example

WORKSFORME (see example in the attached document). If I understood something wrong, please feel free to change it back to UNCONFIRMED

Version: 6.0.6.2 (x64)
Build-ID: 0c292870b25a325b5ed35f6b45599d2ea4458e77
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group
Comment 2 Ulrich Windl 2018-09-11 14:10:14 UTC
(In reply to Dieter Praas from comment #1)
> Created attachment 144792 [details]

I can open the example in Writer 6.0.5 (my original system still uses 5.4), but I do not see how you created field __RefNumPara__3_2957658694.
Comment 3 Ulrich Windl 2018-09-11 14:13:48 UTC
I also saw this message on the console staring Writer:
func=xmlSecCheckVersionExt:file=xmlsec.c:line=188:obj=unknown:subj=unknown:error=19:invalid version:mode=abi compatible;expected minor version=2;real minor version=2;expected subminor version=24;real subminor version=26
Comment 4 Dieter 2018-09-11 14:29:26 UTC
(In reply to Ulrich Windl from comment #3)
> but I do not see how you created field __RefNumPara__3_2957658694.

Insert => Field => More Fields => Cross References
Type: Numbered Paragraphs
Insert reference to: Number
Comment 5 Ulrich Windl 2018-09-13 06:05:06 UTC
Something is very odd: I could swear that this was not visible when I tried while writing the document, but now it is when opening the existing document:
Insert -> Cross-reference... -> (Cross-references) -> (Numbered Paragraphs): I see the numbered paragraphs (numbered list items)