返回ApitextPr类
这种方法没有任何参数
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarOTextPr=ODocument.Get DefaultextProTextPr.SetFontSize(30)!varolements=ODocument.GetEplement0odtext ("a样本文本 字体大小定为15分使用文本属性")var slassType =OTextPr.GetClassTypeoParagraph.AddLineBreak()!odstext (slass类型=+ssstype)builder.SaveFile("docx", "GetClassType.docx")!builder.CloseFile();