---- Reported by lassi.ta.nieminen@nokia.com 2010-03-18 11:12:25 +0200 ---- Created an attachment testdata to be opened in kword SOFTWARE VERSION: Kubuntu 9.04 Koffice (svn version 1103504) Test document (OpenOffice 3.0): oow_table_with_pictures.odt STEPS LEADING TO THE PROBLEM: 1. Open the attached document in OpenOffice. 2. Open the same document in KOffice. 3. Observe pictures in the table columns. EXPECTED OUTCOME: Kword should be able to display all pictures inside the table. None of the pictures should be displayed outside the table. as seen in attachment oow_table_pics_openoffice.png ACTUAL OUTCOME: Kword is unable to display all pictures inside the table.Some of the pictures are displayed outside the table. see attachment oow_table_pics_kword.png FREQUENCY: Always ---- Additional Comments From lassi.ta.nieminen@nokia.com 2010-03-18 11:13:11 +0200 ---- Created an attachment screenshot of the document in kword ---- Additional Comments From lassi.ta.nieminen@nokia.com 2010-03-18 11:13:30 +0200 ---- Created an attachment screenshot of the document in openoffice --- Bug imported by faure@kde.org 2010-05-28 03:29 --- This bug was previously known as _bug_ 161158. Imported an attachment (id=47015) Imported an attachment (id=47016) Imported an attachment (id=47017) Unknown bug field "example" encountered while moving bug <example>2010-05-10 00:19:01</example>
I took a look at this once and wrote down a couple notes: o picture is not inline, but aligned at the top of the paragraph, thus it is not an inline character with size of the picture o there seems to be some kind of non-trivial way in OpenOffice.org to determine its effect on the size of the table (Just move the left-most BMP picture a bit more down and see for yourself - it seems like the table is expanded vertically once the picture's top is a couple pixels within the bounds of the unexpanded table) o possible solution: imitate OOo's algorithm to determine the cell size and implement a function TableLayout::setAnchoredShapes( QList<KoShape*> list ) for non-inline shapes so that the layout can keep track of these non-inline shapes as well.
Thank you for your bug report or feature suggestion. The "KOffice" application suite is no longer maintained, and all tickets are now closed. We recommend to switch to the "Calligra" application suite, which has replacements for all unmaintained KOffice applications: - KWord was replaced with Calligra Words - KPlato was replaced with Calligra Plan For more information, see http://en.wikipedia.org/wiki/Calligra_Suite (This is an automatic message from the KDE bug triaging team)