How to add comment at generated report at Excel format? - jasper-reports

Is possible in a report made with Jasper Studio add some comments to column header cells?
Those comments sholud be exportable in excel format.
The request is to add some comments in an excel report made with Jasper (like the red triangle in excel when add a comment to a cell).
I've tried with hyperlink with no results.

Related

Crystal report RPT file is there a way to view the code behind?

In SSRS RDL file you can right click in Visual studio and click view code. there you can see any VB code that may apply, any grouping , formula ect.
Is there a similar action in Crystal report RPT file?
thank you
The crystal desktop client lets you edit the .rpt file and see the code.
You can also use RptToXml on GitHub to convert .rpt to .xml
The xml will contain code that will help explain how a report was constructed.

Creating A Custom Excel Report

I should be able to customize excel script reports here:
C:\Users\ [user] \sahi_pro\config\reports\excel\script_report
As explained here: http://sahipro.com/docs/faq/how-to-customize-html-reports.html
When I make changes, they don't apply.
Edit the script_report XSLT Stylesheet
Run a script
Go to logs
Click on the script that's ran. Should see the script report.
Click on the excel icon on the top right.
This should produce the customized excel report.
I tested to see if the html reports could be edited and I can custom html reports anyway I want using this method.
Editing the XSLT Stylesheets seem to be working for the html reports, not excel sheets. To write custom excel reports, I am using the "Sahi Pro - File Manipulation APIs" in my scripts.
http://sahipro.com/docs/sahi-apis/file-apis.html#_writeCSVFile

How to show image/word document/pdf in crystal report

I have a BLOB field in my table and the user can save anything like image.pdf.work document to this field.
In my crystal report when i try to show this field if it has an image it will be shown but if it has a PDF of WORD I see empty area.
I am looking for a solution which will enable me show anything saved in this BLOB column in crystal report.Is it possible?
Somebody at below link said no , but I am realy hoping some expert here can suggesst a solution
SAP forum

On demand sub reports in crystal reports

I have a report where I am using an on-demand sub-report. But my user is viewing this report from a java application. So whenever he run the report he will view this report in PDF.
Report format:
country name location sales
<on-demand subreport>
Now once he run the report he will get all the above fields data in PDF format.
So now if clicked on location field data in PDF will he get the sub-report's data.
PDF isn't intended to generate dynamic content. As such, you'll need to find an approach that will render the desire content in a static manner.
I would suggest that you parameterize your report to display one of these options:
main only
main + subreport
The PDF will either contain the main report's content or the main and subreport's content.
** edit **
If you are using BusinessObjects Enterprise (BOE), you could use the openDocument API to generate a new report instance or the most-recently-generated instance. I don't know if Crystal Reports Server supports this feature for certain.
If you are rendering reports in a Java application, then you will need to a way to intercept the hyperlinks--a server, most likely. By in large, you'd be reinventing Crystal Reports Server/BOE.
Basically I understand as you need two thing.
you need to generate a report and export/generate in pdf.
in you need to attach link or something like editable field pdf.
For First answer, you can easily hide/show of sub-report in crystal report side. but not after report generate in pdf.
So for second answer, you need to pdf professional or editable allow version. after you get that you simply use itextsharp.dll (to generate pdf from asp.net-see below link).
So finally I think, does not needed crystal report.
please check this link.
How to create an editable pdf in asp.net?
Pdf's fields should remain editable using itextsharp in asp.net
Creating a fillable PDF form with ITextSharp

SSRS Footer not exporting to excel [duplicate]

I am using SQL Server Reporting Services 2008 for reporting. When we export the report to Excel, the footer image or textbox is not exported. Header image is getting exported successfully.
Does anybody know a solution for this?
Jon is correct they are exported but on opening the file you wont automatically see them as they are not displayed in "Normal" view, in 2007 switch to "Page Layout" view. not sure what its called in other versions of excel.
Note: You also might want to read this as it relates to the use of Headers/Footers in RDLC and exporting them to Excel.
Footers in Reporting Services are exported in Excel.
To see them, you need to click View -> Headers and Footers (in Excel)