Issue 108647 - Contours are lost after changing the Graphic.URL from a Picture using the API
Summary: Contours are lost after changing the Graphic.URL from a Picture using the API
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: DEV300m70
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2010-01-25 11:06 UTC by sos
Modified: 2017-05-20 11:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
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 
When doing this by the UI, (after a screen refresh) the contour is still 
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.

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 
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 
Comment 4 Marcus 2017-05-20 11:25:00 UTC
Reset assigne to the default "".
Comment 5 Marcus 2017-05-20 11:26:01 UTC
Reset assigne to the default "".