转换ApitableCellPr对象为JSON对象
这种方法没有任何参数
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvar表Style=ODocument.CreateStyleoTableStyle.SetBasedOn(oDocument.GetStyle("Bordered"))!varo表=api.Criate表(3,3)oTable.SetWidth("percent", 100)!var tableCellPr =otableStyle.GettableCellPrtableCellPr.SetCleverBottomoTable.SetStyle(oTableStyle)!oDocument.Push(oTable)!varjson =OtableCellPr.ToJSONvar表CellPrFERJSON=api.FromJSONvarstype =oTableCellPrFERJSON.GetClassTypevarolements=ODocument.GetEplement0odclips类型=+sypebuilder.SaveFile("docx", "ToJSON.docx")!builder.CloseFile();