Solution
Although there is no ActiveX API in LibreOffice, you can use the
UNO API to automate LibreOffice. This API provides the same features, although it can be a bit more challenging to use. Another solution is to use a community designed library like
this one.