Issue 119869 - [From Symphony]Several paragraphs become to one after saving doc to another one.
Summary: [From Symphony]Several paragraphs become to one after saving doc to another one.
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: 3.4.0
Hardware: PC All
: P3 Major (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Blocks: 120823
  Show dependency tree
Reported: 2012-06-07 08:33 UTC by Li Lin Yi
Modified: 2012-09-06 08:37 UTC (History)
1 user (show)

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

original text.png (822 bytes, image/png)
2012-06-08 02:57 UTC, Li Lin Yi
no flags Details
saved by aoo.png (967 bytes, image/png)
2012-06-08 02:58 UTC, Li Lin Yi
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Li Lin Yi 2012-06-07 08:33:27 UTC
Build Rev. 1327774.

Steps to Reproduce:
1. Open the attached file by AOO3.4: FMS BH 1.0 - FA(s) SDD.doc
2. Save it to another doc file.
3. Reopen the saved file in MS office.

Expected Results:
The saved file should be the same with the original one.

Actual Results: 
The saved has only 30 pages while the original one has 51 pages.
Because so many paragraphs jointed to one paragraph. e.g. The saved file, go to page 3. Compare this page with the original file. You can see the difference.
Comment 1 Li Lin Yi 2012-06-08 02:56:51 UTC
Because the sample has confidential issue, I can not upload it here. But I repoduced the defect as following steps:

1. Open MS office 2003 word, new a word.
2. Do the following operations: input "test" in the edit area, press "Enter" button, press "Enter" button, input "test" in the edit area.
After these operations, there are 3 paragraphs in the document(The second paragraph only has a paragraph separator). 
3. Choose menu "View->Show Paragraph Marks", and you will see the text like the sceenshot: original text.png.
4. Choose the second paragraph, right click it, choose "Font...". "Font" dialog pop up. In the "Font" tab, "Effects" section, check "Hidden". Then click OK on the "Font" dialog. After that, you will see the second paragraph disappear.
5. Save this file as test.doc.
6. Open the saved doc file by AOO3.4, saved it to another doc file without modification, say test_aoo.doc.
7. Open the file "test_aoo.doc" by MS office 2003. You will see the text like the screenshot: saved by aoo.png.
8. Choose menu "Tools->Options...", "Options" dialog pop up. In "View" tab, "Formatting marks" section, check "Hidden text". Then click OK to close this dialog. You will see the second dialog again.
9. Choose the first paragraph mark, right click it and choose "Font...". In "Effect" section, the "Hidden" is checked.

So I think the problem is:
When some paragraph marks are set as hidden text. AOO3.4 will change the paragraph mark befort the hidden paragraph marks as "hidden" too.
Comment 2 Li Lin Yi 2012-06-08 02:57:26 UTC
Created attachment 78160 [details]
original text.png
Comment 3 Li Lin Yi 2012-06-08 02:58:37 UTC
Created attachment 78161 [details]
saved by aoo.png