HOw to call LibreOffice from VBA

Hi all,

I wish to know what is proper way of calling the LibreOffice functions from other programming languages especially from VBA. And does it really support the code completion, intelli sense etcc features .

Regards,

Maybe you can find somethings for first steps:

http://www.oooforum.org/forum/viewtopic.phtml?t=143854
http://user.services.openoffice.org/es/forum/viewtopic.php?f=31&t=2232

but I think is not an easy way.