When using CR4E - the getHTMLContent printed the report onscreen as WYSIWYG.
But after changing to BOE 3.0 jars- I can see additional styles and "Main Report" tab.
I removed the tab using crViewer.setHasViewList(false);
But how do I change it to show as a web layout? Can it be done via CrystalReportViewer Object?
In allInOne.js ->
if(this.documentView.toLowerCase() == bobj.crv.ReportPage.DocumentView.PRINT_LAYOUT) {
layerStyle['background-color'] = '#8E8E8E';
pageStyle['border-color'] = '#000000';
shadowStyle['background-color'] = '#737373';
shadowHTML = h.DIV({id : this.id + '_shadow', 'class': 'menuShadow', style:shadowStyle});
}
else {
// Web Layout
layerStyle['background-color'] = '#FFFFFF';
pageStyle['border-color'] = '#FFFFFF';
}
I see the tree structure as below :::
DIV id=bobjid_xxxxxx_toolPanel
IFRAME id=grabIframe_bobjid_xxxxxxx_grabber
TABLE id=bobjid_xxxxxx_grabber
DIV id=bobjid_xxxxxxx_page
the DIV - bobjid_xxxxxxx_page has a child DIV id="CrystalViewercridreportpage" which is exactly what I want.