https://bugs.documentfoundation.org/show_bug.cgi?id=163921
Bug ID: 163921
Summary: Concerns about ODF handling of Of-Pie charts
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]
CC: [email protected]
A
The new chart type 'Of-Pie' is written with attribute
chart:class="chart:circle". But the chart:circle type belongs to the specified
types, see
https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#__RefHeading__1416652_253892949.
And the way it is specified has no option for a of-pie part.
On the other hand, the ODF standard allows to use an own type of chart. That is
done by using a value for the 'chart:class' attribute with an own namespace.
<quote>Additional chart types may be supported by using a different
namespace.</quote>
So chart:class="loext:ofpie" would be conform to the standard.
B
The attributes loext:sub-bar and loext:sub-pie are written as attributes of the
<chart:chart> element. I think it would be better to put this information into
a <style:chart-properties> child element of a <style:style> element. That would
be similar as done for a 3D variant of a chart or done for the exploded variant
of a pie chart.
C
Two separate boolean attributes 'sub-bar' and 'sub-pie' unnecessary require
priority rules. Following idea A, one attribute loext:subtype with values 'bar'
and 'pie' would be enough. Not following idea A, one attribute loext:subtype
with values 'bar', 'pie' and 'none' would be enough.
Michael, what is your opinion on my concerns?
--
You are receiving this mail because:
You are the assignee for the bug.