删除当前段落中所有元素
这种方法没有任何参数
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0var ORun=api.CreateRunORun.AddTextoParagraph.AddElement(oRun)!oParagraph.RemoveAllElements()!ORun=Api.CreateRunORun.AddText ("我们删除所有段落元素并添加新文本运行oParagraph.AddElement(oRun)!oDocument.Push(oParagraph)!builder.SaveFile("docx", "RemoveAllElements.docx")!builder.CloseFile();