https://bugs.documentfoundation.org/show_bug.cgi?id=97447

            Bug ID: 97447
           Summary: make the ServiceDocumenter singleton available as a
                    global in Python and StarBasic
           Product: LibreOffice
           Version: 4.0.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

The com.sun.star.util.theServiceDocumenter has been introduced in LibreOffice
5.1. It helps users of the UNO API to get the documentation for the services
they are using:

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

However, it is rather cumbersome to get in common scripting languages, e.g.
StarBasic:
 TheServiceDocumenter =
GetDefaultContext.getValueByName('/singletons/com.sun.star.util.theServiceDocumenter')

It would be great to have this shortcutted by having it directly available in
the scripting APIs:

For Basic: basic/source/classes/sb.cxx and GetUNOConstant
For Python: pyuno/ module

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to