def aw_read_table_id(table=None):
# 将表格转换为HTML
html = table.to_string(aw.SaveFormat.HTML)
# 使用BeautifulSoup解析HTML
soup = BeautifulSoup(html, "html.parser")
# 删除不需要的标签和属性,仅保留基本结构
allowed_tags = ['…...words-python hhh1111 October 31, 2024, 2:02am 1 def aw_read_table_id(table=None):...paragraph_format.outline_level in [0, 1, 2, 3, 4, 5]: if node.node_type ==...