从当前文档返回指定类型所有标题段
名称 | 类型 | 描述性 |
编程 | 标题Label字符串 | 标题标签(Equation,Fuore,Table或another标题标签) |
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0Var ODraining = Api.CreateImage.com/content/img/docbuildinger/examples/coorder_aspects.pngoParagraph.AddDrawing(oDrawing)!odeptes = Api.CreatelementsoDocument.Push(oParagraph)!odeceptition-Captition-Captition-Fire-defe-var aCaptionParagraphs = oDocument.GetAllCaptionParagraphs("Figure")!aCaptionParagraphs[0].SetCaps(true)!builder.SaveFile("docx", "GetAllCaptionParagraphs.docx")!builder.CloseFile();