How to check Uno objects types with Basic macro ?
Oliver.Brinzing at gmx.de
Thu Dec 21 17:41:26 UTC 2017
> I'm using basic macros with LibreOffice 22.214.171.124. I would like to check that > a basic Object is a document Section. I find out XTypeProvider interface
you can use something like this:
If hasUnoInterfaces(ThisComponent, "com.sun.star.sheet.XSpreadsheetDocument") Then
> By the way, do you know a good book/PDF to download about UNO interface
> and/or IDL language ?
have a look at Andrew Pitonyak's "OpenOffice.org Macros Explained" book
More information about the LibreOffice