Bug 156389 - Writer | Be able to use table cell references outside of tables.
Summary: Writer | Be able to use table cell references outside of tables.
Status: RESOLVED DUPLICATE of bug 101303
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.6.2 release
Hardware: x86-64 (AMD64) All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-20 04:42 UTC by James
Modified: 2023-07-20 09:48 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
example (11.55 KB, application/octet-stream)
2023-07-20 04:42 UTC, James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James 2023-07-20 04:42:09 UTC
Description:
(0) - Header and the entire document does not support Table variables.

Steps to Reproduce:
(0)
0. Open a fresh document.
1. Create a table with at least two rows (example will be attached.
2. Create a header with a valid reference which works from within side another table. e.g <Table1.B2> which is simply 1.

Actual Results:
(0)
Header "Version: <Table1.A2>"
<Table1.A2>
<Table1.A2> is only recognized within <Table2.B2>.

Expected Results:
(0)
Header "Version: 1.0.0"
1.0.0


Reproducible: Always


User Profile Reset: No

Additional Info:
Additional Info:
Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-NZ (en_NZ); UI: en-US
Calc: CL threaded
Comment 1 James 2023-07-20 04:42:44 UTC
Created attachment 188484 [details]
example
Comment 2 Stéphane Guillou (stragu) 2023-07-20 08:09:09 UTC
My understanding is that this is unrelated to the header: referencing a table cell does not work outside of cells in Writer.
Or can you detail more precisely how such a variable was created? Looking at the document you share, you don't use a roundabout method like bookmarks.
Otherwise, I would consider this an enhancement request to be able to use table cell references outside of tables. (I could not find an existing enhancement request.)

Related questions:
- https://superuser.com/questions/1234164/openoffice-writer-how-to-use-reference-value-from-a-table-in-text
- https://ask.libreoffice.org/t/writer-7-3-1-3-how-to-display-table-cell-value-inside-paragragh/75512
Comment 3 James 2023-07-20 09:36:33 UTC
Or can you detail more precisely how such a variable was created? Looking at the document you share, you don't use a roundabout method like bookmarks.

Certainly, it was a very complex two step process. :-)
0: Create the table.
1: Use my numberpad to enter 1.0.0

>Otherwise, I would consider this an enhancement request to be able to use table cell references outside of tables. (I could not find an existing enhancement request.)

One person's bug is another's feature request. Fair point though.
Comment 4 Stéphane Guillou (stragu) 2023-07-20 09:48:28 UTC
Ah, I found it: bug 101303.
Making this a duplicate to give that enhancement request more visibility.
Thanks James!

*** This bug has been marked as a duplicate of bug 101303 ***