如何在目标C中编写MsWord(.doc)文件? [英] How to write a MsWord (.doc) file in Objective C?

查看:74
本文介绍了如何在目标C中编写MsWord(.doc)文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在目标C中编写纯Msword文件. 到目前为止,我一直在编写.txt文件,但是当我编写.doc文件时,所有编码方案都遇到编码问题. Microsoft在Visual Studio中提供了可与.doc文件一起使用的库,这在Xcode中不可用. 那么有什么办法可以实现呢?

I need to write pure Msword file in objective C. I have been writing .txt file till now but when i write a .doc file i'm facing encoding issues with all encoding schemes. Microsoft provide library in visual studio to play with .doc files which is not available in Xcode. So is there any way to make it happen?

推荐答案

如果您可以选择以下选项: 在服务器上,使用Microsft VSTO通过ServerDocument类创建一个文档(doc,els,ppt ...),并传递您在客户端上收集的数据.然后下载该文件和手机.

If it's an option for you: On the server use Microsft VSTO to create a document (doc,els,ppt...) using ServerDocument class and passing the data that you collect on the client. Then you download that file and your phone.

这篇关于如何在目标C中编写MsWord(.doc)文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆