输出集成 SQLite 数据库数据的 PDF 电子书的推荐技术?
我们收到了很多对数据库驱动的 iOS 应用程序的电子书版本的请求,我正在尝试找出最简单的方法来自动创建它作为我们的 XCode 构建过程的一部分。
我想找到一种基于一些易于设计的模板和作为我们应用程序核心的 SQLite 数据库来生成 PDF 电子书的方法。
我很难找到可以做到这一点的 Mac 兼容工具,而且我不知道如何将其集成到我们的 XCode 构建过程中。
任何正确方向的指示将不胜感激。
谢谢!
更新:理想情况下,我想找到一些东西,让我们的设计人员可以使用 GUI 工具轻松布置页面模板,然后我可以以编程方式填充数据库内容,在每个新版本中自动生成 PDF应用。
我听到的一个建议是使用 LaTeX,但这似乎因表格“是一场噩梦”而闻名,而且我们希望在布局中使用表格。另外 - 我找不到一种方法可以让设计人员轻松地使用 LaTeX 布置模板。也许我只是在错误的地方寻找 LaTeX 资源和示例,所以这里的指针将不胜感激。
在 Window 的世界中,我听说 Crystal Reports 可以实现我想要的一些功能。但我想要一些可以集成到我的 XCode 构建环境中的东西。
有想法吗?
We are getting a lot of requests for an eBook version of our database driven iOS application, and I am trying to figure out the easiest way to automate creating this as part of our XCode build process.
I'd like to find a way to generate a PDF eBook based upon some easily designed templates and the SQLite database that is at the heart of our app.
I am having a hard time find Mac-compatible tools that can do this, and I have no idea how to integrate this into our XCode build process.
Any pointers in the right direction would be much appreciated.
Thanks!
UPDATE: Ideally I'd like to find something that will allow our designer to easily lay out the page templates with a GUI tool, and which I can then programmatically populate with the database contents, spitting out a PDF automatically with each new build of the application.
One suggestion I've heard is using LaTeX, but that seems to have a reputation for "being a nightmare" with tables, and we would want tables in our layout. Also - I can't find a way to allow a designer to easily lay out the templates with LaTeX. Perhaps I am just looking in the wrong places for LaTeX resources and examples, so pointers here would be appreciated.
In the Window's world, I've heard Crystal Reports might do some of what I want. But I want something that can integrate into my XCode build environment.
Ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可能想研究一下 LaTeX。它可以从纯文本(+控制代码)源文件生成高质量的 PDF,这使其成为按需构建内容的理想选择。
Might want to look into LaTeX. It can generate high-quality PDFs from plain text (+ control codes) source files, which makes it ideal for building stuff on demand.