LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Related Functions
LOEntityRef Struct Reference

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...
 

Detailed Description

An entity is an object shown on a page of a LayOut document.

Friends And Related Function Documentation

LO_RESULT LOEntityCreateAttributeDictionaryCopy ( LOEntityRef  entity,
const char *  dictionary_name,
LODictionaryRef dictionary 
)
related

Gets a copy of an attribute dictionary with the given name from an entity.

Since
LayOut 2026, API 11.0
Parameters
[in]entityThe entity object.
[in]dictionary_nameThe name of the attribute dictionary object to retrieve.
[out]dictionaryThe attribute dictionary object.
Returns
LO_RESULT LOEntityDeleteAttribute ( LOEntityRef  entity,
const char *  dictionary_name,
const char *  key 
)
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.

Since
LayOut 2026, API 11.0
Parameters
[in]entityThe entity object.
[in]dictionary_nameThe name of the attribute dictionary object to remove.
[in]keyThe key to remove from the attribute dictionary.
Returns
LO_RESULT LOEntityGetAttribute ( LOEntityRef  entity,
const char *  dictionary_name,
const char *  key,
LOTypedValueRef  value_out 
)
related

Gets an attribute from a given dictionary belonging to an entity.

Since
LayOut 2026, API 11.0
Parameters
[in]entityThe entity object.
[in]dictionary_nameThe name of the attribute dictionary object to retrieve the value from.
[in]keyThe key to use when adding to the attribute dictionary.
[out]value_outThe value retrieved from the attribute dictionary.
Returns
LO_RESULT LOEntitySetAttribute ( LOEntityRef  entity,
const char *  dictionary_name,
const char *  key,
LOTypedValueRef  value_in 
)
related

Sets an attribute dictionary to a given dictionary belonging to an entity.

Since
LayOut 2026, API 11.0
Parameters
[in]entityThe entity object.
[in]dictionary_nameThe name of the attribute dictionary object being added to.
[in]keyThe key to use when adding to the attribute dictionary.
[in]value_inThe value to be added to the attribute dictionary.
Returns

The documentation for this struct was generated from the following file: