[Libreoffice-bugs] [Bug 46060] Writer corrupts DOCX file, recovery not possible with Office 2010

2012-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46060

--- Comment #3 from Philip Gillißen gue...@freenet.de 2012-02-15 02:32:33 PST 
---
I created the clean document on Windows 64 Bit with Microsoft Office 2010. I 
saved it and then opened it in LibreOffice 3.5 (also on Windows 64 Bit, but it's
the LO 32 bit version).
Then I removed a blank and added it and saved the changed document under a new 
file name, but with .docx suffix.

Then I tried to open this new docx file with Word and it says it tries to 
recover it, but it fails. The document is not readable with Word.

I hope this is enough information. If you need more information, just ask.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 46060] Writer corrupts DOCX file, recovery not possible with Office 2010

2012-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46060

--- Comment #4 from Nino nn.l...@kflog.org 2012-02-15 05:04:18 PST ---
Though I have no windows for testing, I'm seemingly able to produce a file in 
docx format (i.e. exactly like the clean document) when saving the clean 
document
as described in the report:

1. open clean.docx
2. modify it (add a word)
3. save by pressing save button
4. confirm fileformat dialog

So all works as expected on linux rpm-32 LibO 3.5.0rc3. 

@ Philip: 
Seems as if saving the document did not produce a document of type MS XML 
but rather of type ODT. Adding the file extension .docx does not
automatically change the document type. To be able to tell, if this was caused 
by a software misbehavior (bug) or by a somewhat not-as-designed user action,
the question is, how the corrupted document was created exactly and if this 
behavior can be reproduced (and under which conditions, i.e. OS/platform/etc). 
So
you should give exact step-by-step instructions, what you did (which button you 
pressed, and so on) to save the document. Then somebody (using the same
Platform if available) should try to reproduce the behavior.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 46060] Writer corrupts DOCX file, recovery not possible with Office 2010

2012-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46060

--- Comment #5 from Philip Gillißen gue...@freenet.de 2012-02-15 06:41:16 PST 
---
Hi Nino!

(In reply to comment #4)
 @ Philip: 
 Seems as if saving the document did not produce a document of type MS XML 
 but rather of type ODT. Adding the file extension .docx does not
 automatically change the document type. To be able to tell, if this was 
 caused by a software misbehavior (bug) or by a somewhat not-as-designed 
 user action,
 the question is, how the corrupted document was created exactly and if this 
 behavior can be reproduced (and under which conditions, i.e. 
 OS/platform/etc). So
 you should give exact step-by-step instructions, what you did (which button 
 you pressed, and so on) to save the document. Then somebody (using the same
 Platform if available) should try to reproduce the behavior.

Thank you for the test and the clarification! I will try it if I did use the 
wrong format and report back (propably this evening).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 46060] Writer corrupts DOCX file, recovery not possible with Office 2010

2012-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46060

Philip Gillißen gue...@freenet.de changed:

   What|Removed |Added

  Attachment #57053|0   |1
is obsolete||
  Attachment #57054|0   |1
is obsolete||

--- Comment #6 from Philip Gillißen gue...@freenet.de 2012-02-15 10:34:37 PST 
---
Created attachment 57110
  -- https://bugs.freedesktop.org/attachment.cgi?id=57110
Clean document with TOC

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 46060] Writer corrupts DOCX file, recovery not possible with Office 2010

2012-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46060

--- Comment #7 from Philip Gillißen gue...@freenet.de 2012-02-15 10:35:38 PST 
---
Created attachment 57111
  -- https://bugs.freedesktop.org/attachment.cgi?id=57111
Corrupt document with TOC

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 46060] Writer corrupts DOCX file, recovery not possible with Office 2010

2012-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46060

--- Comment #8 from Philip Gillißen gue...@freenet.de 2012-02-15 10:40:45 PST 
---
I reanalyzed my problem and found the real problem corrupting the files.

The document is unrecoverably corrupted by LO 3.5, so that MS Word 2010 is not 
able to open the documents.

The source is the TOC, added by Word. I added two new documents (1 clean, 1 
corrupt).
Here's the procedure, how I created them:

1. Create new document in MS Word 2010
2. Insert TOC (standard template)
3. Add some headlines
4. Refresh TOC
5. Save document as docx file.
6. Copy document with Windows Explorer.
7. Open copy with LibreOffice Writer 3.5.
8. Add a line break
9. Save it in the current format.
10. Open it in Word. Not recoverable (problem in Line 2, document.xml).

I compared the contents with WinMerge[1] and the docx addon[2]. I found the 
differences in the TOC area.

I really hope, this information may help you. I will edit the bug title 
according to the new information.

[1]: http://winmerge.org/
[2]: http://freemind.s57.xrea.com/xdocdiffPlugin/en/index.html

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 46060] Writer corrupts DOCX file, recovery not possible with Office 2010

2012-02-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46060

--- Comment #1 from Philip Gillißen gue...@freenet.de 2012-02-14 12:51:27 PST 
---
Created attachment 57054
  -- https://bugs.freedesktop.org/attachment.cgi?id=57054
The corrupt document

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 46060] Writer corrupts DOCX file, recovery not possible with Office 2010

2012-02-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46060

--- Comment #2 from Pedro pedl...@gmail.com 2012-02-14 15:06:24 PST ---
The document you attached is a (perfectly good) ODT file with a wrong .DOCX 
extension.

Can you describe the exact steps that caused to create this file?

Thanks!

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs