This chapter shows you how to work with the styles you have created within your documents.
It shows you how to use the Regions editor to manage the number of styles you have used, and to remove styles from areas or text.
It provides hints and tips for working with styles and using effects.
It contains sections on:
Styles are sets of choices which determine the appearance and layout of numbers, text cells, rows and dates within your worksheet. Aspects of style include: the margins of each cell; the typeface used, its size, colour and any special attributes applied to it; and the alignment of figures within a cell. These are referred to in the following sections as attributes.
To see the list of styles available for use in any worksheet document,
click the button in the toolbar
(or choose from the menu).
You will see a dialogue box containing a list similar to this:
Styles provide a mechanism for changing the look of a worksheet quickly and easily. All styles contained in the worksheet are listed in the Style selector; to add a style to part of a worksheet, simply select it, click the
tool button on the toolbar, select the preferred style from the list and click .Styles can quickly be changed; any changes made will be applied to all occurrences of that style within the worksheet.
Using styles can save you a lot of time in formatting your worksheets, as well as ensuring consistency. For example, you can define a Totals style, and use it to highlight all totals within your worksheet. If the Totals style uses a different typeface, in a different size, and with extra spacing beneath compared to the style used for ordinary cells, the ability to apply a style with a couple of clicks can save you a lot of time even in short documents.
Changes you make to the look of data using the bold, italic, and justification buttons on the toolbar are applied as effects and don't change the underlying style applied to the area.
It is worth spending some time learning to use the Style and Effects dialogue boxes. If you haven't worked through the tutorials in the Getting Started Guide, you should do so. The documents supplied in the Examples directory all contain a variety of styles and show different ways that styles and effects can be used.
Effects are virtually identical to styles and you use them to change the appearance of your document in exactly the same way. The difference is that effects do not have names and so are applied once only. They are useful for quick one-off changes but less so if you want to be able to make consistent changes to a large worksheet or document.
If you make changes to the ruler or toolbar settings while any cells are selected, the changes will be applied to them as an effect.
If no cells are selected:
The
tool button on the toolbar (and the option on the menu) enable you to alter one or more attributes and apply the new settings to the selected area of text. To do this:All styles which exist within your document are shown in the style list.
All documents have several styles to start with, before you start editing and creating additional styles. These are the styles defined in the template from which the document was created.
When you open a new document it already contains several styles which are predefined in the template on which the document is based. Some of these styles have special purposes and you cannot set one up yourself.
The base style of the document behaves slightly differently from other styles. When you examine its contents, you will see that the buttons, which are normally red to show that an area is selected, are grey and cannot be switched off.
All documents created as sheets in Fireworkz contain a current cell style. This style is used in tables and worksheets to show the cell which is currently selected, that is where any data or formula entered on the editing line will appear on the sheet when you press Return↵.
The default current cell style is that a border appears around the cell, and that the cell has a grey background. You can, of course, edit the style of the cell so that a different colour is used for its contents, and so on.
Most of the time you wouldn't want a current cell style in a document which was mostly text, as you would have an irritating border around the paragraph you were typing.
A current cell style is not automatically added to a document based on a letter template. An easy way to add one is to:
You will also find Current Cell style templates in the Examples directory.
You can remove a style from the style list by selecting it from the style list and clicking the button marked
.If the style is in use in the document, you will see a dialogue box. This gives you the option of removing the style wherever it has been applied in the document, as well as from the style list. Click
to confirm this, or to cancel the deletion of the style.Do not delete the BaseStyle from the document. If you do this, you will find it difficult to edit or reformat the document.
Effective use of the Style editor can make your work with Fireworkz much more productive.
You can give your styles any name you like. However, it is a good idea to make the style names refer to the purpose of the style in the document rather than the actual features of the style. This means that you could change the look of all your second level headings, and the style name would still make sense.
There are two main ways you can apply existing styles. You can either apply a style to text or numbers you have already entered, or you can apply styles to blank cells so that when you type in data it appears in the format and style you want.
To apply a style to the contents of one or more cells:
There are many different attributes which can be defined as part of a style. However, they do not all have to be defined in each style, and there are advantages to defining fewer rather than more attributes for each style.
If you define only some attributes for each style, you can apply more than one style to the same text. For example, you might want a currency style, with the number format including a £ sign, and a Totals style, which highlighted the contents of the cell in bold. Defining these as separate styles would give you increased flexibility; rather than having to create a separate style for each combination of attributes, you can simple apply several styles to the same cell.
Non-text style attributes, such as number and date formats, background colours and table grid information, should always be defined separately from text styles. This gives you a great deal more flexibility in changing the design without affecting the text it contains.
The region editor is a tool for managing styles and effects which have been applied to the text in your documents. It allows you to:
To see the styles and effects applied to any text, you can use the region editor. This also enables you to remove any styles or effects from an area, and to see how the layering of styles affects the look of the document content at any point.
The style region editor tells you the name of styles applied to an area, and gives details of effects such as bold, italic, grids and boxes. This information will appear in the status line.
To use the style region editor:
Use the Region editor to remove applied styles or effects from a selected area of the worksheet.
If you have added many styles to a worksheet and are finding it over-complicated, you can use this option to remove styles which have become redundant from areas of the worksheet.