Hi Phillips, On Mon, Aug 15, 2022 at 05:19:33PM +0200, Phillips Rogfield wrote: > Zotero <https://www.zotero.org/> is a citation manager with a plugin for > LibreOffice <https://github.com/zotero/zotero-libreoffice-integration>. > > I would like to implement Fields, that is, for the plugin to write citation > using Fields, as per this issue > <https://github.com/zotero/zotero-libreoffice-integration/issues/39>. > > It looks like the relevant entry point is |com.sun.star.text.Fieldmark|, > however I went to the IDL reference > <https://api.libreoffice.org/docs/idl/ref/index.html> and there seems to be > no such class under |com.sun.star.text|. > > Is it undocumented? Can you point me in the right direction? Fieldmarks are primarily for preserving fields imported from Word, so it's somewhat intentional that there is no UI / documentation on how to create them. Writer's bibliography UI creates bibliography fields instead, available as the com.sun.star.text.TextField.Bibliography UNO service. Did you consider going with that instead? Regards, Miklos