Issue 102016

Summary: Disable data label positions in case ODF1.0/1.1 is selected
Product: General Reporter: aizuwakamatsucity <joho>
Component: chartAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: IngridvdM, issues, khirano
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 112830    

Description aizuwakamatsucity 2009-05-18 09:56:41 UTC
It is a problem in the pie chart. 

1,Make the pie chart. 
2,Adjust the position of the label to the inside. (objectproperties>data labels 
> placement>inside)
3,Save the sheet. 
4,Open the sheet again. 
5,Double-click the pie chart. 
6,Position of the label changes outside. 
7,position setting of the data label has changed into "Best fit".
Comment 1 IngridvdM 2009-05-19 13:50:54 UTC
@aizuwakamatsucity, I cannot reproduce the problem. In which format do you save?
Comment 2 aizuwakamatsucity 2009-05-20 04:04:52 UTC
I reproduced the problem in "ODF1.0/1.1". 
and the problem did not happen in "ODF1.2". 
Comment 3 aizuwakamatsucity 2009-05-20 05:12:04 UTC
The problem was reproduced on WinXP. 
Comment 4 IngridvdM 2009-05-20 07:13:30 UTC
I can confirm that the setting vanishes after saving in ODF1.0/1.1. This is
because that format version does not allow for this setting. The setting is new
in ODF 1.2. The only thing I could do here is to disable or hide the UI in case
ODF1.0/1.1 is selected. I change the summary of this issue accordingly.
Comment 5 aizuwakamatsucity 2009-05-20 08:20:03 UTC
OOo2.4 can keep a positional setting of the label by "Inside". 
in OOo2.4, label is correctly located.

The problem seems to occur when OOo3.x outputs ODF1.0/1.1. 
Comment 6 aizuwakamatsucity 2009-05-20 08:47:10 UTC
I expand ".ods", and analyzed "Object 1\contents.xml" of the pie chart. 
And, I found the difference. 

ODF1.0/1.1 : OOo2.4
<style:chart-properties chart:data-label-number="percentage" chart:data-label-
text="false" chart:data-label-symbol="false" chart:label-position="inside"/>

ODF1.0/1.1 : OOo3.1
<style:chart-properties chart:data-label-number="percentage" chart:data-label-
text="false" chart:data-label-symbol="false"/>