Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index

2014-03-27 23:52 GMT+01:00 rmg <>:

if HasUnoInterfaces(doc, "")
End if

 as I said lifted straight from the macro examples; the Libreoffice API
reference seems to say that's right.

​I'm not very fluent in LO API, but according to the documentation (​
XCloseable.close() must be called before XComponent.dispose(), so maybe you
can try this:

if HasUnoInterfaces(doc, "")
End if

​Also note that it's XCloseable with a capital C. I don't know however if
it's case-sensitive (the doc seems to say it's not) but it wouldn't hurt to
check this too :)​​

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


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.