Created attachment 81794 [details]
in the sample there's a working conditional text referring a variable in the text, and a not-working conditional text referring a document variable.
I would like to be able to use a document user property to switch some conditional text (or hidden text or hidden paragraph) on or off
Steps to reproduce:
1. set a user document property (eg: "Onoff" type: boolean)
2. insert a field ->conditional text (or hidden text or hidden paragraph)
3. set as "condition" Onoff EQ true (or Onoff==TRUE or Onoff==1)
4. set an hidden text eg: "mytext"
change the Onoff value, the text doesn't switch status
Am I wrong calling the variable itself?
I know that I can set an hidden variable somewhere in the text to do the trick, but I consider that just a workaround: setting a variable anywhere in the text is not that coherent, and it'also difficult to find to change state.
Operating System: Windows 7
Version: 220.127.116.11 release
Hi, in fact, you can't call a variable that is not defined in the document. The fact that it exists in the properties is not enough for the conditional test. I set your request as an enhancement. Sophie
Created attachment 161984 [details]
Comment on attachment 161984 [details]
the screenshots just uploaded
(Libre Office V 18.104.22.168, localized German, running on a Mac OS High Sierra)
show that a document property can be used (just like a variable)
EXCEPT in a conditional text field, where it does NOT update.
This is not really intuitive....
May I suggest, that user defined document properties be automagically linked to the document variables?