I substitute data in the writer document via field master. If I use com.sun.star.text.fieldmaster.User fields I set Content property for field masters, call XRefreshable.refresh() from document as it provided in “Fields in a Template” example from developer guide.
If I create fields with com.sun.star.text.fieldmaster.SetExpression to use with hidden paragraph their field master doesn’t contains Content property. How should I change value of these fields and refresh document?
Example template: https://ask.libreoffice.org/upfiles/1592566447636209.odt
Python standalone source: #!/usr/bin/env python3import logginglogging.basicConfig(level=logging.DEBUG) - Pastebin.com