Add AutoText to DoubleByte Characters

OpenOffice.org 2.0

Document - ID	Specification Owner	Last Change	Status
	Falko Tesch	31.03.2004	Draft
Conforms to	http://www.openoffice.org/issues/show_bug.cgi?id=20135
Applies to	All modules
Task ID(s)	20135
Category	Feature

Abstract

Currently OpenOffice.org only supports single byte characters for AutoCorrection/AutoFormat. In the light of support for double byte characters like East-Asian languages it is desired to expand this functionality to support also double byte characters.

OpenOffice.org 2.0 will support this.

i-Team Members (The specification Owner is part of the i-Team)

	Name	E-mail Address
User Experience	Falko Tesch	Ft@openoffice.org
Development	Oliver Specht	Os@openoffice.org
Quality Assurance	Ulf Ströhler	Us@openoffice.org
Documentation	Uwe Fischer	Ufi@openoffice.org

Approved for Implementation

	Approved by	Date
User Experience	<Name>	<Date>
Development		
Quality Assurance		
Documentation		
String Review		

Document Change History

Rev. Level	Change	Initials	Date
1.0	First draft	FT	31.03.2004

Contents

Glossary	1

1	Motivation	1

2	User Scenarios	1

3	Goals	1

4	Requirements and Dependencies	1

4.1	Requirements	1

4.2	Technical Dependencies	1

5	Competitive Analyses	1

6	Detailed Specification	1

6.1	Error Conditions	2

7	Future Tasks	2

8	Legal Issues	2

9	Notes	2

10	References	2

Glossary

Term	Description
SingeByte Characters	All characters that are located within the first 255 positions in a font. Therefore these characters can be defined binary with a single 8bit word (=> 1 byte)
DoubleByte Characters	All characters that are located behind the first 255 positions in a font (->Unicode). Therefore these characters must be defined binary with a double 8bit word (=> 2 byte)
Unicode	Technology to expand the existing fonts from a max. of 255 characters to 65000+.
IME	Input Method Engine/Editor – A tool to allow to input complex characters (such as Chinese) by using key combinations of a simple standard keyboard.

Motivation

In the light of internationalization (I18N) OpenOffice.org fully support languages that use double-byte characters, such as Japan, Korea and China these countries currently lack the ability to use OpenOffice.org's AutoFormat/AutoCorrect functionality.

This is due to a limitation of this functionality to single-byte characters.

This limitation must be overcome.

User Scenarios

A user in Korea writes an English-Korean letter. This letter contains Hangul/Hanja as well as Latin text. While the Latin text is written in single-byte characters all Korean text is based on double-byte.

While it is very easy to type in Western expressions like ® © etc. as well as AutoNumbering all the features are not available once the user types in Korean text. This is especially important for custom quotes and replacement tables which are much in use in East-Asia.

This behaviour leads to inconsistency and to frustration since English appears to be the preferred language and the support for Korean seems to be insufficient.

Goals

All AutoFormat/AutoCorrect functionality that is available for single-byte character must also be available for double-byte characters as long as the IME is not blocking the read-out.

Requirements and Dependencies

Requirements

We need to read-out the current state of the IME and we must not interfere with IME character completion.

Technical Dependencies

See 4.1Requirements

Competitive Analyses

N/a.

Detailed Specification

First notes:

AutoText does not make sense for:

Chinese text, Korean Hanja and Japanese Kanji.

AutoText does makes sense for:

Japanese Hiragana and Katakana, for Korean Hangul and in all languages for typographic symbols and numbers in general.

FT->OS:

Before I start writing a detailed specification a number of technical questions need to be cleared:

Are the above statement OK?

What are the current limitation in interacting with IMEs and Unix and windows?

Can the current functionality be transferred 1:1 to DoubleByte characters?

Any suggestions and additional ideas?

Tab Order

n/a

Key Board Shortcuts

n/a

Error Conditions

N/a

Future Tasks

Are there any?

Notes

<Questions will arise during the writing of the specification. State these in here.>

References

<Give references to related documentation, such as engineering designs, technical specs, and other sources for related units. Also include links to documents that other sections in this spec need to refer to, such as user opinions usability test reports.>

Required - Give references to related documentation, such as engineering designs, technical specs, and other sources for related units. Also include links to documents that other sections in this spec need to refer to, such as user opinions usability test reports.

Add AutoText to DoubleByte Characters

Page 3

autotext_for_doublebyte_characters/Add_AutoText_to_DoubleByte_Characters.sxwHttp://specs.openoffice.org/g11n/autotext_for_doublebyte_characters/Add_AutoText_to_DoubleByte_Characters.sxw

Add AutoText to DoubleByte Characters

Falko Tesch

2004-03-31T09:41:22