Since Libreoffice version 25.8 it it now possible to remove fields and replace them with plain text (Ctrl+Shift+F9). See also this bugzilla entry: 45946 – EDITING: Allow conversion of field codes (of fields like date, variable or mail merge) into plain text and the release notes for 25.8 (can’t link it due to 2 link limit…)
I was wondering whether this function is also available through the SDK API? If so, where can I find some documentation for it?
The reason for my request is that I am trying to improve the Zotero Libreoffice integration, where the lack of proper field code → plaintext conversion is a longstanding issue: Remove Fieldcode removes italics from footnotes · Issue #11 · zotero/zotero-libreoffice-integration · GitHub