Issue 108647

Summary: Contours are lost after changing the Graphic.URL from a Picture using the API
Product: Writer Reporter: sos <sos>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: DEV300m70   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description sos 2010-01-25 11:06:59 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
Comment 1 michael.ruess 2010-01-28 14:01:10 UTC
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.
Comment 2 sos 2010-03-15 12:41:41 UTC
same hapens when a image is "fliped" the flip effect is lost when changing the 
URL
Comment 3 sos 2010-05-05 17:05:38 UTC
Its simple

Wrap Contours are lost when saving the doc and the picture is not embeded 
(linked) 
Comment 4 Marcus 2017-05-20 11:25:00 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 5 Marcus 2017-05-20 11:26:01 UTC
Reset assigne to the default "issues@openoffice.apache.org".