Contact

Apache OpenOffice Calc · Cell formatting and layout · Beginner

Format Readable Tables with Reusable Styles in OpenOffice Calc

Wrap long notes, apply and modify cell styles in Apache OpenOffice Calc, clear direct formatting, and check inserted rows.

Documentation-qualified exercise; native application verification pending · Editorial standards

Use a named cell style to keep a small task table consistent, then distinguish a shared style change from a one-cell formatting override. Wrapping and sensible column widths let the reader see complete notes without merging cells.

Enter a complete task table

In a blank Sheet1 enter the following A1:D4 fixture. Enter the long notes as single cell values, without manual line breaks.

Row A: Task B: Owner C: Hours D: Notes
1 Task Owner Hours Notes
2 Inspect lamps Mira 2 Check every desk lamp before the evening workshop
3 Label boxes Tomas 3 Put the room name and inventory code on each box
4 Pack cables Esme 1 Keep adapters together with the matching cable

Put Hours check in F1 and =SUM(C2:C4) in F2. The answer is 6. Save as task-layout.ods using File → Save As and ODF spreadsheet format. The checks here concern appearance and unchanged content; a page that looks tidy can still contain the wrong data.

Make the text fit

  1. Select column D by its column heading. Drag its right boundary to a moderate width, roughly enough for six or seven words. Set A wide enough to show the task names and B wide enough for the owners. Keep C compact but wide enough for its header.
  2. Select D2:D4 and choose Format → Cells. On Alignment, enable Wrap text automatically and set vertical alignment to Top. Confirm.
  3. Select rows 2 through 4. Drag the lower boundary of each row heading downward until its note is fully visible. Check each note from beginning to end; no lower line should be clipped.
  4. Widen or narrow D slightly and adjust the row heights if needed. Wrapping changes where a line ends; it does not add line-break characters to the stored note. Select D2 and inspect the input line to confirm the sentence is intact.

Avoid Shrink to fit cell size as a substitute for readable wrapping. Font size that keeps shrinking can become inaccessible. Do not merge these record cells: separate rows and columns make later sorting and editing safer.

Create a reusable body style

  1. Open Format → Styles and Formatting. Choose Cell Styles. Right-click Default and choose New so the new style inherits a known base.
  2. In Organizer, name it TaskBody. In Font, choose an available, readable font at 11 or 12 points. In Alignment, enable Wrap text automatically and vertical alignment Top. Use a pale background on Background, keeping dark text. Confirm.
  3. Select A2:D4. Double-click TaskBody in the style list to apply it to the whole body. The header A1:D1 is outside the selection.
  4. Select A1:D1 and apply bold directly using the formatting toolbar. Adjust row heights again and check that the body style has not been applied to the check cells F1:F2.

This style deliberately has no special currency, percentage or date format: the Hours values should remain ordinary numbers. Inspect F2 after styling; it must still be 6. The complete words in D2:D4 should match the fixture.

Apply the same style from the toolbar or to scattered cells

The style list is useful for a selected block; Fill Format is useful when the targets are separated. Both apply a named style, not a copy of the neighboring cell’s value.

To expose Apply Style, open the small arrow menu at the right end of the Formatting toolbar and choose Visible Buttons → Apply Style. Select A2:D4 and choose TaskBody from that list. This provides another way to apply the same style already used by the table. Do not choose a font name from the adjacent list by mistake.

For a visible scattered-cell exercise, enter Call the supplier in H2 and Collect spare keys in H4. Leave H3 empty. In Styles and Formatting, select TaskBody, then click Fill Format mode. Click H2 once and H4 once. Click the Fill Format icon again to leave the mode before continuing ordinary editing; closing the Styles and Formatting window also ends it.

Check that H2 and H4 use the body style while H3 remains untouched. Widen column H and adjust the two row heights if the notes need more space. Neither note belongs in the Hours total, which must still be 6 at this stage. Changing a style should not turn the text into a number or replace it with another cell’s content.

While Fill Format is active, a right-click in the document reverses its most recent application. This is not the usual context-menu behavior: if one target unexpectedly loses the style, check whether you right-clicked while the mode was still active. Exit the mode, select the affected cell, and apply TaskBody deliberately again.

Change the style, then remove a local exception

Right-click TaskBody in Styles and Formatting and choose Modify. Change its background to another pale color and confirm. Every cell using that style should receive the change. This is the advantage over recoloring each row independently.

Now select B3 alone and set its font to bold with the toolbar. This is direct formatting on top of the named style. If you later modify the style’s font, a direct override may conceal the expected result on that cell.

To normalize B3, select it and choose Format → Default Formatting. Then double-click TaskBody again to make the intended style explicit. Recheck B3’s owner text and the shared appearance. Do this only to the selected body cell: clearing formatting from the whole sheet can remove useful header or number-format choices elsewhere. The command resets formatting; it is not a way to clear the cell’s contents.

Advanced case: a new row needs an explicit style check

Select row 4, then choose Insert → Rows to insert a row above the existing Pack cables row. Enter A4:D4 as Test projector, Nadia, 4, and Check the spare input cable before the first session.

Do not assume the inserted row inherited every property you wanted. Select A4:D4 and explicitly apply TaskBody; adjust its row height and inspect all four cells. The old Pack cables record should now be in row 5. Change F2 to =SUM(C2:C5) and verify 10. The four tasks must remain paired with their original owners and hours.

Modify the style’s background once more. All four body rows should respond, including the inserted row. If one does not, check its assigned style and direct overrides before copying an entire row over it. A style controls formatting; it does not automatically maintain formula boundaries or supply missing task data.

Save, reopen and recover

Save the ODS file, close and reopen it. Verify all four tasks, the 10-hour total, complete wrapped notes and the presence of TaskBody in the style list. Temporarily narrow column D, adjust row heights and confirm the full notes are still readable, then restore a comfortable width and save. These are checks to carry out in your build, not native results claimed here.

If you reset the wrong cell, undo immediately within the same editing session. After reopening, restore formatting by applying the appropriate style and recreate any header formatting deliberately. If data were overwritten, use the fixture or a saved copy; changing the style cannot recover old values.

Platform and output limits

The menu names follow the AOO 4.1 English desktop interface. Font availability, display scaling and printer metrics can change exact line counts and row heights across computers, so there is no required pixel width or screenshot for this exercise. Judge complete readable text rather than an exact number of lines. ODS preserves styles; a CSV export keeps data but not the layout. Preview printed output separately if the sheet will be printed.

Version scope and first-party references

Apache OpenOffice Calc 4.1 desktop, English menu names; documentation checked 2026-10-21. No native build or operating system was tested for this exercise. The expected numbers were calculated independently; appearance, UI interactions and persistence remain reader checks. No screenshot is presented as evidence of running this fixture.

Original sources consulted on 2026-10-19; the two application-method references below were checked in full on 2026-10-21:

For transferring a style definition into a different workbook, see copy and retire custom styles. Applying a style to cells and copying its definition between files are different operations.

Next skill: preserve values as well as their appearance

Before moving on, check the complete task notes, the inserted row’s owner and hours, and the total against this lesson’s fixture. Keep the styled task workbook as its own practice file; a readable table is not proof that an identifier or amount has the right stored type.

Next, preserve product IDs and format values. Use that lesson’s separate four-product-ID CSV and manual-entry examples to distinguish exact text identifiers from numeric currency, percentage and date displays. Compare the actual ID characters and type checks, not just column width or a tidy-looking number.

This task-styling exercise remains documentation-qualified, with native appearance and save/reopen checks unverified. The next lesson’s historical Apache OpenOffice 4.1.17 tests apply to its stated identifier and display examples; they do not verify this task table or its styles.

Return to the OpenOffice learning route for the ordered skills and each lesson’s evidence limits.