Hello,
With the StarBasic-Code:
ThisComponent.GraphicObjects(0).GraphicURL
I can read the internal URL of an embedded graphic in a writer-document, for example "vnd.sun.star.GraphicObject:10000000000003AC000000DC178CAB87"
But can I use this URL as ".GraphicURL" for a graphic control of a dialogue? If so, How?
What I mean is that "vnd.sun.star.GraphicObject:10000000000003AC000000DC178CAB87" is not the
correct form of the URL what is needed for a graphics control, because this would be, for
example:
file:///C:/Users/xxx/Desktop/Hintergrund.png
(or: "C:\Users\Internet\Desktop\Hintergrund.png")
please note:
my document is unsaved, so I can not directly access the pictures folder in the *.odt file.
Greetings,
Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscribe@openoffice.apache.org
For additional commands, e-mail: api-help@openoffice.apache.org
|