Quantcast
Username/Email:  Password: 

OOo Off the Wall: Setting Up Page Styles in OOo Writer

 in
A little planning ahead will make your word processing tasks easier and keep your documents looking consistent as they grow.


Page styles are one of OpenOffice.org's strongest innovations. Together
with text frames and integration with Draw, these features nudge OOo Writer out of
the word processor category and into the lower reaches of desktop
publishing.

Unfortunately, page styles also are one of the hardest features for new
users to master. Users of other word processors may be familiar with
paragraph and character styles but probably do not know page styles. If they are used to
master pages in FrameMaker or PageMaker, users are only slightly
better off, because page styles take a different approach to layout than
do master pages. And, to make matters worse, OpenOffice.org's version 1.1 on-line help
barely goes beyond a description of the fields in the
Page Style window.

To use page styles effectively, users need a specific combination of
knowledge. To start with, they need a basic knowledge of design
elements. Equally important, however, they need to know where
the tools are located throughout Writer that let users apply this
knowledge.

What follows is a summary of the design elements in Writer and the tools to apply
them. It explains the planning you need to do beforehand and how to
design the general page and individual elements, such as headers,
footers, footnotes and reoccurring graphics. Finally, it explains how
to automate the application of page styles for greater convenience as
you write.

Planning the Styles You Need
Before you build styles, ask yourself what styles you are going to need.
Many of the pages you need may already exist in OpenOffice.org.

In typography, the basic page is the right one, because when a book
is bound, the first page you see after the inside cover is a right-hand
page. If you are planning a simple document, modify the Right Page style
for your purposes.

If you are designing a document that will be bound, however, or if you
simply are a fan of traditional design, you probably want to use the
Left Page style as well. Generally, the left page mirrors the right
page, so refer to File→Page Preview frequently to check that you are
keeping the two pages symmetrical.

Left and right pages are mirror images for at least two good reasons.
First, when a book is bound, the margin closest to the center of the
book needs to be wider than the outside margin to accommodate the
stitches or the glue. This is the right margin on the left page, and the
left margin on the right page. Second, regardless of whether the page
number is in the header or footer, designers usually prefer to put it on
the outside margin of the page to make it easier to read.

For a letter with its sender's address and mailing address, or for a
chapter of a longer work, you should design the First Page style so
readers can distinguish it at a glance. The first page usually is a
modified right page. Its modifications can include a large chapter
number, a graphic, a start farther down the page, a drop capital for the
first letter or word and a different header.

Figure 1. Designing the First Page

Other page styles depend on your needs. A two-column Index page style can save space, and you
may want to create an Index First Page for it. If you need the
occasional landscape page for diagrams, you also may want to create that
style. Other page styles depend on your needs. If you plan all of your
page styles
at the same time, though, you can ensure that they look the same and are not
a jumble of improvisations.

Setting Up the Basic Design
Creating a new page style is a simple process. Begin by activating the Stylist
floating palette by pressing the F11 key. Then,
select the fourth icon from the left on the top of the Stylist.
Right-click an entry in the Stylist and select New or Modify. If you
select New, the new style is based automatically on the existing style
that you click.

Start with the basic formatting listed in Table 1; we revisit other
selections later.
Table 1. Basic Formatting for Page StylesFieldSuggested SettingsPage→FormatLetter in North America, A4 anywhere else. The most
common reason for a different size is using envelops of varying
sizes.OrientationPortrait for most text-based documents, landscape for
diagrams.MarginsUsually .7 to 1.0 inches. Don't be afraid to be
generous with the margins; narrow margins make the entire page cramped.
In traditional design for bound books, make the side closest to the
center of the book at least .25 inches wider than the outside margin to
allow room for binding.Page→Page LayoutSets up mirrored pages for styles other than Left
Page and Right Page.BackgroundFor most purposes, leave the background white. If you do
use color, test that the text is readable against the background. The
heyday of Wired is long past.BordersFor most purposes, none. Borders around text often are a sign
of design insecurity. At times, though, a border may help to group text or
contribute to a complex design.ColumnsFor most purposes, use one column. If you select landscape for a text
document, plan on at least two columns or the lines will be too long for
easy reading. Too short of a column for the font size may result in too
many hyphens.
Figure 2. Changing the Background and Borders

Headers, Footers and Footnotes
Aside from their positions, headers and footers are the same thing: text
frames repeated on every page of a particular style. They carry general
information about the document, such as the page number, the writer's
name or the chapter's title. They also can be used to insert a
reoccurring graphic. If not much information is needed, then only
one of the two frames may be used.

Figure 3. Adding a Header

To set up the basic behavior of a header or footer, go to the
appropriate tab in the Page Style window. The Advanced
button opens additional settings should you need them. Table 2 indicates
the fields with which you
should be most concerned.

Figure 4. Creating the Page Design
Table 2. Designing Headers and FootersFieldWhat It DoesHeader On & Footer OnCreates the header or footer.Same Content Left/RightDuplicates content on left and right pages. When you're using the Left Page and Right Page styles, this field is
unnecessary, so it's turned off.
Left Margin & Right MarginThe distance from the edges of the page.
Header and footer margins are separate from those of the main
text frame on the page. In most cases, however, you want the margins
to have the same settings.SpacingThe amount of space between the footer and the bottom of the
page or the header and the top of the page.Using Dynamic SpacingAutomatically adjusts the spacing as you add content. This setting can
be useful if you add a graphic or are unsure of your present needs.HeightThe vertical dimension for the header or footer.Autofit HeightAutomatically adjusts the height of the header or
footer to the content. This setting can be useful if you add a graphic
or are unsure of your present needs.Line ArrangementAdds a line to the border of the header or footer
frame. Click on the side of the border where you want the line
(generally, the bottom of the header and the top of the footer).LinestyleSets the thickness design and color of the line. A common
beginner's mistake is to use too thick of a line. Try to coordinate the
color with the page background and the color of headings or any nearby
graphics.Spacing to ContentsSets the spacing between the header or footer and
other content.Spacing to Contents→SynchronizePlaces an equal amount of space between the header or footer and
other content on all sides.Shadow StyleSets the position and color of a shadow, as well as its distance
from the header or footer. This effect is easy to overdo, so use it
sparingly.
Once you have the look of your headers and footers defined, you can add
content. You can add what you want manually, or by using
fields, you can have headers and footers update automatically when
the content changes. Table 3 shows some of the ways you
can automate content.
Table 3. Adding Contents to Headers and FootersFieldWhat It DoesWhere to Find ItPage NumberAdds the page numberInsert→Fields→Page NumberPage CountInserts the total number of pages in the document.Insert→Fields→Page Count;
you can combine this field with the page number and the typing of two
characters to produce: <page number> of <page count>)ChapterAdds the text of the last Heading paragraph style to the
header or footerInsert→Fields→Other→Document→Chapter
Automatically; this adds the last heading style used to the header or footer.
Use the Layer field to set which level of heading is used in the field.
For example, on the First Page, you could set the Layer to 1 to put the
Title in the footer, and on other pages you could set the Layer to 2
to put the subheadings in the footer to help readers scan for
content.Chapter NumberAdds the number of the last Heading paragraph style
to the header or footer when Outline numbering is used.Outline
Numbering must be set up for headings in Tools→Outline Numbering.
Then select Insert→Fields→Other→Document→Chapter
Number.
Many page designs do not require footnotes. For those that do, OOo
Writer offers the design choices listed in Table 4.
Table 4. Footnote SettingsFieldWhat It DoesFootNote AreaNot larger than page area.Maximum Footnote HeightSets the maximum space given to footnotes.Space to TextThe space between the footnote and the main text frame.Separator Line→Position, Weight, LengthThe line that divides the footnotes from the rest of the
page.Spacing to Footnote ContentsThe space between the separator line
and the footnote text.
Reoccurring Elements
Unfortunately, version 1.1 of OpenOffice.org has no way of setting a text
frame to appear every time a specific page style is used. You can
work around this limitation in several ways:

  • Place the reoccurring elements in the header or the footer. Headers
    and footers are the only types of frame that allow you to place the same
    content on different pages. If necessary, you can expand the size of the
    header or footer. However, this method can disrupt the page style, so it
    is a limited solution at best.
  • Add a graphic using the Background tab of the Page Style window. If
    you set the As field to Graphic, you can browse for the graphic and
    select Type→Position to place it in one of nine pre-set positions. The
    limitation of this method is that eight of these positions are around
    the edge of the text frame, and the ninth is in the middle. In most
    instances, these probably are not the places where you want the reoccurring
    element to go. You can compensate by adding a background that is the same color as the
    paper you'll be using to offset the location of the graphic; this
    solution may take some trial and error to get right.
  • Create a graphic in OOo Draw that is the size of the main text
    frame—that is, the page size minus the margins. On standard letter-size paper
    with margins of one inch on all sides, this would be 6.5" × 9". The
    background of the graphic should be the color of the paper on which you plan to
    print. Add the reoccurring element where you want it and position it in
    the center of the page as a background. Create one or more paragraph
    styles that can flow around the reoccurring element, and you're done.

Clearly, none of these solutions is ideal. OOo Writer would greatly
enhance its desktop publishing ability if there were a simpler solution,
and perhaps it will offer one in future releases. Meanwhile, these
workarounds are
a way to dodge the limitation.

Applying a Page Style
Once you have designed the page styles, you're ready to use them.
The simplest way to apply a page style is in the same way as
you would any other style: place the mouse cursor where you want to apply
it, press F11 to open the Stylist (if it isn't already open) and
select from the list of available page styles. You can get much the same result by
selecting Insert→Manual →Page Break and making a selection from
the drop-down list in the Styles field.
For rarely used page styles, these methods of manual application are
good enough.

Figure 5. Choosing a New Page Style

However, for the frequently used page styles, it's more
convenient to automate them. There are two ways of automating the
application of page styles.

The first way is to use the Next Style field on the Organizer tab of the
Page Style Window. For example, if you have three page styles, First,
Left Page and Right Page, you can set the Next Style field as shown
in Table 5.
Table 5. Setting Up Automatic Page Styles Using the Next Style FieldPage StyleNext Page EntryFirst PageLeft PageLeft PageRight PageRight PageLeft Page
The first page, remember, is a right-hand page, so it is
followed by a left page.
If you save the document as a template, the documents that use the
template automatically start with the first page style and apply
the basic page styles without you ever needing to think about them. Any
unusual pages can be added manually.

Another method is to create a page style that always starts on a new page.
For instance, if you were a teacher, you might want to design a document in
which each left page
has questions and exercises and each right page has answers
and teaching notes. If you created a paragraph style called Questions,
you could set up a page style for it on the Text Flow tab of the
Paragraph Style window. Table 6 shows the settings used to associate a
paragraph style with a page style (in this case, the Left Page style).
Table 6. Associating a Page Style with a Paragraph
Style
SelectionWhat It DoesSetting to ApplyEnableEnables the page break.—Position fieldSets where the paragraph style is used in relation to
the new page.BeforeWith Page StylesEnables a page style to be linked to the break.—StyleSets the style connected to the break.Left Page
The page number field is not used here, although it could be if for some
reason you continually wanted to reset the Questions page to 1.
Create another paragraph style called Answers that is assigned to the
Right Page. Afterwards, selecting one of the two paragraph styles automatically
adds the page style you want as well.

Conclusion
Although most people rarely
notice it, design can be a lifelong study and at least rates as a
craft, if not an art. Adding design concerns to a description
of how to use a program with as many features as OpenOffice.org Writer
only adds to the complexity. But it does provide a starting point for
understanding what you can do with design in general and with Writer
page styles specifically. The rest—including when you should ignore the suggestions
I've made—is practice.
Resources
Robert Bringhurst, The Elements of Typographic
Style
, 2nd Edition.
Hartley and Marks, Vancouver, Canada, 1996. One of the bibles of modern
typography.

Robin Williams, The Non-Designer's Design Book, 2nd
Edition. Peachpit Press, Berkley, California, 2003. A quick and
entertaining introduction to design and layout.

Bruce Byfield was product manager at Stormix Technologies and marketing
and communications director at Progeny Linux System. He also was a
contributing editor at Maximum Linux and the original writer of the
Desktop Debian manual. Away from his computer, he listens to punk-folk
music, raises parrots and runs long, painful distances of his own
free will.

______________________

--
Bruce Byfield (nanday)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

How to remove the header from the other pages

Anonymous's picture

Hello.

I found difficulties in removing the header from other pages. I just want the header shown on the first page, but once I set the header, it shows on all pages. Would you help me to remove the header from other pages, please?
Looking forward for your response.
Thank You very much.

Rgds,

Rhea

Re: OOo Off the Wall: Setting Up Page Styles in OOo Writer

Anonymous's picture

Reoccurring Elements (on a page)

Another possibility for adding reoccurring objects is to use drawing elements and place these in the header (anchored to paragraph). Drawing Elements are not limited to the frame area but can extend outside of it. This method allows text/ graphics in the page margins which the others do not.

For Text Only this is simple as creating a graphics object (eg. Rectangle) and inserting text by double clicking the object. Then set the line and area properties to invisible or other as appropriate.

Graphics can be changed to Drawing Objects by copying the graphic and pasting into Draw. Then copy the graphic from Draw and paste it into the header. By default (at least on my set-up) it is pasted as a ?Drawing Format?object, but otherwise Edit> Paste Special> Drawing Format will do it.

As with all workarounds the downside: Text wrap will not work for text outside the Header Frame . Therefore this solution is good for objects outside of text areas such as in the side margins. Also if you are sharing files with Microsoft users expect some challenges, since Microsoft is more limited in their handling of text in graphics.

Page Number Field problem :S

Anonymous's picture

I have 2 problems in OO:

1) Insertng Page Number Field, where a there is a large document (+1Mb, due to images/OLE objects), fails to display/print the page number over a value greater than 32; the page number field remains, but no page number is displayed/print from then on (apply page preview to verify this).

2) The same occurs with page number fields when applying an offset, if the offset makes the page number field to be greater than 32, then the page number field does not display/print any number and appears empty after displaying page number 32 (again, apply page preview to verify this).

Is there a way around this ???

Manual and automated page breaks

ursacol02's picture

as a longtime user of OOo i would suggest everyone that they try to automate the page breaks (Next style setting) as much as possible. sometimes, when you have the Next style defined and you use Manual page break instead, you will get additional page breaks, which can mess up you page numbering and print empty pages.

urska

Re: OOo Off the Wall: Setting Up Page Styles in OOo Writer

Anonymous's picture

"Spacing: The amount of space between the footer and the bottom of the page or the header and the top of the page." This is, at best, imprecise. It's actually the amount of space between the header/footer and the text that appears in the body of the page. The way it's phrased here makes it sound as if it's the space between the header/footer and the top or bottom edge of the sheet of paper the header/footer will appear on. In the same section, it should be made clearer that items found in other tabs (than header/footer tabs) are being discussed in addition.

Re: OOo Off the Wall: Setting Up Page Styles in OOo Writer

Anonymous's picture

One of the things I like about SO/OOo is that the page formatting menu is much easier to find and use that MS-Word. It does help to have had exposure to some sort of DTP package to get one's mind out of the automated typewriter model of most word processing programs.

Post new comment

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.
  • Use to create page breaks.

More information about formatting options