Created attachment 60109 [details] Test data Version: git checkout 9b502d5b387f86a73505d25675762f08c8caf824 (Using KDE 4.5.5) OS: Kubuntu 10.10 Test data is in MS word 2003 format. Open the same document in Calligra Words. Expected outcome: All the content in the document should be displayed properly. Actual outcome: Black color boxes are displaying. Please check the screenshots attached. Frequency: Always.
Created attachment 60110 [details] Screenshot in MS Office
Created attachment 60111 [details] Screenshot in Calligra Words
Without having checked, I suspect that this document is a good candidate for test document for section columns.
The paragraph shading seems to be not set properly by the filter.
I updated processing of the shading information, which is now shared for both tables and paragraphs. In case of the problematic paragraphs the information is invalid and the problem is somewhere in decompression of built-in styles. It's going to take a while to fix this issue.
Git commit 8288143b7c1f9f9005209b55b651875219b0e9d6 by Matus Uzak. Committed on 08/06/2011 at 02:25. Pushed by uzak into branch 'master'. DOC: Improvements in processing of the background shading. * Sharing one conversion function that translates the shading information into a color in the format "#RRGGBB". * Returning a reasonable default instead of shading patterns at the moment. * Also some readability improvements. BUG:273549 M +52 -16 filters/words/msword-odf/conversion.cpp M +12 -4 filters/words/msword-odf/conversion.h M +4 -2 filters/words/msword-odf/document.h M +8 -23 filters/words/msword-odf/paragraph.cpp M +0 -6 filters/words/msword-odf/paragraph.h M +2 -2 filters/words/msword-odf/tablehandler.cpp M +4 -4 filters/words/msword-odf/wv2/src/convert.cpp M +13 -5 filters/words/msword-odf/wv2/src/styles.cpp M +6 -6 filters/words/msword-odf/wv2/src/word97_generated.cpp M +2 -2 filters/words/msword-odf/wv2/src/word97_generated.h M +6 -2 filters/words/msword-odf/wv2/src/word97_helper.cpp http://commits.kde.org/calligra/8288143b7c1f9f9005209b55b651875219b0e9d6
Verified in 8288143b7c1f9f9005209b55b651875219b0e9d6 .