LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
autotextdefinitionlist.h File Reference
#include <LayOutAPI/common.h>
#include <LayOutAPI/model/defs.h>

Go to the source code of this file.

Functions

LO_RESULT LOAutoTextDefinitionListCreate (LOAutoTextDefinitionListRef *auto_text_list)
 Creates a new empty auto text definition list object. More...
 
LO_RESULT LOAutoTextDefinitionListRelease (LOAutoTextDefinitionListRef *auto_text_list)
 Releases an auto text definition list object. *auto_text_list will be set to invalid by this function. More...
 
LO_RESULT LOAutoTextDefinitionListGetNumberOfAutoTextDefinitions (LOAutoTextDefinitionListRef auto_text_list, size_t *num_auto_texts)
 Gets the number of auto text definitions in this list. More...
 
LO_RESULT LOAutoTextDefinitionListGetAutoTextDefinitionAtIndex (LOAutoTextDefinitionListRef auto_text_list, size_t index, LOAutoTextDefinitionRef *auto_text)
 Gets the auto text definition at the specified index. More...
 

Function Documentation

LO_RESULT LOAutoTextDefinitionListCreate ( LOAutoTextDefinitionListRef auto_text_list)

Creates a new empty auto text definition list object.

Since
LayOut 2018, API 3.0
Parameters
[out]auto_text_listAn empty auto text definition list object.
Returns
LO_RESULT LOAutoTextDefinitionListGetAutoTextDefinitionAtIndex ( LOAutoTextDefinitionListRef  auto_text_list,
size_t  index,
LOAutoTextDefinitionRef auto_text 
)

Gets the auto text definition at the specified index.

Since
LayOut 2018, API 3.0
Parameters
[in]auto_text_listThe auto text definition list object.
[in]indexThe index of the auto text definition to get.
[out]auto_textThe auto text definition object at index in the list.
Returns
LO_RESULT LOAutoTextDefinitionListGetNumberOfAutoTextDefinitions ( LOAutoTextDefinitionListRef  auto_text_list,
size_t *  num_auto_texts 
)

Gets the number of auto text definitions in this list.

Since
LayOut 2018, API 3.0
Parameters
[in]auto_text_listThe auto text definition list object.
[out]num_auto_textsThe number of auto text definition objects in the list.
Returns
LO_RESULT LOAutoTextDefinitionListRelease ( LOAutoTextDefinitionListRef auto_text_list)

Releases an auto text definition list object. *auto_text_list will be set to invalid by this function.

Since
LayOut 2018, API 3.0
Parameters
[in]auto_text_listThe auto text definition list object.
Returns