Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images...
Transcript of Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images...
![Page 1: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/1.jpg)
Measuring LibreOfficeInteroperability
www.synerzip.com
Dushyant Bhalgami LibreOffice Conference 2014, Bern [email protected]
![Page 2: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/2.jpg)
About Me
● QA Architect at Synerzip, Pune, India
● Member of TDF
● 7 Years of Experience in Automation Testing; with 2 Years indealing with OOXML format
● Email: [email protected]
● IRC: #libreoffice-qa: dushyant
![Page 3: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/3.jpg)
Topics
● Visual Comparison ● Methodologies● Challenges
● Non-Visual Comparison● Methodologies
● XML Level Comparison (FCT – Feature Comparison Tool)● Data Level Comparison
● Plain Text Analysis● Non-Visual Comparison Approach for Calc & Impress
● Challenges
● Test with Light Editing
![Page 4: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/4.jpg)
Visual Comparison Process
Sample Merge Image
![Page 5: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/5.jpg)
Visual Comparison – Analysis #1
File Match Analysis for Real World Files
![Page 6: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/6.jpg)
Visual Comparison - Analysis #2
Page Level Analysis for Real World Files
![Page 7: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/7.jpg)
Visual Comparison - Analysis #3
Improvements in Crash/Corrupt for Real World Files
![Page 8: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/8.jpg)
Real World Fixed 440 files
Visual Comparison – Gross Improvement
![Page 9: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/9.jpg)
Challenges in Visual Comparison Process
● Same visual comparison methods can be used for each office fileformats, with constraint per file type:● Document: Demarcation of content in form of 'Page' is difficult as the contents are in
free flow format, logical break is depends on the application● Spreadsheet: WorkBook is having multiple WorkSheets; and WorkSheet comprises data
and pictorial data like Images
● 'ImageMagick' compares the images pixel by pixel; hence a slight shiftin the pixel can lead to the wrong results.
● Visual Comparison is not foolproof and is depends on followingparameters• Version of MS Office including Service Pack, Updates• Rendering Technique of native OS
![Page 10: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/10.jpg)
Non-Visual Comparison Process
● FCT (Feature Comparison Tool)
● Writer Comparison Engine
● Calc Comparison Engine
● Impress Comparison Engine
![Page 11: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/11.jpg)
FCT – Feature Comparison Tool
XPath, the XML PathLanguage, is a query
language forselecting nodes froman XML document.
![Page 12: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/12.jpg)
Writer Comparison Engine
![Page 13: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/13.jpg)
Calc Comparison Engine
![Page 14: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/14.jpg)
Impress Comparison Engine
![Page 15: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/15.jpg)
Challenges in Non-Visual Comparison
● FCT (Feature Comparison Tool)• FCT is not able to ensure that whether the feature is preserved as it was in the
original file after Roundtrip or not
● Writer Comparison Engine• This tool might give flase result, for example it might be possible that some white
space are not preserved after Roundtrip
● Calc Comparison Engine• This tool will be used to determine the correctness of individual Image/Shape/Chart
but this tool can't make sure that their position has been preserved or not afterroundtrip
● Impress Comparison Engine• This tool will be used to determine the correctness of individual Image/Shape/Chart
but this tool can't guarantee that layer wise properties have been preserved afterroundtrip or not
![Page 16: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/16.jpg)
Light Editing + Crash / Corruption Finder
![Page 17: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/17.jpg)
![Page 18: Measuring LibreOffice Interoperability...Visual Comparison ... 'ImageMagick' compares the images pixel by pixel; hence a slight shift ... • This tool will be used to determine the](https://reader033.fdocuments.us/reader033/viewer/2022060209/5f045ffa7e708231d40daa0d/html5/thumbnails/18.jpg)