Bug 131862

Summary: ODF: Remove deprecated attribute table:cell-range-address from element <chart:plot-area>
Product: LibreOffice Reporter: Regina Henschel <rb.henschel>
Component: ChartAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: himajin100000, michael.stahl
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard: odf
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 90486, 108198    

Description Regina Henschel 2020-04-03 21:45:38 UTC
ODF 1.2 has deprecated the table:call-range-address as attribute of element <chart:plot-area>. Instead the attribute chart:values-cell-range-address of <chart:series> is used.
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#attribute-table_cell-range-address_element-chart_plot-area

The use of this attribute with element <chart:plot-area> will be removed in ODF 1.4. Therefore it is time to change LibreOffice accordingly.


I have made some tests with charts in Writer, Calc, Impress and Draw. I have generated a chart, then removed the attribute in file, and then reopened the file. In all my tests, the chart was the same as created. So it should be no problem to remove writing that attribute for ODF 1.4.

I could not test charts in reports (REPORTBUILDER) because of crashes. The REPORTBUILDER seem to have severe problems with charts, see bug 117162, bug 117159, bug 87012 for example.

I have looked at Pivot-Charts too. They have principle ODF related errors in cell addresses and need rework anyway, see bug 112785 and bug 112783.

Old OOo versions use this attribute to distinguish between the cases, that the data source is the internal table of the chart, or the chart has an external data source. I have seen comments on this. So it might be, that import/export filter for these old versions still need to treat this attribute.
Comment 1 Michael Stahl (allotropia) 2020-04-06 11:13:45 UTC
i can't find any recent changes to xmloff that would be relevant, it looks much like it did in 2008.

reportdesign has this fun code:

reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx
    else if ( _sName == "chart:plot-area" )
    {
        SvXMLAttributeList* pList = comphelper::getUnoTunnelImplementation<SvXMLAttributeList>(xAttribs);
        pList->RemoveAttribute("table:cell-range-address");
    }
Comment 2 QA Administrators 2022-06-02 03:33:52 UTC Comment hidden (obsolete)
Comment 3 Regina Henschel 2022-06-02 10:00:48 UTC
The task is still not solved in Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 172e208e6b0674f42c301c5ee5e280e9138ba1b4
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 4 QA Administrators 2024-06-02 03:14:25 UTC
Dear Regina Henschel,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug
Comment 5 Regina Henschel 2024-06-02 13:44:27 UTC
The task is still not solved in Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: fbe57382eef1138999f63e01b6152d4d05749807
CPU threads: 32; OS: Windows 11 X86_64 (10.0 build 22631); UI render: default; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded