Issue 51277 - WW8: hard formattings lost upon save & reload of file
Summary: WW8: hard formattings lost upon save & reload of file
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: 680m109
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: 3.4.0
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: oooqa, regression
: 87687 (view as issue list)
Depends on:
Blocks:
 
Reported: 2005-06-27 18:16 UTC by rvolke
Modified: 2017-05-20 10:30 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
The document who's heading's format will not save (36.00 KB, application/vnd.sun.xml.writer)
2005-06-27 18:18 UTC, rvolke
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description rvolke 2005-06-27 18:16:59 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
Comment 1 rvolke 2005-06-27 18:18:51 UTC
Created attachment 27521 [details]
The document who's heading's format will not save
Comment 2 peschtra 2005-06-27 21:11:28 UTC
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.
Comment 3 peschtra 2005-06-27 21:32:03 UTC
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.
Comment 4 rvolke 2005-06-27 21:49:01 UTC
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.
Comment 5 peschtra 2005-06-27 21:49:20 UTC
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.
Comment 6 peschtra 2005-06-28 00:20:34 UTC
If you type in 14pt it will let you put in the point size again.
Comment 7 michael.ruess 2005-06-28 09:54:03 UTC
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.
Comment 8 lohmaier 2005-08-09 22:52:46 UTC
reproducible with m122 on linux as well → OS to all
Comment 9 Mathias_Bauer 2006-08-30 14:54:50 UTC
assigned to hbrinkm
Comment 10 michael.ruess 2008-04-02 16:05:53 UTC
*** Issue 87687 has been marked as a duplicate of this issue. ***
Comment 11 hlwright56 2009-09-08 14:16:04 UTC
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.
Comment 12 openoffice 2011-03-03 13:53:50 UTC
fixed in CWS sw34bf04.
changeset: 82f5d4fe352c
Comment 13 openoffice 2011-03-03 14:10:09 UTC
set wrong bug as fixed
Comment 15 openoffice 2011-03-11 11:39:22 UTC
reviewed changes
Comment 16 mst.ooo 2011-03-11 11:40:36 UTC
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.
Comment 17 michael.ruess 2011-03-14 14:37:40 UTC
Verified in CWS sw34bf04.