Hi Patric,
I'm using basic macros with LibreOffice 5.4.2.2. I would like to check that > a basic Object is a
document Section. I find out XTypeProvider interface
you can use something like this:
Sub Main
If hasUnoInterfaces(ThisComponent, "com.sun.star.sheet.XSpreadsheetDocument") Then
MsgBox "Spreadsheet"
EndIf
End Sub
> 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
http://www.pitonyak.org/book/
Regards
Oliver
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.