AcceptAllRevisionChanges

AcceptAllRevisionChanges()

接受审查模式中的所有修改

参数:

这种方法没有任何参数

返回时间 :

方法不返回数据

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarodeptice1=ODocument.GetEplement0oDocument.SetTrackRevisions(true)!oParagraph1.AddText("Reviewing documents")!oParagraph1.SetJc("center")!oParagraph1.SetFontSize(24)!oParagraph1.SetBold(true)!varodis2=api.Createleoments2.AddText (“如果你需要阅读报表,可使用文档构建器”。下台阶显示如何实现.oDocument.Push(oParagraph2)!oDocument.AcceptAllRevisionChanges()!oDocument.SetTrackRevisions(false)!varodeptes=api.CreateleodText (“所有修改均接受”。”)oDocument.Push(oParagraph)!builder.SaveFile("docx", "AcceptAllRevisionChanges.docx")!builder.CloseFile();

结果文档