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 | LOApplicationGetDefaultPatternFillFolder (LOApplicationRef app, SUStringRef *path) |
Gets the default path to the pattern fill images. 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. |
LO_RESULT LOApplicationGetApplication | ( | LOApplicationRef * | app | ) |
Gets the application instance.
[out] | app | The application instance. |
LO_RESULT LOApplicationGetDefaultPatternFillFolder | ( | LOApplicationRef | app, |
SUStringRef * | path | ||
) |
Gets the default path to the pattern fill images.
[in] | app | The application instance. |
[out] | path | The full path to the default pattern fill folder. |
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. |
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. |
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. |
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. |
LO_RESULT LOApplicationQuit | ( | LOApplicationRef | app | ) |
Quits the application.
[in] | app | The application instance. |