https://bugs.documentfoundation.org/show_bug.cgi?id=152604
Bug ID: 152604
Summary: ActiveSheet.ChartObjects.Count reports false numbers
Product: LibreOffice
Version: 7.4.3.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
Description:
ActiveSheet.ChartObjects.Count reports false numbers
Steps to Reproduce:
Hello,
I can reproduce this bug on Windows 7 with LO 6.0.6.2 and 7.4.3.2 (x64), but it
was found on Debian with LO 5.4.0-1 and 3.4.3.
In fact there are 2 bugs in this example:
To reproduce execute sub ComputeTableSolaire() in Module1 of the VBAProject.
a) In sheet "Graphics Solaire" the graph is an object but in sheet "Cumul
Solaire" the graph is really a graph. You can see it in the object navigator.
If I insert a graph in the sheet "Graphics Solaire" with the menu Insert >
Graph..., an object is inserted, not a graph. ChartObjects.Count return 0 on
sheet "Graphics Solaire" and 1 on sheet "Cumul Solaire".
b) The name property on a Chart object return an empty string.
Regards,
--
Stéphane Aulery
Actual Results:
a) ActiveSheet.ChartObjects.Count always return 0.
b) The name property on a Chart object return an empty string.
Expected Results:
a) ActiveSheet.ChartObjects.Count should report 1 in both cases.
b) The name property on a Chart object should return the cart name.
Reproducible: Always
User Profile Reset: No
Additional Info:
See the file attached which reproduces the behavior.
--
You are receiving this mail because:
You are the assignee for the bug.