Development #16259
permettre l'insertion d'une image dans un modèle de document
Début:
11 mai 2017
Echéance:
15 juin 2017
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
Une variable qui serait de type fichier (et dont le contenu une image), son utilisation dans un document odt modèle devrait insérer une image. (checker comment manipuler ça dans LibreOffice, puis générer en fonction).
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a presque 7 ans
- Fichier 0001-workflows-make-it-possible-to-replace-odt-images-wit.patch 0001-workflows-make-it-possible-to-replace-odt-images-wit.patch ajouté
- Statut changé de Nouveau à En cours
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a presque 7 ans
- Statut changé de En cours à Résolu (à déployer)
commit 6ec13787dd0a8e46d1ec8b1bddcc903e298c52ae Author: Frédéric Péters <fpeters@entrouvert.com> Date: Thu May 11 15:11:18 2017 +0200 workflows: make it possible to replace odt images with variables (#16259) This uses the "name" attribute of an image (in LibreOffice, double click on the picture and go to the options tab to set it). It must be set to a Python expression, prefixed with = (e.g. =form_var_image_raw). The expression should return a wcs-file-like object (must have a get_content() method). The replacement image mime type should be the same as the original one.
Mis à jour par Frédéric Péters il y a plus de 5 ans
- Statut changé de Résolu (à déployer) à Solution déployée
workflows: make it possible to replace odt images with variables (#16259)
This uses the "name" attribute of an image (in LibreOffice, double click
on the picture and go to the options tab to set it). It must be set to
a Python expression, prefixed with = (e.g. =form_var_image_raw).
The expression should return a wcs-file-like object (must have a
get_content() method). The replacement image mime type should be the
same as the original one.