There is enumaration for content of cell, and next enumeration to detect the parts in this content like hyperlinks. And I tried to test the property TableName to detect the inserted subtable → probably there is some other way how to detect the inserted subtable, but I had this idea.
Sub examineCells 'show info about text and hyperlinks and subtables in TextTable
dim oDoc as object, oTable as object, oCell as object, sCell$, o as object, o2 as object, i%, sUrl$
oDoc=ThisComponent
oTable=oDoc.TextTables.getByName("CommonSkills")
for each sCell in oTable.CellNames 'traverse all cells
oCell=oTable.getCellByName(sCell) 'current cell
for each o in oCell
if o.PropertySetInfo.hasPropertyByName("TableName") then 'there is subtable
msgbox("SUBTABLE: " & o.TableName, 48) 'subtable is with '!! icon in msgbox
else
for each o2 in o
sUrl=o2.HyperlinkURL 'url from hyperlink
i=msgbox("cell: " & oCell.CellName & chr(13) & "String: " & o2.String & chr(13) & "URL: " & sUrl , 4 + iif(sUrl<>"", 32, 0) ) 'hyperlink is with 'i' icon in msgbox
if i=7 then stop 'pressed No
next
end if
next
next
End Sub