如何自动将 Oracle 应用程序 Web 表单导出为 PDF?

发布于 2024-07-17 12:24:41 字数 121 浏览 3 评论 0原文

这个想法是,在输入数据时,自动将 Oracle 应用程序 (Web) 表单导出为 PDF,并将其存储在数据库中。

使用 XML Publisher,可以允许用户按需导出它,但我需要自动生成报告/表单 PDF。

The idea is, upon data entry, automatically export an Oracle Applications (web) form to PDF, storing it in the database.

Using XML Publisher, one can allow the user to export it on-demand, but I need to have the report/form PDF generated automatically.

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

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

发布评论

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

评论(2

丑丑阿 2024-07-24 12:24:41

一种方法是使用 iText。 保存表单后,编写一个小类来生成 PDF 文件,并将其存储在您想要的任何位置。

对于程序员(您)来说,这不是自动,因为它涉及为其编写一个类,但对于最终用户来说,它是自动,他们无需执行任何操作即可获得其形式保存为 PDF 文件。

One way to do it would be using iText. After your form is saved, write a little class to generate the PDF file, and store it wherever you want.

It's not automatic for the programmer (you) since it involves writing a class for it, but it is automatic for the end user who won't have to do anything to get its form saved into a PDF file.

世态炎凉 2024-07-24 12:24:41

这里几乎涵盖了一个好的解决方案< /a>. 基本上,通过一点 OAF 代码,就可以调用 XML Publisher API 将表单 XML 转换为 PDF。

不过,如果能够自动生成表单 XML,而不需要自定义查询 + 视图对象,那将会很有趣。

A good solution is pretty much covered here. Basically, with a bit of OAF code, one can have the form XML converted to PDF calling the XML Publisher API.

It would be interesting, though, to have the form XML generated automatically without needing a custom query + View Object.

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