Apache OpenOffice (AOO) Bugzilla – Issue 51277
WW8: hard formattings lost upon save & reload of file
Last modified: 2017-05-20 10:30:50 UTC
I have tried multiple things but for some reason I cannot get the format change of the heading to save. Any other changes I make to the document save, but if I try changing the heading to be 14pt Verdana Bold Font, it will look like it worked, it will act like its saving, but if I close the document and reopen it the formatting will no longer be there. I am working on an NT box with OpenOffice version 109. I will attach the document in a moment. Thank you for any help you can give. Robert Volke
Created attachment 27521 [details] The document who's heading's format will not save
I've done some test and here is what I have discovered: In the DOC file Robert attached, the phrase on top has been assigned the paragraph style header, although it is not a header in the sense of the page styles thinking it is a header. I think it is in a table, but I don't know if that is relavant. This is what I tested: In 1.1.4 -- If I change the formatting of the text manually, that is I don't adjust the style, and save as a .doc file and reopen, the manual formatting changes remain. In 1.9.110 & 1.9.108 (I don't have 1.9.109 installed) -- Repeated the same test as in 1.1.4 and it did not work. However, if I manually changed the formatting and saved as a .ODT file and reopened the manual changes stayed. Further, in 1.9.110, I edited the style Header, and the text formatting changed, I saved as a .DOC file and reopened, and the changes to the text that occured because I changed the style remained. So, ultimately, this is an issue with exporting to .DOC format with manual formatting changes, the style always overides when reopening. One futher test this round. I opened the document in Word, changed the formatting manually, saved as .DOC and reopened in 1.9.110 & 1.9.108 and the manual formatting changes stayed. So, this seems to be an issue with 1.9.110 exporting a DOC file with the style formatting overiding the manual changes. Updated summary, version, OS, and marked as regression because it works as I think it should in 1.1.4.
More madness. I some more tests. I did three different things in 1.9.110, saved as .DOC, and reopened: 1) I highlighted the entire top line and changed the font manually to Verdana 14 2) I change the font of the words "Introduction FAQ for" to Verdana 14 and didn't touch Open Office. 3) I made the word FAQ Bold, for italicized, and Open Office underlined. Results: 1r) Same as previous entry, entire line reverts to original look. 2r) Formatting on "Introduction FAQ for" stayed as Verdana 14 and Open Office stayed untouched. 3r) FAQ stayed Bold, "for" stayed italicized, but Open Office returned to TNR 12. It seems that there is something special about the phrase "Open Office" in this document. Two more tests, same saving & opening parameters: 4) Select entire first line. Right Click and select default. Repeat test 3 from above. 5) Select entire first line. Right Click and select default. Make the words "FAQ for Open Office" bold. Results: 4r) Same as before, FAQ stayed Bold, "for" stayed italicized, but Open Office returned to TNR 12. 5r) Entire phrase reverts to TNR 12. Just to check two more things: Tests: 6) Opened the file from test 4 in MS Word. 7) Switch the configuration of test 4, making FAQ undelined, for, bold, and Open italicized and Office bold. Results: 6r) Same result as 4r, Open Office is back to TNR 12. 7r) New result. FAQ stayed underline (expected), for stayed bold (expected) Open stayed italicized, but bold returned to TNR 12! What in the world? There is something magical about the world Office here. Final test, and then I think I quit. I opened a new text document in 1.9.110 and typed the following line: "Thank you for using Open Office" I made the paragraph style Header, I alternated font attributes: B, I, U, B, I, U for each word. Saved as .doc, reopened, all formatting remains. So, it seems it is an issue of Writer exporting the word Office in Robert's file. I am not sure what is up. Sorry if this was long an organized in a manner that is illogical to you, it is the best way I could think of to track all of my tests.
Thank you for your assistance, and no worries I followed your workpretty good. Your a very thorough tester. I tinkered around with it myself and I found a roundabout way to get it to work. I just edited 'heading 10' to be Verdana bold at some percentage (strange I didn't have the option to set it to 14pt but had to choose a percentage), selected the heading, and gave it the format 'heading 10' that I edited and it saved properly (didn't go away when I closed it). I think I moved the image out of the way while I was doing this but I'm not sure, I too ran quite a few tests but was not as thorough with my documentation. Let me know if you or anyone else needs any more info to figure this bug out. Thank you again for your help.
I have now even retype the line in Robert's same document and tried again, and the it still not save manual formatting. Weird. I do note that you have applied the style to the text of the document. It says the entire body of the document is in the header style, but it is not really. Probably doesn't matter for this issue, but you may want to look at it.
If you type in 14pt it will let you put in the point size again.
MRU->FLR: open attached document, change the format of the "Introduction FAQ" Heading to "Verdana 14 pt", save as WW8 format and reopen -> the hard formats are lost.
reproducible with m122 on linux as well → OS to all
assigned to hbrinkm
*** Issue 87687 has been marked as a duplicate of this issue. ***
Well, this is likely a known issue but I have to use OO for academic purposes and I have to rewrite my essays regularly because the tabs do not remain set in my document. When I set the first-line indent on a document, I loose that formatting if I save it in any format such as MS Word (.doc) so I end up manually typing how many spaces I want the first line of the paragraph indented. This leads to frustrations and formatting errors such as misscounting the number of times I hit the spacebar for the indent. I would like to see an addition added to Writer that makes it easier to create APA citations. Non of the add-ons seem to fill the bill.
fixed in CWS sw34bf04. changeset: 82f5d4fe352c
set wrong bug as fixed
fixed in CWS sw34bf04 http://hg.services.openoffice.org/hg/cws/sw34bf04/rev/49f39c329657 http://hg.services.openoffice.org/hg/cws/sw34bf04/rev/1064873110ec
reviewed changes
the problem was that there is a frame anchored at the end of the paragraph. the WW8 exporter usually wrote the formatting attributes of the text properly, except if there is a frame at the paragraph end, then the text does not get formatted, but just the paragraph terminating character.
Verified in CWS sw34bf04.