1

I have to modify a LibreOffice template with a number of conditional statements.

I managed to figure out one can add such statements through Insert > Fields > More fields, tab Functions, type Placeholders and format Text (as of LibreOffice 5.0.6.2), but I can't seem to find the list of available functions.

Where do I find some documentation for this language ?

1
  • FWIW, I am specifically trying to figure out if <ELSE>, NOT and LENGTH(ARRAY) do exist. Commented May 1, 2018 at 17:34

1 Answer 1

0

I figured this is not a LibreOffice standard macro language, but relatorio, a subset of Genshi (the question was in the context of tryton).

According to the first link, supported directives from Genshi are :

  • py:for ;
  • py:if ;
  • py:choose ;
  • py:when ;
  • py:otherwise ;
  • py:with.

It seems that inside a TEST="" statement, standard python syntax is allowed (i.e. in the case I was interested in, see comment above, len(array)).

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.