HTML Emitter and CSS [message #48902] |
Tue, 21 June 2005 22:01 |
Erkki Lindpere Messages: 90 Registered: July 2009 |
Member |
|
|
I have successfully embedded the ReportEngine in our web application
(running on Weblogic, had to turn on "prefer web-inf classes" because of
a conflict involving different versions of Rhino, I think). I want to
generate HTML reports inside our main application UI (currently a
servlet includes a header.jsp, then runs the report, then includes a
footer.jsp). I haven't had much time to look into making the report
style fit the main application style... but I already see one problem:
If invoke setEmbeddable(true) on
org.eclipse.birt.report.engine.api.HTMLRenderOption, it turns on a "No
CSS" mode, which is not exactly what I want. Our internal requirements
for web applications say that styles are to be defined by CSS only.
I would like the report to keep using CSS for styles, but skip the HTML
head, body and other tags so it could be included inside a larger HTML
page. I realize there could be conflicts with CSS names, but I'd like to
have that option available. Ideally, I would like to be able to specify
the CSS class names (and id attribute values) that our main application
uses in the Report Designer (maybe that's possible, I haven't really
explored all the styles options in the Report Designer)
Erkki Lindpere
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03360 seconds