I have a suite of existing word documents in .docx format. They are medium size 25-100 pages each. I would like to maintain the documents using LibraOffice rather than word. I am running 184.108.40.206 on MacOS 10.10.5. Here’s my dose of drama using LibreOffice:
I open the document using LibraOffice, select the entire contents and choose Format → Clear Direct Formatting
I select Styles → New Style and create a style with Inherit From set to “-None-”
I set the font and I adjust Spacing Below Paragraph to from 0.08 0.00 and save the new style
I select a row in a table and using the toolbar pulldown, choose my new style for this row
Everything works as expected!
I save the document and close the file.
I reopen the file
The table row has 0.08" trailing vertical space inside the boxes!
I select the row and choose Format → Paragraph.
The trailing space is parameter is set to 0.08".
I use the toolbar to see the style and choose Edit Style - the style trailing space is 0.00"
With the row still selected, I choose Format → Clear Direct Formatting
The row updates to have 0.00" of trailing space
I save the document and reopen it
The 0.08" of trailing space is back again
Why does saving and reopening my document cause its formatting to change, ever?
How do I get the paragraph trailing space for a custom style to be 0.00 and to apply to selected text?
You say you saved the file as a docx and the problem went away. The file was a .docx file and when I repair the formatting and save it as a docx file, the problem comes back. Are you saving with “Save” or with “Save As”? I have tried both and the problem always comes back after saving, closing and re-opening. How is this different for you than for me? Any thoughts?
Regarding native file formats - I understand this problem very, very well. However, the face of Libreoffice suggests that Libreoffice is a suitable replacement for Word. Without getting into endless philosophy, I don’t understand this positioning when I can’t open, edit, save a fairly typical engineering document (numbered paragraphs, table & cross-reference intensive).
If I maintain the document in ODF format, I have dozens of hours of work to do to get that format to work as Libreoffice doesn’t do the conversation successfully. If I maintain it in docx format, it seems I can’t use Libreoffice unless we can sort out some approach to resolving these formatting issues.
Are you suggesting I use Word to save it in ODF format and then edit with Libreoffice?
Ok, so when you said that saving as .docx solved the problem, you meant .odt. Got it.
When I save the file as .odt, you are right, the one row in question no longers gets the 0.08" of trailing white space. However, the entire table formatting is destroyed - not messed up, destroyed - to the point where reconstituting them means deleting and recreating them. A big price to pay to remove a little white space.
Interestingly, if I open and save as a .docx, which gains the 0.08" of whitespace and then I open in Word, select the table, choose Format → Paragraph and reduce the whitespace to 0pt, save, open with Libreoffice and the problem does not recur.
Libreoffice can read, render, modify and save these tables perfectly well when starting and ending in .docx format. I trust it can read, render, modify and save them perfectly well when starting and ending in .odt format.
So now there seems to be two bugs:
- Libreoffice seems intent on decorating a given paragraph style with an extra 0.08" of white space for no discernible reason yet Microsoft Word can be used to fix this
- Libreoffice does not correctly save tables in .odt format when they were read in .docx format
While I do truly appreciate the challenges of document format interchange, based on these symptoms, this doesn’t appear to be that kind of problem.
Is there any possibility of someone improving these two situations?