使用php将mysql数据导出到ODF

发布于 2024-07-07 08:53:28 字数 109 浏览 9 评论 0原文

我想知道是否有人尝试将数据从 MySQL 导出为 ODF 格式?

任何信息/文档将不胜感激。

如果可能的话,我将尝试将 MySQL 结果集导出到 ODF 电子表格。

I would like to know if someone triend exporting data from MySQL to an ODF format ?

Any information / documentation would be very much appreciated.

I am going to try to export a MySQL result set to ODF spreadsheet if possible.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

女中豪杰 2024-07-14 08:53:28

您可以尝试查看以下内容: http://www.phpclasses.org/browse/package /4398.html

然而,查看源代码,它看起来不太好,并且有很多硬编码的 xml 字符串

You could try looking at this: http://www.phpclasses.org/browse/package/4398.html

However looking at the source code it doesn't look great and has lots of hard coded xml strings

梦幻的味道 2024-07-14 08:53:28

使用 PHP 创建 OOo 文件的另一个选项是 tbsOOo; 然而,它主要是一个模板引擎。

此类允许创建 OpenOffice
通过分离动态文档
显示逻辑格式和
数据。 在实践中,您创建一个
使用 OpenOffice 的模板
TinyButStrong 标签。 然后你创建一个
合并模板的 PHP 脚本
与数据源获取新的
OpenOffice 文档。

还有:OpenDocument PHP,它更复杂,可以动态创建文件。

Another option to create OOo files with PHP is tbsOOo; however, it is mainly a templating engine.

This class allows to create OpenOffice
documents dynamically by separating
display formatting from logic and
data. In practice, you create a
template using OpenOffice with the
TinyButStrong tags. Then you create a
PHP script that merges the template
with a data source to get a new
OpenOffice document.

There is also: OpenDocument PHP which is more complex and can create the files dynamically.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文