Assign Keyboard Shortcuts to Styles

OpenOffice.org 2.0

Document - ID	Specification Owner	Last Change	Status
	Frank Loehmann	09/09/04	Final
Conforms to	
Applies to	Writer, Calc, Impress, Draw
Task ID(s)	i29441
Category	Feature

Abstract

OpenOffice.org (OOo) allows to assign styles (i.e. paragraph styles) via keyboard. This allows to easily assign shortcuts while typing in a document without mouse or dialog interaction. This is a big improvement for professional writers and people with disabilities who need keyboard accessibility.

A set of predefined shortcuts for paragraph styles is provided for Writer only. Calc, Draw and Impress are supporting this feature too but do not offer presets by default.

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

	Name	E-mail Address
User Experience	Frank Loehmann (FL)	frank.loehmann@sun.com
Development	Andreas Schlüns (AS)	andreas.schluens@sun.com
Quality Assurance	Jörg Sievers (JSI) Éric Savary (ES)	joerg.sievers@sun.com eric.savary@sun.com
Documentation	Uwe Fischer (UFI)	uwe.fischer@sun.com

Approved for Implementation

	Approved by	Date
User Experience	Frank Loehamn	07/22/04
Development	Andreas Schlüns	07/23/04
Quality Assurance	Éric Savary	08/12/04
Documentation	Uwe Fischer	07/22/04
String Review	Elizabeth Matthis	08/12/04

Document Change History

Rev. Level	Change	Initials	Date
1.0	Create initial draft	FL	07/22/04
1.1	Work on comments	FL	07/23/04
1.2	Change Definition of Shortcuts	FL	08/09/04
1.3	Define target applications	FL	09/09/04
1.4	New and changed shortcuts (81514)	FL	09/13/07

Contents

Glossary	1

1	Motivation	1

2	User Scenarios	1

3	Goals	1

4	Dependencies	1

4.1	Technical Dependencies	1

5	Competitive Analyses	2

5.1	Microsoft Word 2003	2

5.2	OpenOffice.org 1.1	2

6	Detailed Specification	3

6.1	Customize-Keyboard Dialog	3

6.2	Keyboard Shortcut Defaults (BugId i29441)	4

6.3	G11n	4

6.4	Error Conditions	4

6.5	Migration	4

7	Future Tasks	4

8	References	4

Glossary

Term	Description
Accessibility	http://www.section508.gov/

Motivation

Professional writers need a possibility to assign styles via keyboard shortcuts. This allows them to keep the hands on the keyboard and improves the usability. Furthermore it is also an improvement for users with disabilities who need keyboard accessibility.

User Scenarios

User A is a professional writer and works on long documents in Writer. She needs to assign paragraph styles to structure the document directly while typing the content. She has to use the mouse or call the Styles catalog every time she want's to change a paragraph style in her document, because OO.org 1.1 does not support assigning styles via key board shortcuts.

Solution: Support keyboard shortcuts to assign styles in Writer, Calc, Draw and Impress.

User B has disabilities and relies on keyboard accessibility due to his disabilities. He want's to assign styles in his Writer document. Since OOo does not support shortcuts for assigning styles, he uses the Style catalog.

Solution: Support keyboard shortcuts to assign styles in Writer, Calc, Draw and Impress, because the Style catalog gets removed for OOo 2.0.

Goals

Provide the possibility to assign style via freely defined keyboard shortcuts. Provide presets for common Writer paragraph styles.

Dependencies

Technical Dependencies

Please see following specification for details about assigning styles in Writer:

http://specs.openoffice.org/writer/formatting/Assigning_Styles_in_Writer.sxw

Competitive Analyses

Microsoft Word 2003

The following dialog is used to define a shortcut for a style. The dialog is called from the Edit Style dialog.

Illustration 1 Customize Keyboard Dialog

OpenOffice.org 1.1

The following screenshot shows the current Customize-Keyboard dialog.

Illustration 2 Configuration Dialog - Current Layout

Detailed Specification

Customize-Keyboard Dialog

The Customize-Keyboard dialog offers a new Styles entry which could be elapsed. All sub categories listed below this entry are already provided by the application itself. The Function list box shows all templates of the current styles category.

Illustration 3 Customize - Keyboard dialog with new Styles (red marked area)entry

Note: Name changes of styles will not be recognized within this dialog. Therefore we have to overwork the Edit Styles dialog and add a new tab page for shortcut administration.

String list

Item	English	German	Comments
Tree Node	Styles	Formatvorlagen	

Keyboard Shortcut Defaults (BugId i29441)

The following keyboard shortcuts will pre-defined.

Unix and Windows:

Ctrl + Shift + Space bar	: Call Format – Default Formatting function; Writer (all Writer apps), Calc, Draw and Impress
(Note: none breakable space shortcut is kept to Ctrl + Space)

CTRL + 0	: Apply the Textbody style; Writer only

CTRL + Shift + 0	: Apply the Default (“normal”) style; Writer only

(FL: CTRL + Shift + N calls the New from Template dialog, so we do not use Ctrl + N like the competition).

CTRL+ 1	: Apply the Heading 1 style; Writer only

(Note: Currently (SO7) single line spacing” is assigned to this shortcut. Also used by competition.)

CTRL+ 2	: Apply the Heading 2 style; Writer only

CTRL+ 3	: Apply the Heading 3 style; Writer only

CTRL+ 4	: Apply the Heading 4 style; Writer only

CTRL+ 5	: Apply the Heading 5 style; Writer only

G11n

none

Error Conditions

When a style affected to a shortcut has been deleted: delete the association style-shortcut in the dialog and free the shortcut for further use.

Migration

none

Future Tasks

Item	English	German	Comments
Button	Assign Shortcut Key...	Tastenkombination zuweisen...	

References

none

We could not support known standard shortcuts from the competition under Windows because it uses the ALT key, which is not available on Linux (reserved for window manager) and could not be defined in OOo.

FL: Currently we are not able to assign a shortcut to this Format menu entry via GUI. This will be possible if the following spec. is implemented: http://specs.openoffice.org/writer/menus/FormatMenu.sxw

<Required - Key Board shortcuts used in dialogs have to be listed in a table with a small description.>

Assign Keyboard Shortcuts to Styles

Page 4

http://specs.openoffice.org/appwide/keyboard/assign_keyboard_shortcuts_to_styles.sxw

Frank Loehmann

2004-07-22T10:23:26