如何使用 Perl 生成 ODF 图表

发布于 2024-09-14 02:26:22 字数 35 浏览 1 评论 0原文

如何使用 Perl 创建带有图表的开放文档格式电子表格?

How to create Open Document Format spreadsheet with charts using Perl?

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

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

发布评论

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

评论(2

若有似无的小暗淡 2024-09-21 02:26:22

您看过ODF::lpOD吗? ODF::lpOD::StructuredContainer 说它可以访问“绘图页面”

本手册页涉及章节、项目列表、绘图页面、框架和绘图形状。

如果您不是在谈论通用格式,并且您的目标具体是 OpenOffice.org,那么您希望立即了解在其底部,您可以使用 OpenOffice::UNO

如果不出意外的话,因为图表存在于 XML 中,所以您可能可以在文档中操作 XML。

Have you looked at ODF::lpOD? The page for ODF::lpOD::StructuredContainer says it gives access to "draw pages"

This manual page is related to the sections, item lists, draw pages, frames, and drawing shapes.

If you're not talking about the generalized format, and your target is specifically OpenOffice.org you want to get right down to the bottom of it you could use OpenOffice::UNO.

If nothing else, because charts exist in the XML, you can probably manipulate the XML in the document.

会傲 2024-09-21 02:26:22

我使用 Spreadsheet::WriteExcel 制作带有图表的 Excel 电子表格,然后打开文档在 Linux 或 Windows 上的 Open Office 中就可以了。

您现在还可以使用 Excel::Writer::XLSX

I use Spreadsheet::WriteExcel to make Excel spreadsheets with charts and I open the documents just fine in Open Office, on Linux or Windows.

You can also now use Excel::Writer::XLSX

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