Apache OpenOffice (AOO) Bugzilla – Issue 14946
repaint failure when pasting a picture into a table
Last modified: 2013-08-07 14:38:26 UTC
In the attached document, select the picture, press CTRL+C, place the cursor in the first table cell and press CTRL+V. Two problems: 1) The picture is (initially) displayed incorrectly (after scrolling the page so that the picture is out of view, it will be repainted correctly). 2) The width of the picture is adapted to the table, but the height is not changed correspondingly.
Created attachment 6469 [details] OOo Writer document illustrating the issue
changed summary
Confirmed -- initial graphic display is incorrect until the screen is scrolled and the graphic re-painted. RH9/1.1.0 However, as to the sizing of the graphic after pasting into the table, the width appears to be adjusted according to the size of the table cell and the height appears proportional to that.
HI->OD: Was ok in PP3
OD->THB: As discussed, the repaint failure seems to be caused by using the virtual output device with a given pixel offset, which doesn't seemed to be recognized by the given graphic format. The proportional scaling of graphics to its environments (in this case the table cell) will be addressed in OOo Later.
Yep, this looks like a metafile. I suspect there's on case left not handled for the OutputDevice pixel offset stuff. Will take care of that.
*** Issue 24163 has been marked as a duplicate of this issue. ***
Created attachment 12351 [details] Bugdoc from dublicate issue 24163
Reduced prio, and set to OOo later, since the repaint shows the content correctly. Sorry, guys, limited resources. If there's some time left, I will reevaluate this bug for 2.0 final.
Reset to default assignee.