Issue 51152

Summary: Calc: Chinese conversion and language attributes
Product: Calc Reporter: thomas.lange
Component: formattingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: falko.tesch, issues
Version: OOo 2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description thomas.lange 2005-06-23 12:18:46 UTC
As stated in issue #44567# when the chinese conversion was already applied the
documents language (if there is such a thing in the specific application) should
be set to the target language.

Also every character entered anywhere in the document after the conversion
should per default already have the target CJK language from the conversion set!

In order to achieve this you probably have to hard set the correct CJK language
attribute on any empty paragraph(!) or white-spaced text and any Western or CTL
text.
Generally speaking for any text with script type different from
i18n::ScriptTyp::ASIAN. This especially includes i18n::ScriptType::WEAK (which
may be used for punctuation). The CJK language attribute should be changed to
the target language of the conversion.

Note: If available styles should never be changed because of this.

As an odd example: Japanese formatted latin scripted text will also get the new
language attribute set.

For text with script type i18n::ScriptType::ASIAN the CJK language attribute
should be left unchanged, since it has either already been changed by the
conversion (if desired) or is assumed to be set to the correct CJK language for
that text.

In CWS tl12 I've already done this for sw and svx.


The respective changes in the specification should have already be done by FT.
The spec can be found at
http://specs.openoffice.org/g11n/simplified-traditional_chinese_translator/simplified-traditional_chinese_translator.sxw
Comment 1 thomas.lange 2005-06-23 12:20:07 UTC
TL->DR: Please take over. Thanks!
Comment 2 daniel.rentz 2005-08-16 09:16:40 UTC
Note (from TL & CL): If hard attributes will be used, it has to be implemented in sc, 
not svx!
Comment 3 daniel.rentz 2005-08-16 09:23:20 UTC
not to forget to set the font, not only the language...
Comment 4 christof.pintaske 2005-09-05 14:16:29 UTC
cp: it's yet unclear how this feature should look like in Calc and therefor not
ready for implementation. Until that's clarified I'll postpone this issue.
Comment 5 enapannes 2010-11-10 17:14:13 UTC
Created attachment 73422