https://bugs.freedesktop.org/show_bug.cgi?id=76873

--- Comment #3 from rlusi...@yahoo.com ---
Comment on attachment 100852
  --> https://bugs.freedesktop.org/attachment.cgi?id=100852
demo files for bug 76873

I can reproduce this in 4.2.2.1, but not in 4.2.4.2.
It looks like the problem has been fixed.

Writer 4.2.2.1 fails to open the files in both cases after the document has
been edited by LO and then subsequently 

by Word. Writer 4.2.4.2 works properly. Thus it looks like the file opening
problem has definitely been fixed.

This time I saved the files in case anyone wants to see them. I'm sure the
Office XML format is pretty tricky.

There is an interesting change in metadata when an Office-created file is
edited in LO, that may be of interest. 

Look at the differences between OfficeCreatedPasswordProtectedFile1.docx and 

OfficeCreatedPasswordProtectedFile2.docx

----

The password for all files is: password

Windows 7 Enterprise Service Pack 1

Microsoft Office 2010
Version 14.0.7116.6000 (32-bit)

LibreOffice Writer
Version 4.2.4.2

With 4.2.4.2:

Created the OfficeCreatedPasswordProtectedFile1.docx in Word and saved with
password protection (open only).
Opened the file successfully in Libre Office, but did not change it.

Copied file to OfficeCreatedPasswordProtectedFile2.docx.
Opened file in Libre office, added a second entry, saved file in Microsoft Word
2007/2010/2013 XML format.
Opened file successfully in Word.
Opened file successfully in Libre Office.
**NOTE, HOWEVER, THE DIFFERENCE IN FILE METADATA - LOOK IN A TEXT EDITOR**

Copied file to OfficeCreatedPasswordProtectedFile3.docx
Opened file successfully in Word, added a third entry, saved file.
Opened file successfully in Libre Office.

Copied file to OfficeCreatedPasswordProtectedFile4.docx
Opened file in Libre office, added a fourth entry, saved file in Microsoft Word
2007/2010/2013 XML format.
Opened file successfully in Word.
Opened file successfully in Libre Office.

Copied file to OfficeCreatedPasswordProtectedFile5.docx
Opened file successfully in Word, added a third entry, saved file.
Opened file successfully in Libre Office.


Created the LibreOfficeCreatedPasswordProtectedFile1.docx in Libre Office and
file in Microsoft Word 2007/2010/2013 

XML format with password protection.
Opened the file successfully Word, but did not change it.

Copied file to LibreOfficeCreatedPasswordProtectedFile2.docx.
Opened file successfully in Word, added a second entry, saved file.
Opened file successfully in Libre Office.

Copied file to LibreOfficeCreatedPasswordProtectedFile3.docx
Opened file successfully in Libre Office, added a third entry, saved file.
Opened file successfully in Word.

Copied file to OfficeCreatedPasswordProtectedFile4.docx
Opened file in Word, added a fourth entry.
Opened file successfully in Word.
Opened file successfully in Libre Office.


With 4.2.2.1, I followed the same basic approach, but when the document is
edited by Word after LO has edited it, LO 

can't read the doc properly. I 

stopped that test after it was clear the 4.2.2.1 code was showing the bug.

-- 
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

Reply via email to