[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 239680] kword:openoffice: Pictures inside the table are
From:       Johannes Simon <johannes.simon () gmail ! com>
Date:       2010-11-06 11:17:02
Message-ID: 20101106111702.BBE0B73CCE () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=239680


Johannes Simon <johannes.simon@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |johannes.simon@gmail.com
     Ever Confirmed|0                           |1




--- Comment #1 from Johannes Simon <johannes simon gmail com>  2010-11-06 12:17:00 ---
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.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic