可编辑的 Webview/TextView ?或者任何其他控制器?
我正在开发一个可以编辑任何文档文件的项目,无论是 doc、rtf、txt、pdf 文件。
编辑后,用户可以保存,或者您可以说更新该文件。
请告知..如何编辑 pdf 或 doc 并重新保存它?
谢谢
I am working on a project which can edit any document file whether it is doc, rtf, txt, pdf file.
After editing user can save or you can say update that file.
Please advise .. how can anyone edit pdf or doc and re save it ?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
iOS4 中不支持编辑 pdf 或 doc 文件。如果你想要这个,你就必须自己写。
UIWebView 本身可以解释许多文档格式,但无法对此进行编辑。如果您只想打开这些格式,我会推荐 UIWebView。如果您确实需要保存为某种格式,则必须寻找可以将文本保存为您需要的格式的框架。或者你必须自己做。
There is no support for editing pdf or doc files in iOS4. If you want this you'll have to write it yourself.
A UIWebView can natively interpret a lot of document formats but there is no editing for this. If you just want to open these formats I would recommend a UIWebView. If you really need to save to a certain format, you'll have to look around for a framework that can save text to the formats you need. Or you're going to have to do it yourself.