Bug 239680 - kword:openoffice: Pictures inside the table are displayed outside the table in kword
Summary: kword:openoffice: Pictures inside the table are displayed outside the table i...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kword
Classification: Miscellaneous
Component: tables (show other bugs)
Version: unspecified
Platform: Unlisted Binaries All
: NOR normal
Target Milestone: Persona: Santiago
Assignee: KOffice Bug Wranglers
URL:
Keywords: reproducible
Depends on:
Blocks:
 
Reported: 2010-03-18 10:12 UTC by Lassi Nieminen
Modified: 2015-02-06 13:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
testdata to be opened in kword (21.12 KB, application/x-zip-compressed)
2010-03-18 10:12 UTC, Lassi Nieminen
Details
screenshot of the document in kword (167.30 KB, image/png)
2010-03-18 10:13 UTC, Lassi Nieminen
Details
screenshot of the document in openoffice (119.52 KB, image/png)
2010-03-18 10:13 UTC, Lassi Nieminen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Faure 2010-05-28 03:29:26 UTC


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

Comment 1 Johannes Simon 2010-11-06 12:17:00 UTC
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.
Comment 2 Christoph Feck 2015-02-06 13:21:17 UTC
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)