Skip to content

Default

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

Created originally on Bitbucket by tonioo (Antoine Nguyen)

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

Original author: JosDeGraeve (Taken from https://bitbucket.org/apertoso/py3o.template/commits/fb901715731d041d28e9d86e380029cde74bc2a3?at=default).

Allow to use libreoffice "input fields" for functions

To add this type of field on your template:

go to "Insert -> Fields -> More fields"

In the pop-up, choose "Functions" as the top selector, and type "Input field".

In the reference, put in your py3o function like py3o://function="get_text('mylabel')" and click insert. Choose your own text as label to show in the template and input this in the next popup.

We found that is is quite hard to apply the correct styling and formatting to hyperlink fields properly, and that is why we propose this change.

This PR adds a unit test.

Merge request reports