插入当前文档中多页段
这种方法没有任何参数
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0oParagraph.AddText("First page")!oParagraph.AddPageBreak()!oParagraph.AddText("Second page")!varosections=ODocument.Getfinalsectionvaroheader=osection.getheaderoledges=oheader.GetElement0adText (Page)oParagraph.AddPageNumber()!odTextoParagraph.AddPagesCount()!builder.SaveFile("docx", "AddPagesCount.docx")!builder.CloseFile();