ardi::item::textdocument
Interact with items of type textdocument.
Supported property names are: -name -file -parent. All properties available can be passed via the "create" API or modified on an existing item via the "set" API.
ardi::item::textdocument create args
- Parameters
- For a full list of property names, see above.
- Returns
- The ID of the item or tcl-error in case an error occurred during creation. i.e ardi::api::item::textdocument create -name "My Text File" -file "example.txt"
ardi::item::textdocument delete args
- Parameters
-
- -id (mandatory)
- value: item ID. The item ID which is returned by the corresponding "create" API.
- Returns
- 1 for ok
ardi::item::textdocument get args
- Parameters
-
- -id (mandatory)
- value: item ID. The item ID which is returned by the corresponding "create" API.
- For a full list of property names, see above.
- Returns
- The value of the specified property or tcl-error in case of error usage: ardi::item::textdocument get -id $id -property parent
ardi::item::textdocument getpropertyid args
- Parameters
-
- -id
- value: item ID
- -key
- value: property key
ardi::item::textdocument getpropertykeylist args
- Parameters
-
- -id
- value: item ID
- Returns
- list of property keys for a particular item ID
ardi::item::textdocument set args
- Parameters
-
- -id (mandatory)
- value: item ID. The item ID which is returned by the corresponding "create" API.
- For a full list of property names, see above.
- Returns
- 1 for ok