指定当前段落引用当前文档中的编号定义实例
名称 | 类型 | 描述性 |
o数级 | ApiNumberingLevel | 编号级别分配段号 |
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvaro编号=ODocument.Create编号letnlvl=0NLVL < 8++nlvl+vlvarodeptes=api.Createleodlipse.adTextoParagraph.SetNumbering(oNumLvl)!oParagraph.SetContextualSpacing(true)!oDocument.Push(oParagraph)!} builder.SaveFile("docx", "SetNumbering.docx")!builder.CloseFile();