Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


Hi all; I've just come unstuck near the end of a project.

I'm creating an odt file pretty much from scratch. All works, but I need to embed an image within the odt file rather than just linking to an external image (the latter works OK).

Unfortunately, images within the Pictures/ directory seem to obey some naming convention that's currently outwitting me.

I've tried manually renaming an image inside an existing document and editing content.xml to correspond. LO complains the file is broken, suggesting the strings cannot be random.

Example names I see in Pictures/ are (the sole 2 pictures from the same document):-
10000000000000CE0000008999F5303D619DABFE.png
10000000000000CE000000896E838079907CA15F.png

Changing DABFE to DABFF (and content.xml to match) causes LO to offer to repair a broken document -- regenerating the original name.

Can anyone say exactly how those names are generated please? (Or where it would be documented. I've seen the odf spec does not define this area.)

Thanks.

--
Mike Scott (unet2 <at> [deletethis] scottsonline.org.uk)
Harlow Essex England
"The only way is Brexit" -- anon.

--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.