--- title: "处理表格中的文本" --- 正如前面的文章中提到的,表格通常包含纯文本,尽管可以将其他内容(例如图像甚至其他表格)放置在表格单元格中。 使用 [DocumentBuilder](https://reference.aspose.com/words/python-net/aspose.words/documentbuilder/) 类的适当方法向表添加文本或其他内容,并......+ "Tables.docx") table = doc.get_child(aw.NodeType.TABLE, 0,... True).as_table() table.range.replace("Carrots", "Eggs", aw.replacing...