转换apraPr对象为JSON对象
名称 | 类型 | 描述性 |
b writeSty | 布林安 | 指定使用样式写不写JSON对象 |
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvaromyStyle=ODocument.CreateStylevar OParaPr=omyStyle.GetParaPrOParaPr.Setleft边界varjsonsser.toJSONvar OParaPrFERJSON=api.FromJSONvarstype=OParaPrFERJSON.GetClassTypevarolements=ODocument.GetEplement0odclips类型=+sypebuilder.SaveFile("docx", "ToJSON.docx")!builder.CloseFile();