All As rtCollection
docLinks As rtEnumeration
hotspots As rtEnumeration
sections As rtEnumeration
Style As rtStyle
tables As rtEnumeration
textRuns As rtEnumeration
Property Get hotspots As rtEnumeration
Returns an rtEnumeration object that contains all rtHotspot, rtHotLink, rtPopup, rtSection objects in scope. rtHotspot object is a parent class of all particular hotspot types and is returned either in case the correct type is not supported or to represent action hotspot..
The objects are returned in same order as in item/container. In case of embedded objects first returned is parent object then all child objects. In case any of child objects contain embedded objects itself they are always returned before the next sibling.
Dim obj as Variant, enum as rtEnumeration
set enum = ctx.Hotspots
Do while enum.hasMoreElements
set obj = enum.nextElement
... do something to the returned object