Header and Footer support for Impress

OpenOffice.org 2.0

Document - ID	Specification Owner	Last Change	Status
	Christian Lippka	08/23/05	final
Conforms to	
Applies to	API, Draw, Impress, UI in general
Task ID(s)	i20479, i20949, i20950, i20951, i20952, i20953
Category	feature

Abstract

We will add placeholders for header, footer, date/time and slide number areas on the master pages that the user can configure seamlessly with a special header footer dialog. Currently this feature is available only by inserting special text fields and the user has to manually select the master view before. Having a dedicated dialog with a speaking menu entry for this common used task makes it easy for the user to access this feature. Having the placeholders on the master page and storing the content on each page allows us to stay file format compatible with the competition.

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

	Name	E-mail Address
User Experience	Christian Jansen /CJ	Christian.Jansen@sun.com,
Development	Christian Lippka /CL	Christian.Lippka@sun.com,
Quality Assurance	Christian Gühnter /CGU	Christian.Guenther@Sun.COM,
Documentation	Uwe Fischer /UFI	Uwe.Fischer@Sun.COM

Approved for Implementation

	Approved by	Date
User Experience		
Development		
Quality Assurance		
Documentation		
String Review		

Document Change History

Rev. Level	Change	Initials	Date
Draft	First draft	Christian Lippka	09.03.03
	Spec Review: I think we have to think about the functionbality of the Floater (described in chapter 3.6) more in detail.	Christian Jansen	22.10.03
		Uwe Fischer	21.10.03
	UI String Review: Added changed strings table	Elizabeth Matthis	11/20/03
Final	Published on OpenOffice.org	Christian Lippka	01/27/04
1.1	Added 3.8	Christian Lippka	
	new View menu for OOo 2.0 [View Menu]; chapter 3.6 updated.	MMP	06/30/04
	Notes MMP-1	MMP	07/02/04
	use of coversheet of latest spec template The menu structure is defined in View Menu	MMP	08/23/05

Contents

Glossary	1

1	Motivation	1

2	Goals	1

3	Detailed Specification	1

3.1	The new placeholders	1

3.2	Enhancements to the master page layout	1

3.3	Enhancements to the notes master	3

3.4	Enhancements to the handout template	4

3.5	Header and Footer settings	5

3.5.1	Header	5

3.5.2	Date and Time	5

3.5.3	Footer	5

3.5.4	Slide number	5

3.6	Header and Footer dialog	5

3.6.1	Slides	5

3.6.2	Notes and Handouts	7

3.7	Master Layout floats	10

3.7.1	Master Layout	10

3.7.2	Notes Master Layout	10

3.7.3	Handout Template Layout	10

3.8	Cosmetic changes	12

4	Future Tasks	12

5	Notes	12

6	References	12

Glossary

Term	Description
<Term 1>	

Motivation

The motivation for this feature is to enhance ease of use and competition compatibility with headers and footers in Impress.

Goals

A basic user will be able to configure headers and footers in impress with an easy to use dialog that is easy to find in the menu. Users migrating from competitive products will find the same functionality they are used to.

Detailed Specification

In recent versions of Impress the user could create headers and footers by adding text boxes to a master page and adding fields to them. HCI tests with users showed that this is not easy to understand for the common user. This specification describes a new concept for managing headers and footers in Impress that greatly enhances ease of use. New placeholders for header and footer will now be automatically created on master pages and the user can customize them by using a simple dialog that will be available from the view menu. The placeholders can be positioned, sized and formatted on the master pages. Their default contents will be text containing special text fields. Which of the placeholders are rendered for each slide and the values for the header and footer text fields can be configured for each slide.

The new placeholders

Impress will get 4 new placeholders. Namely the header, footer, date and number area placeholders. Together, these placeholders are called header and footer placeholders. They are text boxes like the title and object area placeholders. Unlike the placeholders from the presentation layout, they have no representation on the slides and pages. They will be rendered only on the slide, if the settings from that slide or page permits it. Initially these placeholders contain special text fields, but their textual contents can be edited on the master pages. The values of the header and footer text fields can be configured on each individual slide.

Header and Footer placeholders can be deleted from a master page. The user will not be able to make them visible with the slide settings in that case.

Enhancements to the master page layout

The master page will include three more placeholders besides the title and object area placeholders. One for the date/time, one for the footer and one for the page number area. The placeholders will be arranged as seen in Drawing 1. For easier identification, the placeholders will have a small text in one of their corner describing its purpose.

The new Date Area placeholder will initially contain the new field type Date/Time which displays the text that the user selects as the Date/Time value in the header and footer settings of each slide.

The new Footer Area placeholder will initially contain the new field type Footer which displays the text that the user selects as the footer value in the header and footer settings of each slide.

The new Number Area placeholder will initially contain the page number field which displays the current page number.

The placeholders are formated with a text height of 14 points and the background objects style.

Position of these placeholders can be edited as the other placeholders on the master page. In addition, these placeholders can be formatted and the containing text can be changed.

Drawing 1New master page layout

Item	English	German	Comments
Placeholder	<date/time>	<Datum/Uhrzeit>	1
Placeholder	<footer>	<Fußzeile>	1
Placeholder	<number>	<Nummer>	1
Placeholder	Titel Area for AutoLayouts	Titelbereich für AutoLayouts	1
Placeholder	Object Area for AutoLayouts	Objektbereich für AutoLayouts	1
Placeholder	Date Area	Datumsbereich	1
Placeholder	Footer Area	Fußzeilenbereich	1
Placeholder	Slide Number Area	Foliennummernbereich	1

Enhancements to the notes master

The notes master will include the same new placeholders as the master page. In addition it will include a placeholder for a header value. It initially will include a new header field which displays the text that the user selects as the header value in the options of each slide. The placeholder is formated with a text height of 14 points and the background objects style. The placeholders will be arranged as seen in Drawing 2.

Drawing 2New notes master layout

Item	English	German	Comments
Placeholder	<header>	<Kopfzeile>	1
Placeholder	<date/time>	<Datum/Uhrzeit>	1
Placeholder	<footer>	<Fußzeile>	1
Placeholder	<number>	<Nummer>	1
Placeholder	Header Area	Kopfzeilenbereich	2
Placeholder	Page Number Area	Seitenzahlbereich	2
Placeholder	Notes Area	Bereich für Notizen	3
Placeholder	Date Area	Datumsbereich	1
Placeholder	Footer Area	Fußzeilenbereich	1

Enhancements to the handout template

For the handout template the same placeholders are added as for the Notes Master. The placeholders will be arranged as seen in Drawing 3.

Drawing 3New handout master layout

Item	English	German	Comments
Placeholder	<header>	<Kopfzeile>	1
Placeholder	<date/time>	<Datum/Uhrzeit>	1
Placeholder	<footer>	<Fußzeile>	1
Placeholder	<number>	<Nummer>	1
Placeholder	Header Area	Kopfzeilenbereich	2
Placeholder	Page Number Area	Seitenzahlbereich	2
Placeholder	Date Area	Datumsbereich	1
Placeholder	Footer Area	Fußzeilenbereich	1

Header and Footer settings

Header and Footer settings will be stored for each slide individualy and once for all notes pages and the handout template. Master pages will not store Header and Footer settings. Newly created slides will become its initiall settings from the previous slide.

The following settings are stored

Header

The visibility of the header area placeholder from the master page can be set to shown or hidden. Shown is the default. A text can be set that will be used to displayed the header field. The default for this text is empty. These defaults are choosen so the user only needs to enter text for the header to make it visible and does not need to mark it as shown first.

Date and Time

The visibility of the date and time area placeholder from the master page can be set to shown or hidden. Shown is the default. The text displayed in the date and time field can be fixed or variable. The default is fixed. If its fixed, a text can be set that will be used to display the header field. The default for this text is empty. These defaults are choosen so the user only needs to enter text for the date and time to make it visible and does not need to mark it as shown first. If variable is choosen, the current date and time is used for display of the date and time field. The user can choose a number format and a language for formating the date and time. The language setting must be stored inside the placeholder on the master pages, so its only possible to change this for all slides that use the current masterpage.

Footer

The visibility of the footer area placeholder from the master page can be set to shown or hidden. Shown is the default. A text can be set that will be used to displayed the footer field. The default for this text is empty. These defaults are choosen so the user only needs to enter text for the footer to make it visible and does not need to mark it as shown first.

Slide number

The visibility of the slide number area placeholder from the masterpage can be set to shown or hidden. The default is hidden.

Header and Footer dialog

The header and Foot dialog will be available through the menu point “Header and Footer...” in the View menu above the menu entry “Full Screen” [View Menu]. This menu entry is always available. The dialog can also be opened through the menu points “Page Number...” and “Date and Time...” in the Insert menu between “Summary Slides” and “Fields”.

The dialogs title will be “Header and Footer” and it will contain the following two tab pages

Slides

The Slides tab page (s. Drawing 4) configures the header and footer settings for slides.

Drawing 4Slides tab page

Date and time (*1)

This checkbox control shows or hides the Date Area placeholder. If this control is not checked, the controls *2, *3, *4, *5 and *6 are disabled. The default for this control is to be checked.

Fixed (*2)

This radiobox selects a fixed value to be shown in the date and time text fields. If this is selected, the value from the editbox *3 is used. If this is not selected, the editbox *3 is disabled. The default for this checkbox is selected.

Variable (*4)

This radiobox selects a variable value to be shown in the date and time text field. If this is not selected, the controls *5 and *6 are disabled.

Format (*5)

This combobox lets the user select the format for the date and time fields. The following formats are available

23/10/03

Thursday 23 October 2003

23 October 2003

23 Oct 2003

23/10/03 11:43

23/10/03 11:43 AM

11:43

11:43:52

11:43 AM

11:43:52 AM

Language (*6)

This combobox lets the user select the language for the date and time fields. The combobox is filled with all languages supported by OpenOffice.org.

Footer (*7)

This checkbox control shows or hides the Footer Area placeholder. If this control is checked, the value from the editbox *9 is used. If this control is not checked, the editbox *8 is disabled. The default for this control is to be checked.

Slide number (*9)

This checkbox control shows or hides the number area placeholder.

Don't show on title slide (*10)

If this checkbox is checked, all header and footer placeholders are hidden on the first page of the presentation.

Apply to All (*11)

This button applies all settings from the current tab page to all slides in the document.

Apply (*12)

This button applies all settings from the current tab page to the current slide or a range of selected slides. If there is no current slide or no range of selected slides in the current view (for example if a master page, a notes page or the handout template is displayed ) this control is disabled.

Cancel (*13)

This button closes the dialog without changing any settings.

Preview (*14)

This preview control shows the visible states of the different header and footer placeholders that are currently set in the tab page.

Notes and Handouts

The Notes and Handouts tab page (s. Drawing 5) configures the header and footer settings for slides.

Drawing 5Notes and Handouts tab page

Header (*1)

This checkbox control shows or hides the header area placeholder. If this control is checked, the value from the editbox *2 is used. If this control is not checked, the editbox *2 is disabled. The default for this control is to be checked.

Date and time (*3)

This checkbox control shows or hides the date area placeholder. If this control is not checked, the controls *4, *5, *6, *7 and *8 are disabled. The default for this control is to be checked.

Fixed (*4)

This radiobox selects a fixed value to be shown in the date and time text fields. If this is selected, the value from the editbox *5 is used. If this is not selected, the editbox *5 is disabled.

Variable (*6)

This radiobox selects a variable value to be shown in the date and time text field. If this is not selected, the controls *7 and *8 are disabled.

Format (*7)

This combobox lets the user select the format for the date and time fields. 23/10/03

Thursday 23 October 2003

23 October 2003

23 Oct 2003

23/10/03 11:43

23/10/03 11:43 AM

11:43

11:43:52

11:43 AM

11:43:52 AM

Language (*8)

This combobox lets the user select the language for the date and time fields. The combobox contains all languages supported by OpenOffice.org.

Footer (*9)

This checkbox control shows or hides the footer area placeholder. If this control is checked, the value from the editbox *10 is used. If this control is not checked, the editbox *10 is disabled. The default for this control is to be checked.

Slide number (*11)

This checkbox control shows or hides the number area placeholder.

Apply to All (*12)

This button applies all settings from the current tab page to all notes pages in the document and to the handout template.

Cancel (*13)

This button closes the dialog without changing any settings.

Preview (*14)

This preview control shows the visible states of the different header and footer placeholders that are currently set in the tab page.

Item	English	German	Comments
Dialog Title	Header and Footer	Kopf- und Fußzeile	5
View Menu	~Header and Footer...	Kopf- und Fußzeile...	1
Insert Menu	Page N~umber...	Seitenzahl...	4
Insert Menu	Date and ~Time...	Datum und Uhrzeit...	4
Tabpage	Slide	Folie	5
Group	Include on slide	Auf Folie zeigen	5
Checkbox	~Date and time	Datum und Uhrzeit	5
Radiobutton	~Variable	Variabel	Like our own field handling
Check box (on Notes and Handouts tab page)	Page number	Seitenzahl	”Format” Does not appear in the dialog, but “Page number” does
Fixedtext	~Language:	Sprache:	-''-
Radiobutton	Fi~xed	Fix	-''-
Checkbox (on Slide tab page)	Slide number	Foliennummer	5
Checkbox	Footer	Fußzeile	5
Fixedtext	Footer text	Text für die Fußzeile	
Checkbox	Do not show on first slide	Auf der ersten Folie nicht anzeigen	5
Button	Apply to All	Für alle Übernehmen	5
Button	Apply	Übernehmen	5
Button	Cancel	Abbrechen	5
Tabpage	Notes and Handouts	Notizblätter und Handzettel	6
Checkbox	Header	Kopfzeile	6
Fixedtext	Header text	Text für die Kopfzeile	
Group (on Notes and Handouts tab page)	Include on page	Auf Seite zeigen	5

Master Layout floats

See 5 Notes: MMP-1

Since this feature allows the user to delete placeholders on master pages, there must be a user interface to recreate deleted placeholders. We will add floating windows for the slides master, notes master and handout template view to do this.

The floats can be accessed from a submenu “Master layouts” located in the View menu between the “Master” and “Layer” menu entries. The submenu contains the entries

Drawing...

Notes...

Handouts...

Drawing 6Master Layout floater

Master Layout

The Master Layout floater (s. Drawing 6) displays the status of the placeholders on the current master slide. Its title is “Master Layout”. If one of the placeholders is checked, it means the placeholder is still on that master. If its not checked, it means the placeholder has been removed. If the user checks a non checked placeholder, that placeholder is recreated when the floater is closed with OK. If the user unchecks a placeholder, that placeholder is deleted from the master page. Title and placeholders can't be deleted and are disabled when checked. Since there is no header on slides, this control is disabled.

Notes Master Layout

The Notes Master Layout (s.Drawing 6) displays the status of the placeholders on the current notes master page. Its title is “Notes Master Layout”. If one of the placeholders is checked, it means the placeholder is still on that master. If its not checked, it means the placeholder has been removed. If the user checks a non checked placeholder, that placeholder is recreated when the floater is closed with OK. If the user unchecks a placeholder, that placeholder is deleted from the master page. Slide image and Body placeholders can't be deleted and are disabled when checked. The text “Slide number” is replaced by “Page number”

Handout Template Layout

The Handout Template Layout (s. Drawing 6) displays the status of the placeholders on the current notes master page. Its title is “Handout Template Layout”. If one of the placeholders is checked, it means the placeholder is still on that master. If its not checked, it means the placeholder has been removed. If the user checks a non checked placeholder, that placeholder is recreated when the floater is closed with OK. If the user unchecks a placeholder, that placeholder is deleted from the master page.The text “Slide number” is replaced by “Page number”

Item	English	German	Comments
View Menu	Master Lay~outs	Masterlayouts	MMP: The View menu items are defined in View Menu
View Menu – Master Layouts	Master Layout...	Masterlayout...	This corresponds to terminology used in some other products, but we may change this to “Slide Master Layout” in a future version when the toolbar concept is different and this would not be a menu item, but rather a Help tip.
View Menu – Master Layouts	Notes Master Layout...	Notizenmasterlayout...	
View Menu – Master Layouts	Handout Master Layout...	Handzettelmasterlayout...	
Dialog Title	Master Layout	Masterlayout	9
Dialog Title	Notes Master Layout	Notizenmasterlayout	7
Dialog Title	Handout Master Layout	Handzettelmasterlayout	
Group	Placeholders	Platzhalter	9
Checkbox	Header	Kopfzeile	6
Checkbox	Date/time	Datum/Uhrzeit	EM: This is more precise than what some other products write.9
Checkbox	Footer	Fußzeile	9
Checkbox (for Slide)	Slide number	Foliennummer	9
Checkbox (for Handout)	Page number	Seitenzahl	7

English: Old	English: New	German: Old	German: New	Comment
Master	Master	Hintergrund	Master	Only German must be changed
Drawing	Slide Master	Zeichnung	Folienmaster	Menu item under View – Master (brings you to the “Master View” --see the Help tip in the bottom left hand corner of the view)
Master View	Master View	Hintergrundansicht	Masteransicht	In the view under View – Master the Help tip in the bottom left hand corner of the view; Only German must be changed

Cosmetic changes

Borders for empty presentation placeholders will now be painted with a dotted line. This is consistend with the competition and gives a more modern look and feel.

Future Tasks

It should be possible to modify the formatings of the header and footer placeholders from the “Header & Footers dialog”.

Notes

MMP-1 ad 3.7Master Layout floats

New design is necessary to resolve a conflict with the [View Menu]

The menu item View>Master>Master Elements... opens a dialog “Master Elements”. The menu item is enabled if the slide master (fka Drawing), the handout master, or the notes master is active. It is disabled if a non master view is active.

The Master Elements dialog is a modal dialog that contains the 4 checkboxes from Drawing 6, OK and Cancel button. The “Placeholder” divider is not necessary. The functionality is the same as described in 3.7 Master Layout floats. and changes the master elements for the active master view.

The strings “Master ~Elements” and “Master Elements” are defined in [View Menu]

References

View Menu	http://specs.openoffice.org/appwide/menus/ViewMenu.sxw

Header and Footer support for Impress

Page 12

http://specs.openoffice.org/impress/header_and_footer.sxw

Christian Lippka

2003-06-17T10:10:40

Matthias Müller-Prove

Elizabeth Matthis