在 AngularJs 组件中集成类似 JasperReports 查看器的组件 [英] Integrate JasperReports Viewer Like Component inside an AngularJs Component
问题描述
我研究这个问题已经有一段时间了,但很少看到参考文献(例如 这个).
I have been researching this problem for some time and have seen few references (like this).
我知道查看器是一个 Swing 组件,但我想实现诸如集成/拥有一个容器来预览报告.
I know the Viewer is a Swing component, but I would like to achieve something like integrating/having a container in which to preview reports.
我还没有看到 Angular 提供的任何此类组件默认值.有没有人尝试过类似的东西,或者创建自己的网络组件更好(也许是聚合物方面的).
I have not seen any such component default provided by Angular. Has anyone attempted something similar or is it better to create own web components (Polymer-wise perhaps).
提前致谢.
推荐答案
由于上述原因,这可能不太可能.
Probably this is not really possible, due to reasons above.
刚刚看到一个相关的想法/方法:只是将报告导出为 html 并提供给 html 渲染容器,例如 angular 的 ng-bind-html(类似于 这个答案).
Just now saw a related idea/approach: just exporting a report as html and providing to an html rendering container, like angular's ng-bind-html (something like this answer).
不过,就目前而言,只需再投入两美分".
For now, just another "two cents" in, though.
这篇关于在 AngularJs 组件中集成类似 JasperReports 查看器的组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!