谁能指导我如何在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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
如何检测 32 位 int 上的整数溢出?How can I detect integer overflow on 32 bits int?(如何检测 32 位 int 上的整数溢出?)
return 语句之前的局部变量,这有关系吗?Local variables before return statements, does it matter?(return 语句之前的局部变量,这有关系吗?)
如何将整数转换为整数?How to convert Integer to int?(如何将整数转换为整数?)
如何在给定范围内创建一个随机打乱数字的 intHow do I create an int array with randomly shuffled numbers in a given range(如何在给定范围内创建一个随机打乱数字的 int 数组)
java的行为不一致==Inconsistent behavior on java#39;s ==(java的行为不一致==)
为什么 Java 能够将 0xff000000 存储为 int?Why is Java able to store 0xff000000 as an int?(为什么 Java 能够将 0xff000000 存储为 int?)