|
LayOut C API
|
Go to the source code of this file.
Functions | |
| LO_RESULT | LOApplicationGetApplication (LOApplicationRef *app) |
| Gets the application instance. More... | |
| LO_RESULT | LOApplicationGetActiveDocument (LOApplicationRef app, LODocumentRef *document) |
| Gets a reference to the active document. More... | |
| LO_RESULT | LOApplicationGetVersion (LOApplicationRef app, SUStringRef *version) |
| Gets the major/minor version number as a string. More... | |
| LO_RESULT | LOApplicationGetVersionNumber (LOApplicationRef app, unsigned int *version) |
| Gets the major/minor version number as an unsigned integer. More... | |
| LO_RESULT | LOApplicationGetOnline (LOApplicationRef app, bool *is_online) |
| Gets whether the application is connected to the internet. More... | |
| LO_RESULT | LOApplicationOpenDocument (LOApplicationRef app, const char *file_path, LODocumentRef *document) |
| Opens the LayOut document located at the given file path. More... | |
| LO_RESULT | LOApplicationQuit (LOApplicationRef app) |
| Quits the application. More... | |
| LO_RESULT LOApplicationGetActiveDocument | ( | LOApplicationRef | app, |
| LODocumentRef * | document | ||
| ) |
Gets a reference to the active document.
| [in] | app | The application instance. |
| [out] | document | The active document. |
app is not a valid objectdocument is NULL | LO_RESULT LOApplicationGetApplication | ( | LOApplicationRef * | app | ) |
Gets the application instance.
| [out] | app | The application instance. |
| LO_RESULT LOApplicationGetOnline | ( | LOApplicationRef | app, |
| bool * | is_online | ||
| ) |
Gets whether the application is connected to the internet.
| [in] | app | The application instance. |
| [out] | is_online | True if the application is connected to the internet. |
app is not a valid objectis_online is NULL | LO_RESULT LOApplicationGetVersion | ( | LOApplicationRef | app, |
| SUStringRef * | version | ||
| ) |
Gets the major/minor version number as a string.
| [in] | app | The application instance. |
| [out] | version | The current version of the application. |
app is not a valid objectversion is NULL | LO_RESULT LOApplicationGetVersionNumber | ( | LOApplicationRef | app, |
| unsigned int * | version | ||
| ) |
Gets the major/minor version number as an unsigned integer.
| [in] | app | The application instance. |
| [out] | version | The current version of the application. |
app is not a valid objectversion is NULL | LO_RESULT LOApplicationOpenDocument | ( | LOApplicationRef | app, |
| const char * | file_path, | ||
| LODocumentRef * | document | ||
| ) |
Opens the LayOut document located at the given file path.
| [in] | app | The application instance. |
| [in] | file_path | The full file path to the .layout document to open. |
| [out] | document | A reference to the opened document if successful. |
app is not a valid objectfile_path is NULLdocument is NULL| LO_RESULT LOApplicationQuit | ( | LOApplicationRef | app | ) |
Quits the application.
| [in] | app | The application instance. |
app is not a valid object
1.8.3.1