LayOut C API
|
Go to the source code of this file.
Functions | |
LO_RESULT | LOPageListCreate (LOPageListRef *page_list) |
Creates a new empty page list object. More... | |
LO_RESULT | LOPageListRelease (LOPageListRef *page_list) |
Releases a page list object. *page_list will be set to invalid by this function. More... | |
LO_RESULT | LOPageListGetNumberOfPages (LOPageListRef page_list, size_t *num_pages) |
Gets the number of pages in this list. More... | |
LO_RESULT | LOPageListGetPageAtIndex (LOPageListRef page_list, size_t index, LOPageRef *page) |
Gets the page at the specified index. More... | |
LO_RESULT | LOPageListAddPage (LOPageListRef page_list, LOPageRef page) |
Adds a page at the end of the list. More... | |
LO_RESULT LOPageListAddPage | ( | LOPageListRef | page_list, |
LOPageRef | page | ||
) |
Adds a page at the end of the list.
[in] | page_list | The page list object. |
[in] | page | The page object to add. |
LO_RESULT LOPageListCreate | ( | LOPageListRef * | page_list | ) |
Creates a new empty page list object.
[out] | page_list | An empty page list object. |
LO_RESULT LOPageListGetNumberOfPages | ( | LOPageListRef | page_list, |
size_t * | num_pages | ||
) |
Gets the number of pages in this list.
[in] | page_list | The page list object. |
[out] | num_pages | The number of page objects in the list. |
LO_RESULT LOPageListGetPageAtIndex | ( | LOPageListRef | page_list, |
size_t | index, | ||
LOPageRef * | page | ||
) |
Gets the page at the specified index.
[in] | page_list | The page list object. |
[in] | index | The index of the page to get. |
[out] | page | The page object at index in the list. |
LO_RESULT LOPageListRelease | ( | LOPageListRef * | page_list | ) |
Releases a page list object. *page_list will be set to invalid by this function.
[in] | page_list | The page list object. |