Comment 18 for bug 782406

Revision history for this message
penalvch (penalvch) wrote :

Gretha, keeping in mind the Writer limitations previously mentioned, Compare Document'ing the originally attached files via the Terminal:

cd ~/Desktop && wget -c https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/782406/+attachment/2610679/+files/LibreOffice-CompareDoc-Version-1.odt -O draft.odt && wget -c https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/782406/+attachment/2610680/+files/LibreOffice-CompareDoc-Version-2.odt -O final.odt && lowriter -nologo draft.odt

Edit -> Compare Document... -> final.odt -> Insert button

Writer marks 4 differences correctly, 2 Insertions and 2 Deletions.

Stripping out these differences, the footnote, and unflagged similarities, one has via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/782406/+attachment/2619286/+files/simple-draft.odt && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/782406/+attachment/2619287/+files/simple-final.odt && lowriter -nologo simple-draft.odt

Edit -> Compare Document... -> simple-final.odt -> Insert button

which flags 2 differences:
1 Insertion: in order
1 Deletion: so at

Looking at how Word compares via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/782406/+attachment/2619289/+files/simple-draft.doc && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/782406/+attachment/2619290/+files/simple-final.doc && wine ~/.wine/drive_c/Program\ Files/Microsoft\ Office/OFFICE11/WINWORD.EXE simple-draft.doc

Tools -> Compare and Merge Documents... -> uncheck Legal blackline -> uncheck Find formatting -> Merge drop down -> Merge into current document flags 1 difference:
1 Deletion: so at

So while Writer does not match ones functionality expectation of how Word compares documents in this pocket case, Writer is enhanced past Word to more accurately represent what actually occurred.

To boil this down, this report has been created in ignorance of how Writer performs document comparisons, which was discussed. Feel free to report any future bugs you may find.

lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10

apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.4.4-0ubuntu1
  Candidate: 1:3.4.4-0ubuntu1
  Version table:
 *** 1:3.4.4-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ oneiric-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.4.3-3ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages