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


Hi,

On Thu, Sep 22, 2016 at 10:57:18PM +0200, Katarina Behrens wrote:
Hello world, 
 
I use Delphi to develop an application which needs to work with MS
office and LibreOffice. I've a question about Chart in Libreoffice, 
...
supported methods. Or use Xray (in Basic) to examine the objects to
learn the supported methods.

Yay for XRay \o/ Get it from here: http://berma.pagesperso-orange.fr/index2.html

It's really an excellent tool for object introspection and learning about API, 
esp. when you're a visual learner. 

Or you use the com.sun.star.script.theServiceDocumenter, which comes with
LibreOffice since 5.1, like so (StarBasic example):

  TheServiceDocumenter = 
GetDefaulftContext().getValueByName("/singletons/com.sun.star.util.theServiceDocumenter") # this 
should be simpler[1]
  TheServiceDocumenter.showServiceDocs(UnoThingThatYouWhatToKnowMoreAbout)
  TheServiceDocumenter.showInterfaceDocs(UnoThingThatYouWhatToKnowMoreAbout)

showServiceDocs shows you the service details about
UnoThingThatYouWhatToKnowMoreAbout by opening the relevant service page from
http://api.libreoffice.org/docs/idl/ref/index.html in your browser.
showInterfaceDocs shows you everything you can do with this service by opening
the links of all interfaces it implements in your browser. Not though for
something like "ThisComponent" in Writer this might be quite a lot.

So as you see, no need to install extensions to simply find out what an UNO service
is and what it provides in LibreOffice. ;)

More details at: https://www.youtube.com/watch?v=WBNG6bVZPzw

Best,

Bjoern


[1] see https://bugs.documentfoundation.org/show_bug.cgi?id=97447 

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.