on 09-29-2008 6:59 PM
I'm having a problem with my report objects overlapping other objects when I get an HTML view of a report. This happens on many of the reports when I have an image (some type of graph) embedded in the report.
The same report will look just fine using the openDocument.jsp script but not when I send the report content myself to the browser.
Has anybody else experience a similar issue with the report displaying differently between openDocument.jsp and their own viewer?
Hi Farhat,
Can you please kindly provide the following information:
1. What type of documents are your viewing (WebI, DeskI or Crystal Reports)?
2. Include the code snippet you are using to view your document.
3. What version of the product you are using (XI R1, R2 or 3.0)?
4. Do you have any Service Pack (SP) or Fix Packs (FP) applied to your installation?
Regards,
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. I'm viewing webi documents.
2.
Report report = doc.getReports().getItem(0);
if(report != null) {
report.setPaginationMode(PaginationMode.Page);
HTMLView view = (HTMLView)report.getView(OutputFormatType.DHTML);
System.out.println("Displaying '" + report.getName() + "' report.");
ImageOption webiImgOpt = doc.getImageOption();
webiImgOpt.setImageCallback("imageServlet.image");
webiImgOpt.setImageNameHolder("imageName");
webiImgOpt.setStorageTokenHolder("imageToken");
IOUtils.write(view.getContent(), response.getOutputStream());
IOUtils.closeQuietly(response.getOutputStream());
}
3. Using XI R2
4. We're currently on service pack 4.
The behavior is sporadic and seems to happen when an image is displayed before the rest of the report content.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.