Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 754 Bytes

lo_direct_start.rst

File metadata and controls

28 lines (17 loc) · 754 Bytes

Class LoDirectStart

This class is used for connecting to LibreOffice via macros.

Macros do not require a connection as they already have access to LibreOffice API by their nature.

Generally speaking this class will not be called directly. It is used internally by :py~.utils.lo.Lo.

Lo macro Example:

Note

When script is running in macro is is not necessary to call :py.Lo.load_office. In a macro use Lo.XSCRIPTCONTEXT and/or Lo.ThisComponent

  • ch02

ooodev.conn.connect.LoDirectStart