Enhanced Word Count

OpenOffice.org 2.0

Document - ID	Specification Owner	Last Change	Status
	Falko Tesch	2006-03-28	Final
Conforms to	http://www.openoffice.org/issues/show_bug.cgi?id=27302
Applies to	Writer and Writer/WEB
Task ID(s)	i27302
Category	Feature

Abstract

Many people asked for OpenOffice.org writer to count not only the number of words in complete documents but also in slections made.

OpenOffice.org Writer has a new menu entry that allows the user to count all characters and words of the current selection made.

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

	Name	E-mail Address
User Experience	Falko Tesch	Ft@openoffice.org
Development	Frank Meies	Fme@openoffice.org
Quality Assurance	Stefan Baltzer	Sba@openofffice.org
Documentation	Uwe Fischer	Ufi@openoffice.org

Approved for Implementation

	Approved by	Date
User Experience	Falko Tesch	2004-04-01
Development	Frank Meies	2004-04-06
Quality Assurance	Stefan Baltzer	2004-04-07
Documentation	Uwe Fischer	2004-04-06
String Review	Elizabeth Matthis	2004-04-16

Document Change History

Rev. Level	Change	Initials	Date
1.0	First Draft	FT	2004-04-01
1.1	Minor changes	FME	2004-04-06
1.2	Change German string in Word Count dialog	FL	2006-03-28

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	3

7	Future Tasks	3

8	Notes	3

9	References	3

Glossary

Term	Description

Motivation

Many people like to count words a (multi-)selection just made. OpenOffice.org currently does not support this feature but only counts that amount of words and characters of whole document.

User Scenarios

A user wrote a new paragraph in a document and wants to count all words written within this paragraph. Therefore she selects the whole paragraph and invokes a feature that tells her the amount of words and characters that are within this selection/paragraph.

Goals

Add functionality to OpenOffice.org to allow the word and character count from selections.

Requirements and Dependencies

Requirements

This specification is a spin-off of issue 17964.

Technical Dependencies

none

Competitive Analyses

None, since this feature is only a simplified spin-off of a more complex feature to come in the next OpenOffice.org release.

Detailed Specification

A new menu entry “Word count” will be introduced in the “Tools” menu of Writer and Writer/WEB.

It will be placed below the existing entry “Hyphenation” and above the separator line.

Tools

-------------------

| Spellcheck |

| Thesaurus... |

| Hyphenation... |

| Word count... |

.-----------------.

| ...

Invoking this feature pops up a dialogue (see Figure 1, page 2) that shows to information:

Current selection

Number of Words:

Number of Characters:

Whole document

Number of Words:

Number of Characters:

The amount of counted words/characters in the “Current selection” section is defined by the current (multi-)selection. If no selection is made the amount of words/characters is 0.

The amount of counted words/characters in the “Whole document” section equals to the amount of words/characters that is displayed in “File – Properties... - Statistics [tab page]”

The algorithm/rules to count words and characters is exactly the one that is already used in OO.o 1.x for counting characters and words in a complete document. A partially selected word counts as a complete word.

The dialogue is modal and must be closed to keep on working on the counted document.

Figure 1 Modal Word Count dialogue

String list

Item	English	German	Comments
Menu entry	~Word Count	~Wörter zählen	
dialog title	Word Count	Wörter zählen	
Selection name	Current selection	Aktuelle Auswahl	
Info line 1	Words:	Wörter:	
Info line 2	Characters:	Zeichen:	
Selection name	Whole document	Gesamtes Dokument	
Info line 1	Words:	Wörter:	
Info line 2	Characters:	Zeichen:	

Tab Order

Tab order follow standard values for OK and Help button.

Key Board Shortcuts

none

Error Conditions

none

Future Tasks

Since this specification is only a spin-off of issue 17964 the future task will be to implement the enhanced solution for word count as described in 17964 for next version of OpenOffice.org.

Notes

References

none

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.

Enhanced Wordcount

Page 3

http://specs.openoffice.org/writer/wordcount/Enhanced_Wordcount.sxw

Enhanced Wordcount

Falko Tesch

2004-04-01T14:35:03

Frank Loehmann