https://bugs.documentfoundation.org/show_bug.cgi?id=163920

            Bug ID: 163920
           Summary: Invalid attribute 'sub-bar' in saving OfPie chart to
                    ODF strict
           Product: LibreOffice
           Version: 25.2.0.0 alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Chart
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 197641
  --> https://bugs.documentfoundation.org/attachment.cgi?id=197641&action=edit
Example with 'Of-Pie' chart

Open attached document. It has a chart of type 'Of-Pie' with sub-type
'Bar-of-pie Chart'.

Set LibreOffice to save to a strict (that is not extended) ODF version.

Save the document.

Unpack the saved document and examine the content.xml file of 'Object 1', that
is the chart object.

Error: The element <chart:chart> has an attribute 'sub-bar="true" '. Such
attribute does not exist in ODF.

The error is in line #1292 in xmloff/source/chart/SchXMLExport.cxx where an
attribute in loext namespace is written without check whether the current ODF
version is really an extended version. How to check the current ODF version can
be seen in line #1258.

But I have principle concerns about the way, the new chart types are handled in
regard to ODF.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to