version 1.5
Function getPrevElement (objType As String, prevObj)
get previous element of particular type. objType may contain one of values (or their combination):
RT_OBJ_TEXTPARAGRAPH, RT_OBJ_TEXTRUN, RT_OBJ_TABLE, RT_OBJ_SECTION, RT_OBJ_NOTELINK, RT_OBJ_HOTSPOT, RT_OBJ_HOTLINK, RT_OBJ_BUTTON, RT_OBJ_GRAPHIC RT_OBJ_ATTACHMENT RT_OBJ_ALL (to get any object)
prevrObj is the object relative to which Previous element is returned.
|