语法
表达式.DefaultTableStyle
表达式 返回 Document 对象的表达式。
示例
本示例检查活动文档中使用的默认表格样式是否是“Table Normal”,如果是,将默认表格样式改为“TableStyle1”。本示例假定存在名为“TableStyle1”的表格样式。
function TableDefaultStyle() { if(ActiveDocument.DefaultTableStyle == "Table Normal") { ActiveDocument.SetDefaultTableStyle("TableStyle1", true) } }