odt file contents - naming of files in Pictures/ directory

classic Classic list List threaded Threaded
1 message Options
Mike Scott-2 Mike Scott-2
Reply | Threaded
Open this post in threaded view

odt file contents - naming of files in Pictures/ directory

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

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.)


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

To unsubscribe e-mail to: [hidden email]
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