To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85176
                 Issue #|85176
                 Summary|Writer: Don't keep LANGUAGE_SYSTEM and the like on tex
                        |t import
               Component|Word processor
                 Version|680m242
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|open-import
             Assigned to|tl
             Reported by|tl





------- Additional comments from [EMAIL PROTECTED] Fri Jan 11 15:06:11 +0000 
2008 -------
When pasting text (formatted) from vcexpress (or maybe any other application
without explicit language attributes for text) into Writer the language
attribute becomes 'unknown' in the status bar control and similar in the
Format/Character dialog.

This is because the implicit language attribute will be 0x0400
(LANGUAGE_PROCESS_OR_USER_DEFAULT) according to ER such attribute should not
have been applied to the Writers text. Also similar attributes like
LANGUAGE_SYSTEM and LANGUAGE_SYSTEM_DEFAULT should not be kept unchanged.

The function MsLangId::convertLanguageToLocale(
            LanguageType nLang, bool bResolveSystem = true ) 
should be used to retrieve a Locale that can properly be used as language
attribute for Writer's text. That locale needs to be converted back to
LanguageType and set as Western language attribute in order to get a useful 
value.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to