Skip to content

Corrects handling image for ODF v1.2 and allows for the same image/frame be used more than once

Florent Aide requested to merge bitbucket/merged-pr-41 into branch/default

Created originally on Bitbucket by ari_tauga (Ari Caldeira)

Was already merged in Bitbucket before import, marked as merged by the import user

  • [FIX] Corrects image handling for ODF v1.2 templates

  • [FEA] Allows for the same image/frame be used with slightly different names, using the order parameter

When inserting a dynamic image (from data dict) using a ODF v1.2 odt template, the missing attribute xlink:type="simple" breaks the draw:image node;

Also, if you need to use the same dynamic image in two or more different frames inside the same document, it wouldn't work, because the name attribute of the frame would be the same, so LibreOffice kept changing it to Frame2, Frame3 and so fort; in order to get the same dynamic image to work, I create a bogus parameter (it does nothing) only to allow the name attribute of the frame to be different from one another.

Merge request reports

Loading