beginning for a windows libreoffice plugin

The script is usable, but currently can be launched only via command
lines.
Need to figure out how to make it available with an interface in
LibreOffice