Regarding the OriginURL property, it’s an empty string for all embedded images in different documents that I’ve tried. Furthermore, accessing DocumentStorage.getByName("Pictures") seems to work only for ODT files, other files with a different internal structure (e.g. DOCX) don’t have that property name. And lastly, for an ODT file with the following stored images
Code: Select all
('1000000000000100000001006DD65086A312ABA8.png', '1000020100000190000001904A733E71D6A24595.png', '10000000000000B4000000B4A976F024B23F98C8.jpg')
And so, after tinkering for a while I’ve decided that exporting a shape/image object as PNG is probably the best option at this point. Maybe in a spare moment later this week I’ll poke around some more, though…