Issue 128584 - GRAPH (document property variable) non-functional
Summary: GRAPH (document property variable) non-functional
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows, all
: P5 (lowest) Minor (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-17 18:22 UTC by Czesław Wolański
Modified: 2024-01-17 18:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Relevant Help topic (163.79 KB, image/png)
2024-01-17 18:23 UTC, Czesław Wolański
no flags Details
a test case (294.54 KB, application/vnd.oasis.opendocument.text)
2024-01-17 18:24 UTC, Czesław Wolański
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Czesław Wolański 2024-01-17 18:22:38 UTC
Writer Help topic "Formula" lists 7 variables for document properties
including GRAPH. GRAPH doesn't seem to work.

Looking at the source code,
file: /main/sw/source/core/bastyp/calc.cxx [1]

------------------------

293    static sal_Char __READONLY_DATA
294    sNType0[] = "false",
295    sNType1[] = "true",
296    sNType2[] = "pi",
297    sNType3[] = "e",
298    sNType4[] = "tables",
299    sNType5[] = "graf",
...
321    sNType26[] = "graph"

------------------------

In line 299 we have:  "graf".
Interestingly, variable GRAF seems to work correctly. 

Please see the atttached .ods file for more details.



=== Ref. ===

[1]
http://openoffice-vm1-he-de.apache.org/xref/aoo41x/main/sw/source/core/bastyp/calc.cxx?r=143bd248#293
Comment 1 Czesław Wolański 2024-01-17 18:23:13 UTC
Created attachment 87210 [details]
Relevant Help topic
Comment 2 Czesław Wolański 2024-01-17 18:24:06 UTC
Created attachment 87211 [details]
a test case