|
LayOut C API
|
References a single page in a document. More...
#include <page.h>
Related Functions | |
(Note that these are not member functions.) | |
| LO_RESULT | LOPageCreateAttributeDictionaryCopy (LOPageRef page, const char *dictionary_name, LODictionaryRef *dictionary) |
| Gets a copy of an attribute dictionary with the given name from a page. More... | |
| LO_RESULT | LOPageSetAttribute (LOPageRef page, const char *dictionary_name, const char *key, LOTypedValueRef value_in) |
| Sets an attribute to a given dictionary belonging to a page. More... | |
| LO_RESULT | LOPageGetAttribute (LOPageRef page, const char *dictionary_name, const char *key, LOTypedValueRef value_out) |
| Gets an attribute from a given dictionary belonging to a page. More... | |
| LO_RESULT | LOPageDeleteAttribute (LOPageRef page, const char *dictionary_name, const char *key) |
| Removes an attribute from a given dictionary belonging to a page. If key is nullptr, then the entire dictionary will be removed from the Page. More... | |
References a single page in a document.
|
related |
Gets a copy of an attribute dictionary with the given name from a page.
| [in] | page | The page object. |
| [in] | dictionary_name | The name of the attribute dictionary object to retrieve. |
| [out] | dictionary | The attribute dictionary object. |
page does not refer to a valid objectdictionary_name is NULLpage does not have an attribute dictionary with the given name
|
related |
Removes an attribute from a given dictionary belonging to a page. If key is nullptr, then the entire dictionary will be removed from the Page.
| [in] | page | The page object. |
| [in] | dictionary_name | The name of the attribute dictionary object to remove. |
| [in] | key | The key to remove from the attribute dictionary. |
page does not refer to a valid objectdictionary_name or key are NULL
|
related |
Gets an attribute from a given dictionary belonging to a page.
| [in] | page | The page object. |
| [in] | dictionary_name | The name of the attribute dictionary object to retrieve the value from. |
| [in] | key | The key to use when adding to the attribute dictionary. |
| [out] | value_out | The value retrieved from the attribute dictionary. |
page does not refer to a valid objectvalue_out does not refer to a valid objectdictionary_name or key are NULL
|
related |
Sets an attribute to a given dictionary belonging to a page.
| [in] | page | The page object. |
| [in] | dictionary_name | The name of the attribute dictionary object being added to. |
| [in] | key | The key to use when adding to the attribute dictionary. |
| [in] | value_in | The value to be added to the attribute dictionary. |
page does not refer to a valid objectvalue_in contains no datadictionary_name or key are NULLdictionary_name is empty
1.8.3.1