ardi::item::slide

Interact with items of type slide.

This item type is valid only for MS-PowerPoint reports. Supported property names are: -name -value -parent -type (read only) -layoutname. All properties available can be passed via the "create" API or modified on an existing item via the "set" API.

ardi::item::slide::create args

Creates an item of type "slide".
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::slide create -name "My Slide Item"

ardi::item::slide::delete args

Deletes the item with the specified ID.
Parameters
-id (mandatory)
value: item ID. The item ID which is returned by the corresponding "create" API.
default value: ""
Returns
1 for ok
tcl-error in case of error i.e ardi::api::item::slide delete -id $id

ardi::item::slide::get args

Queries the value of one property.
Parameters
-id (mandatory)
value: item ID. The item ID which is returned by the corresponding "create" API.
default value: ""
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::slide get -id $id -property parent

ardi::item::slide::getpropertyid args

Queries id of property.
Parameters
-id
value: item ID
-key
value: property key

ardi::item::slide::getpropertykeylist args

Queries list of properties.
Parameters
-id
value: item ID
Returns
list of property keys for a particular item ID

ardi::item::slide::set args

Sets one or multiple parameters to specified values. The type of the item is assigned upon creation and cannot be changed after.
Parameters
-id (mandatory)
value: item ID. The item ID which is returned by the corresponding "create" API.
default value: ""
For a full list of property names, see above.
Returns
1 for ok
tcl-error in case of error i.e ardi::api::item::slide set -id $id -name "My Slide Item" -value "Good morning, how are you today?"