|
LayOut C API
|
An entity is an object shown on a page of a LayOut document. More...
#include <entity.h>
Related Functions | |
(Note that these are not member functions.) | |
| LO_RESULT | LOEntityCreateAttributeDictionaryCopy (LOEntityRef entity, const char *dictionary_name, LODictionaryRef *dictionary) |
| Gets a copy of an attribute dictionary with the given name from an entity. More... | |
| LO_RESULT | LOEntitySetAttribute (LOEntityRef entity, const char *dictionary_name, const char *key, LOTypedValueRef value_in) |
| Sets an attribute dictionary to a given dictionary belonging to an entity. More... | |
| LO_RESULT | LOEntityGetAttribute (LOEntityRef entity, const char *dictionary_name, const char *key, LOTypedValueRef value_out) |
| Gets an attribute from a given dictionary belonging to an entity. More... | |
| LO_RESULT | LOEntityDeleteAttribute (LOEntityRef entity, const char *dictionary_name, const char *key) |
| Removes an attribute from a given dictionary belonging to an Entity. If key is nullptr, then the entire dictionary will be removed from the Entity. More... | |
An entity is an object shown on a page of a LayOut document.
|
related |
Gets a copy of an attribute dictionary with the given name from an entity.
| [in] | entity | The entity object. |
| [in] | dictionary_name | The name of the attribute dictionary object to retrieve. |
| [out] | dictionary | The attribute dictionary object. |
entity does not refer to a valid objectdictionary_name is NULLdictionary is NULLentity does not have an attribute dictionary with the given nameentity does not support attribute dictionaries
|
related |
Removes an attribute from a given dictionary belonging to an Entity. If key is nullptr, then the entire dictionary will be removed from the Entity.
| [in] | entity | The entity object. |
| [in] | dictionary_name | The name of the attribute dictionary object to remove. |
| [in] | key | The key to remove from the attribute dictionary. |
entity does not refer to a valid objectdictionary_name or key are NULLentity does not support attribute dictionaries
|
related |
Gets an attribute from a given dictionary belonging to an entity.
| [in] | entity | The entity 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. |
document does not refer to a valid objectvalue_out does not refer to a valid objectdictionary_name or key are NULL
|
related |
Sets an attribute dictionary to a given dictionary belonging to an entity.
| [in] | entity | The entity 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. |
entity does not refer to a valid objectvalue_in contains no datadictionary_name or key are NULLentity does not support attribute dictionaries or dictionary_name or key are empty
1.8.3.1