如何在JasperReport中包装Word输出的报表?

发布于 2024-08-06 11:02:04 字数 394 浏览 1 评论 0原文

我有报告宽度超过2000px;它在 pdf 和 excel 输出中工作正常,但当我们导出为 word 时,它显示 550px;仅报告我们看不到的其他部分。

我们有一份报告,其中包含...

abcdefghijklmnopqrstuvwxyz

当我们导出为 Excel 或 pdf 时,它工作正常,但当我们导出为 Word 时,它会像

abcdefg

一样,其他部分不可见。

我正在使用 JRRtfExporter 对象导出 Word 报告。我是否需要设置任何属性才能查看完整报告或任何建议?

我们正在使用 JasperReports 1.2.0

感谢任何帮助...

I have report where report width is more than 2000px; it is working fine with pdf and excel output but when we export for word it is showing 550px; report only other part we are not able to see.

We have one report which contains ...

abcdefghijklmnopqrstuvwxyz

when we export for excel or pdf it's working fine but when we export for word it's coming like

abcdefg

other parts are not visible.

I am exporting word report with JRRtfExporter object. is there any property i have to set to see full report or any suggestions ?

we are using JasperReports 1.2.0

Any Help Appreciated ...

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

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

发布评论

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

评论(1

裂开嘴轻声笑有多痛 2024-08-13 11:02:04
JasperPrint jasperPrint = null;

jasperPrint.setPageWidth(1500);

这工作正常,但如果有人有更好的解决方案,请提供......

JasperPrint jasperPrint = null;

jasperPrint.setPageWidth(1500);

This is working fine but if some one has better solution please provide it...

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