smart way to design crystal report - crystal-reports

I want to create a crystal report that will match a pdf file. The info in the pdf file is a combination of form fields and instructions layed out in a table format. The crystal report should exactly match the pdf file because I will export the report to pdf later.
is there a smart way of quickly designing the rpt file? like converting the pdf file to an rpt file?

You're better off just building the rpt file from the ground up -- there are no utilities I'm aware of that can covert the PDF to a RPT file.

I agree with LittleBobbyTables in that I don't know of a pdf to Crystal Reports converter so you'll have to build the report on your own from scratch, but you may look into other options instead of Crystal Reports if possible.
Of course it's hard for me to give a good solution since I don't know the drivers behind the decision to use Crystal Reports, but if you are looking to display the data in a web page, Adobe has a pdf to HTML converter here that you may be able to start off with. You put the url to the pdf form and it converts it to HTML or Text. I tried it and thought it did work, it wasn't really close in the look and feel of the original pdf form so you can use it to get you part of the way and then you can wire up the data portion to display your data. Just throwing out another option instead of wedding yourself to Crystal Reports. Hope it helps.

Related

Download Report as Power Point

Is there any reporting tool from which I can automate the output as Power Point. I have access to Crystal and Tableau. From Crystal I can only download report as PDF and then paste in the PPT. Tableau I can download as PPT but some formatting issues and I need to manually download as PPT. Please advise. Thank you.
I think you may want to take a look at DOMO which can:
render a dashboard as a slideshow on the fly (https://domohelp.domo.com/hc/en-us/articles/360043437793-Sharing-Content-Using-Slideshows)
download a PPT for your dashboard
allow you to create refreshable ppt based on your own template (https://domohelp.domo.com/hc/en-us/articles/360043437953-Using-the-Domo-PowerPoint-Plugin)
Do you simply need to convert the report pages to a brand new PowerPoint file with one slide per each report page?
Any extra needs such as using a PowerPoint template?
Or using an existing "hosting" PowerPoint file and a target page for insertion?
Do you need any resizing or cropping of content before it gets inserted into the PowerPoint file?
What is the frequency at which this is needed?

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

PDF to Jasper XML

I have a PDF file (softcopy) which was created using iText. Now my company decided to use JasperReports for new release. I need to use that PDF file (softcopy) and need to design JasperReports template and need to populate data.
Do we have any plugin in JasperReports that can convert from PDF to JasperReports JRXML or what do I need to do? Any suggestions?
A PDF is a description of how to render a document on a page. Things
like "draw a vertical line here", "write 'foo bar baz' here in
Courier". It does not contain any information about the format or
organisation of the stuff it is rendering. You won't be able to tell
that you're looking at a table, or a list of bullet points, or a
paragraph, or anything like that.
The PDF format does contain information on a page-by-page basis.
Therefore, page breaks are the one piece of format/organisation
information that you can find.
If you want anything more than a raw stream of completely unformatted,
disorganised text, one per page, you are out of luck. It's virtually
impossible.
from javaranch
You can use http://xmlprinter.com/ and then use a xslt to transform the resulted xml to the desired jrxml.
I'm working in it. If I finish it, i will post the result on github or any other public and open place.
Good Luck

How do I create one report from multiple Crystal Report rpt files

I have multiple Crystal Reports rpt files and I need to create only one file from them. The file might be any type of rpt, pdf, doc, excel etc.
My problem is that the report files contain subreports and creating a new report and adding them as subreports doesn't seem to work correctly, not showing the data from subreports in subreports.
I know that CR doesn't support subreports in subreports but I need to find a workaround to create only one file from the reports that I have.
Please help !
Not a problem.
Step 1: Export all your Crystal Reports to PDF.
Step 2: Use a freeware PDF merger to merge them all together.
I made a quick google search and found http://www.pdfsam.org/. According to the FAQ, they also have a command-line version (if you need to automate this process, that's the way to go).
Probably the biggest problem you'll have is making all these separate PDFs look like a single document. You might have to get creative with things like page numbers.
You should be able to create one report that contains all of the subreports. If there is no link (join) between the data, it should still work. If there is one (or more) between them, that should be possible too.

Storing Crystal Reports in XML files?

I was talking to somebody a recently who mentioned it was possible to store reports created using Crystal Reports as XML files.
Upon Googling this, I can't find anything suggesting that this is the case (using data stored in XML in a report, yes, but actually storing the report, the part stored by default as a .rpt file, no.
Am I correct in assuming that there was in fact some sort of misunderstanding between us and it in fact not possible to do this?
It is not possible to store the report template in XMLformat. XML is supported as export format of the "rendered" report only.
For what purpose do you need the report template in XML format. There is a Java reporting solution called Crystal-Clear which can read the Crytsal Reports report template and save it as XML report template. The other way round this does not work. After you created a XML file you cannot open the report with Crystal Reports again. But you can work with the report using Crystal-Clear which is coming with a GUI-designer too.
Use the Crystal Reports SDK to convert the RPT file format to XML.
There's a GitHub project that will convert RPT to XML. The intent of the tool is to use for diffs, so I don't know if there is a XML to RPT converter. Crystal Reports certainly can not take the XML file and open it like a .RPT file.
At least in version 8.5 XML-file is one of the supported export destinations just like PDF, Excel or Word. Seems unlikely they'd have removed the support in later versions.
I just tested in Crystal Reports 10.
Open up the report you want to export, click on export in the file menu, and at least in CR 10, XML is at the very bottom.
Next a screen appears, asking for directory and base file name to save to. According to the Window it uses "Crystal Markup Language" XML Format