返回表单包含当前内容控件
这种方法没有任何参数
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvar表Style=ODocument.CreateStyleoTableStyle.SetBasedOn(oDocument.GetStyle("Bordered"))!varo表=api.Criate表(3,3)oTable.SetStyle(oTableStyle)!oDocument.Push(oTable)!var oblocklvlStoBlockLvlSt.GetEplement(0)AddText(“这是块文本内容控件”)varocell =otable.GetRow0.GetCell0oCell.AddElement(0, oBlockLvlSdt)!var oParent表Cell =OBlockLvlSt.GetParent表CellParent表Cell.SetCellFrontTopbuilder.SaveFile("docx", "GetParentTableCell.docx")!builder.CloseFile();