Comparing Documents in OpenOffice: What the Comparison Shows and When to Use It
How document comparison in OpenOffice Writer marks word-level revisions, how it differs from tracked changes and plain-text diffs, and what to check before sharing results.
Comparing two versions of a document answers a narrow question: what text was added, removed or changed between an older file and a newer one. In OpenOffice Writer, the comparison is usually done with the Compare Document command. This guide explains what that comparison changes, how it differs from other ways of finding revisions, and what to check before you rely on the output or share it. Menu names and behavior can differ between OpenOffice versions and related office suites. This article is not based on a hands-on test, so confirm the steps in the built-in help for your installed version.
What a document comparison actually changes
A comparison does not rewrite your content. It opens the newer document and shows the differences from an older file as revision marks. Text that exists only in the newer version appears as an insertion. Text that exists only in the older version appears as a deletion. You can then accept or reject each mark through the program's change-management tools. Until you do, the document contains both the current text and a record of the alternatives.
The comparison works on the stored characters, not on how the text looks. This matters if a document has been through any kind of text styling or transformation.
- Character substitution: Decorative Unicode letters, such as mathematical bold or script letters used by font-generator tools, are different characters from ordinary letters. A word that looks the same as before may be reported as changed.
- Character-order reversal: Text whose characters have been stored in reverse order is a different string. It will show up as a deletion plus an insertion, not as the same word.
- Visual mirroring and font formatting: Effects applied through formatting, such as flipping text in a frame or changing a font, leave the characters unchanged. Whether these show up depends on how the program treats formatting differences, so do not assume they will be flagged.
- Bidirectional text: Right-to-left scripts and invisible direction-control characters can make the display order differ from the stored order. A comparison can report invisible control characters as changes even when nothing visible moved.
How finely the comparison splits changes, by whole paragraph, by word or by character, is not confirmed by the evidence for this guide. If you need word-level precision, check it with a short test. Change one word in a copy of a paragraph, compare the copy with the original, and see whether only that word is marked.
Running a comparison in OpenOffice Writer
- Open the newer version of the document in Writer.
- Look for Compare Document, typically under the Edit menu, and select the older version when prompted.
- Review the revision marks. Insertions and deletions are usually shown with distinct colors or underline and strikethrough styling.
- Open the accept-or-reject changes dialog, usually found under Edit and then Changes, to go through each difference.
- Save a separate copy before accepting or rejecting changes in bulk, so you keep a version with all the marks intact.
These steps follow the general pattern described in the OpenOffice Writer help. Exact labels and dialog options were not verified for this guide.
Which approach suits your intended result
There are three common ways to find revisions between versions. The table below compares them on the same criteria. The descriptions are general characteristics, not measured results.
| Criterion | Compare Document in Writer | Track Changes while editing | Plain-text diff tool |
| When it is used | After the fact, on two saved files | During editing, before a new version exists | After the fact, on exported text |
| What it compares | Stored document content | Edits as they are made | Characters or lines in plain text only |
| Formatting visibility | May include some formatting; verify in your version | Can record formatting changes if enabled | Formatting is lost on export |
| Editability of result | Marks can be accepted or rejected in the document | Marks can be accepted or rejected in the document | Output is a report; you apply changes yourself |
| Reversibility | Keep an unaccepted copy to preserve both versions | Original remains recoverable until changes are accepted | Source files stay untouched |
| Best fit | Reviewing a version that arrived without tracked changes | Collaborative editing with an audit trail | Exact character-level checks, scripts or version control |
Choose Compare Document when someone sends a revised file with no tracked changes and you need to see what they altered. Choose Track Changes when you control the editing process from the start, because it records edits as they happen instead of reconstructing them later. Choose a plain-text diff when you need to see every changed character, including invisible ones, and do not need formatting.
The following example uses matched input to show how a plain-text diff reports a single-word revision. It is illustrative output written for this guide, not output observed from a specific tool. Writer would show the same change as revision marks inside the document instead.
Older: The committee approved the draft budget on Monday.
Newer: The committee rejected the draft budget on Monday.
Illustrative line diff:
- The committee approved the draft budget on Monday.
+ The committee rejected the draft budget on Monday.
Illustrative word-level view:
The committee [-approved-]{+rejected+} the draft budget on Monday.
The line view shows that the sentence changed, but you have to find the edit yourself. The word-level view isolates the edit. For prose revisions, a word-level view is usually easier to review, so confirm which view your chosen tool provides.
Will the result stay readable and usable where you need it
Revision marks are document data, not plain text. Whether they survive depends on where the content goes next.
- Saving: The native OpenDocument format is designed to store tracked changes. Exporting to other formats may keep, flatten or drop the marks. Open the exported file and check before sending it.
- Copy and paste: Copying marked text into an email, chat or web form generally carries only characters. Deleted text may be lost or may reappear as ordinary text, depending on the destination. Test with a short passage first.
- Accessibility: Insertions and deletions are often shown mainly by color and line styling. Readers with color-vision differences or screen-reader users may not perceive these cues reliably. For those readers, a written summary of key changes, or a clean final version alongside the marked version, is safer. How a particular screen reader announces revision marks was not tested for this guide.
- Compatibility: Other word processors can usually open tracked changes from OpenDocument files, but the display and handling of marks may differ. Ask the recipient to confirm what they see if the review is important.
If the documents went through Unicode styling, reversal or direction-control characters, consider converting them back to ordinary text before comparing. Otherwise the comparison may flag many cosmetic changes that hide the real revisions. A plain-text diff that can show invisible characters is a useful second check when results look puzzling.
Writer's comparison runs on your own computer. Online comparison services work differently, because you upload both versions to a third party. Do not upload contracts, personal data or unreleased material unless you have reviewed the service's data handling and are permitted to share the content. For sensitive files, a local comparison is the more cautious choice.
Gaps to keep in mind
This guide does not confirm the exact menu labels in every OpenOffice release, how finely Writer splits changes, which formatting differences it reports, or how specific assistive technologies present revision marks. Before relying on the output for formal review, test these points in your installed version with a small sample document.