OpenOffice自动化delphi

发布于 2024-12-25 12:21:10 字数 175 浏览 5 评论 0原文

我们想要自动化 OpenOffice,当我在互联网上搜索时找不到端到端的帮助,而 delphi 的例子太少了。我们的目的是插入文档变量并用其中的值替换文档变量并复制段落等。

任何人都可以帮助我找到端到端帮助或像 word2000.pas 这样的 pas 文件,我可以在其中找到所有单词例程。

谢谢, 罗勒

We want to automate OpenOffice, When i search on internet couldnot find a end-to-end help for that and delphi examples are too less. Our intention is to insert document variables and replace the document variable with there values and copying paragraphs etc.

Can any one help me to find an end-to-end help or a pas file like word2000.pas where i can find all the word routines.

Thanks,
Basil

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

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

发布评论

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

评论(2

半步萧音过轻尘 2025-01-01 12:21:10

我确实经常将 OpenOffice-Automation 与 Delphi 一起使用,并且我认为 Delphi 没有具有更高功能的“包装器”。

SourceForge 上有一个 Delphi OO 项目,其中包含帮助程序和示例作为起点: http://sourceforge.net/projects/ooomacros/files/Delphi%20OOo/Version%201.2/Delphi_OOo_v12en.zip/download

然后你就得研究UNO-API并使用COM来调用 UNO 函数。

I do use OpenOffice-Automation with Delphi a lot and I think there is no "wrapper" with higher functionality for Delphi.

There is a Delphi OO Project on SourceForge with helpers and examples as a starting point: http://sourceforge.net/projects/ooomacros/files/Delphi%20OOo/Version%201.2/Delphi_OOo_v12en.zip/download

Then you have to study the UNO-API and use COM to call the UNO functions.

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