Issue 89493

Summary: Datapilot styles depends on OO language
Product: Calc Reporter: glabat <guillaume.labat>
Component: formattingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: gibi, issues
Version: OOo 2.4.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
DataPilots in French, English and Spanish languages none

Description glabat 2008-05-15 08:52:20 UTC
As an example: 
A datapilot created in English Openoffice. Let's modify datapilot corner style
and put a red background.
If we open the file in a French Openoffice, the red background will first be
there. But if the datapilot is refreshed, the red background disapears. 

The reason is that the name of the datapilot corner style (in styles.xml file)
is "DataPilot_20_Corner" in English and "Pilote_20_de_20_données_20_-_20_Coin"
in French. 

When the French Openoffice refreshes the datapilot, the style
"Pilote_20_de_20_données_20_-_20_Coin" doesn't exist (ie. only style
"DataPilot_20_Corner" is present). Then the interface adds the default
"Pilote_20_de_20_données_20_-_20_Coin" style, without red background.

Comment 1 gibi 2009-03-06 16:51:07 UTC
Created attachment 60795 [details]
DataPilots in French, English and Spanish languages
Comment 2 gibi 2009-03-06 16:58:54 UTC
Confirmed on:
- 3.0.1 Windows and Linux
- OOO310m3 Linux

I've created an example in which three different language UI where used:
French ("Pilote de Données" styles) then English (DataPilot styles) then Spanish
("Piloto de Datos" styles).
I've put it in three different tabs and changed background colours in styles
"DataPilot Corn" and "DataPilot Values" for each language.
I also included stylist screenshots at each step.

Could look like a nice feature but very confusing when one starts to modify or
refresh a "foreign" DataPilot: its localized styles will apply so it changes the
rendering and so on.

So imho, DataPilot styles should be unique with localization like any other
default styles.
Comment 3 gibi 2009-09-25 21:18:32 UTC
Adding myself in cc