Export Crystal reports to PDF in java(在 java 中将 Crystal 报表导出为 PDF)
问题描述
谁能指导我如何在java中将水晶报表导出为PDF?
Can anyone guide me on how to export crystal reports into PDF in java?
我正在使用 Crystal Report Server XI.
I am using Crystal Report Server XI.
提前致谢.
推荐答案
我已经在此处记录了我的 SAP Crystal Reports for Java 运行时组件 - Java Reporting Component (JRC) 的峰值测试:
I've documented my spike test for the SAP Crystal Reports for Java runtime components – Java Reporting Component (JRC) here:
http://www.javathinking.com/2011/09/using-crystal-reports-java-api-to.html
我使用的是 Business Objects 4.0,可能最重要的是获取 Java 库 - 从以下网址下载SAP Crystal Reports for Java 运行时组件 - Java Reporting Component (JRC)":
I was using Business Objects 4.0, and probably the most important thing was to get the Java library – download ‘SAP Crystal Reports for Java runtime components – Java Reporting Component (JRC)’ from:
http://www.businessobjects.com/campaigns/表格/下载/水晶/eclipse/datasave.asp
网络上有很多示例可供查看 - 您可能会在这里找到一些帮助:http://wiki.sdn.sap.com/wiki/display/BOBJ/Java+Reporting+Component++SDK+Samples
There are a lot of samples on the web to look at – you might find something to help here: http://wiki.sdn.sap.com/wiki/display/BOBJ/Java+Reporting+Component++SDK+Samples
一个很好的例子是JRC EXPORT REPORT":http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40d580ce-bd66-2b10-95b0-cc4d3f2dcaef
A good example to start with is "JRC EXPORT REPORT": http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40d580ce-bd66-2b10-95b0-cc4d3f2dcaef
就我而言,我不需要服务器 - 我只使用了 JAR 文件、RPT 文件、数据库和我的 CRConfig.xml 文件:
In my case I didn't need a server - I just used the JAR files, the RPT file, the database and my CRConfig.xml file:
<?xml version="1.0" encoding="utf-8"?>
<CrystalReportEngine-configuration>
<reportlocation>..</reportlocation>
<timeout>0</timeout>
<ExternalFunctionLibraryClassNames>
<classname></classname>
</ExternalFunctionLibraryClassNames>
</CrystalReportEngine-configuration>
这篇关于在 java 中将 Crystal 报表导出为 PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 java 中将 Crystal 报表导出为 PDF


- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01