The kind of item selected.
Adds listeners to the selection.
The listeners to add.
Optionaloptions: IListener.Options
Options for the listeners.
A function to remove the listeners.
Empties the selection.
Returns the item selected most recently, or null when the selection is empty.
Returns what every selected item shares as its parent: null for the root (the sheet, the
chart), else the group or element they are in.
Returns the selected items, in the order the selection keeps them.
Returns true if nothing is selected.
Returns true if other selects the same items, with the same one active.
Selects items, replacing the selection.
The items to select, the last one the active one.
Optionaloptions: IItemSelection.SelectOptions
With add, extends the selection instead.
Removes items from the selection. Items not selected are ignored.
A selection of items that stand in a tree: drawings on a sheet and the members of groups, or the elements of a chart. What a selection of either kind does is here; what each kind adds is on its own interface (IMovableSelection, IChartElementSelection).
Remarks
Every selected item has the same parent, its container. Selecting an item from another container replaces the selection, as Excel's does: a shape and a member of a group cannot be selected together, nor a chart's title and a point of one of its series.
The latest item picked is the active one, the one a Format pane shows.