Apache OpenOffice (AOO) Bugzilla – Issue 108647
Contours are lost after changing the Graphic.URL from a Picture using the API
Last modified: 2017-05-20 11:26:01 UTC
When changing a Graphic.URL (from a lowress to a Highress picture) normaly all the Properties cropping, size etc.... of a Picture are preserved exept for the Contours who are lost and replaced by a contour who covers the whole picture, so we endup with a "empty" picture in the document. The ContourPolygon array is still present as a property but not correctly implemented. When doing this by the UI, (after a screen refresh) the contour is still theire. for testing: make a contour for a Picture. Select the picture in the document: change the URL to a new URL... move the picture on the screen the contour is still pressent. now run a basic macro: oImage = Thiscomponent.currentSelection oImage.grahicURL = a new URL after running the slected Picture is Empty or blanc. do a check on the properties : the contourPolygon array is still theire
MRU->OD: I can also confirm this without using the API - when changing the link of a graphic having "contour wrap", the contour will not (or incorrectly) been re-calculated. Maybe this is also related to issue 64562 or issue 51114.
same hapens when a image is "fliped" the flip effect is lost when changing the URL
Its simple Wrap Contours are lost when saving the doc and the picture is not embeded (linked)
Reset assigne to the default "issues@openoffice.apache.org".