Issue 51152 - Calc: Chinese conversion and language attributes
Summary: Calc: Chinese conversion and language attributes
Status: CONFIRMED
Alias: None
Product: Calc
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-23 12:18 UTC by thomas.lange
Modified: 2013-08-07 15:12 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
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