返回类型Api数级
这种方法没有任何参数
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvaro编号=ODocument.Create编号letnlvl=0NLVL < 8++nlvl+vlvarodeptes=api.Createleodlipse.adTextoParagraph.SetNumbering(oNumLvl)!oParagraph.SetContextualSpacing(true)!oDocument.Push(oParagraph)!slassType=ONUMLvl.GetClassTypeodeptements =ODocument.GetE元素0odstext (slass类型=+ssstype)builder.SaveFile("docx", "GetClassType.docx")!builder.CloseFile();