command line convert docx to pdf loses if statements

asked 2020-10-09 12:27:51 +0100

I have a mailmerge and wherever my if statements are they don't print out once converted to pdf using the libre office command line tool.

edit retag flag offensive close merge delete


Maybe you can explain in detail what you are doing (command line) and what you want. Does it work opening the program?

m.a.riosv gravatar imagem.a.riosv ( 2020-10-09 15:34:17 +0100 )edit

In my word document I have something like this:

{ IF { item } = "true" "Show text" "Show alternative text" }

Then I convert to pdf using the following command line options inputFile -norestore --writer --headless --outdir outputLocation

Once completed nothing is printed, my other merge fields work, but where the IF statement is it just appears blank.

jamiebaldasera gravatar imagejamiebaldasera ( 2020-10-09 16:22:20 +0100 )edit

Anybody got any further ideas on this? I am a total impasse with it.

jamiebaldasera gravatar imagejamiebaldasera ( 2020-10-22 16:22:31 +0100 )edit