Since I finished the conversion source code for TextMaker, I like to do a little bit of the documentation here.
This could be verified by the Zotero team and updated on the webpage.
See
https://www.zotero.org/support/dev/client_coding/libreoffice_plugin_wire_protocolDocument_importDocument
Parameters:
documentID
fieldType like "ReferenceMark"
Returns:
BOOL wether the fieldType is supported
Document_exportDocument
Parameters:
Integer documentID
String fieldType like "ReferenceMark"
String heading paragraph text
Returns:
null
Document_setBibliographyStyle
Parameters:
Integer documentID
Integer first line indent
Integer left line indent
Integer line spacing
Integer paragraph spacing after the paragraph
Array (Integer) tabulator indent
Integer number of tabulators (0, 1)
Examples:
// [1, -720, 720, 240, 0, [], 0]
// [1, -720, 720, 240, 0, [1], 720]
All arguments in 1440 units per inch in LibreOffice 6.3.
Returns:
null
Important remarks about how plain / formatted strings are handled:
Field_setText
Zotero can set the text in RTF format, or in plain text.
The wordprocessor must create a plain text string from the RTF string.
Field_getText
Always return the plain text string in this command !