将数据导出到 iWork Numbers
有人尝试过将数据导出到 iWork 中的 Numbers 吗?我想以编程方式生成电子表格,但我没有取得太大成功。
我尝试解压缩 .numbers 文档并分析 XML 以查看是否可以解释它,但它太复杂了。另外,我找不到 Apple 使用的 DTD。
从out来看
Has anyone tried exporting data to Numbers in iWork? I want to generate a spreadsheet programmatically but I'm not having much success.
I've tried unzipping a .numbers document and analysing the XML to see if I could interpret it but it's far too complicated. Also, I couldn't find the DTDs used by Apple.
Judging by what's out there this is an almost impossible task. Does anyone have any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我的应用程序中有许多用于生成 Numbers 电子表格的 Applescript 脚本。它工作得相当好,尽管它不是很快,而且您对格式没有太多控制,并且无法插入图表等内容。
I have a number of Applescript scripts in my application for generating Numbers spreadsheets. It works fairly well although it's not very quick and you don't have much control over formatting and can't insert things like Charts.
如果它们是一张纸中的纯数字,请将它们导出到 CSV 或制表符分隔的文本文件中。
If they're pure number in one sheet, export them into a CSV or tab-separated text file.