mrc Documentation
michaels, ross & cole, ltd.
http://www.mrc-productivity.com/
|
|
Web
2.0 Reports include PDF Output
Web 2.0 reports now include the option to output to PDF. The painting for the PDF comes directly from the HTML presentation layer. This means that m-Painter is the WYSIWYG editor for all of these output types: HTML, Formatted Excel, and PDF.
Options (shown with default)
These can all be changed per application by tweaking the generated HTML output. To modify these settings from their default, use m-Painter, toggle to the source, and change the PDF settings within the style tag.
Issues to Consider:
Note: For users with data dictionaries older than October of 2007, you will need to make two small changes to your Header file. Specifically look for the lines that begin with <img and end with >.
Be sure to end them with />. This ensures that the IMG tag is complete and will minimize the chance of generating an error message on the conversion. For example,
1. Change this
<img src="/mrcjava/image/top.jpg" border="0" >
to read this:
<img src="/mrcjava/image/top.jpg" border="0" />
By default, there are two images in the mrc header. Be sure to change both of them.
2. In your footer file, you will see one table referenced as <TABLE>, please change this to read <table>.
.back { color : black; background-image: url("/mrcjava/image/back.gif"); font: 8pt verdana;}
To something like this:
.back { color : black;
background: #d8d8d8 ; font: 8pt verdana;}
Common Question Regarding Using the PDF Output feature
in existing Web 2.0 Reports
Q: I have an existing classic Web servlet report. Can I get the HTML formatting from that report into PDF output?
A: You cannot directly use the HTML output as the PDF formatting in classic Web servlet reports. However, you can use those report specifications by copying that to another report and using the Web 2.0 report template to compile it.
Q: I already have a Web 2.0 report defined. How can I use it?
A: Recompile the report and replace the HTML output. When you run it via the browser, you will see PDF as an output option.
Q: I already have a Web 2.0 report defined. Can I retain my screen painting?
A: Yes if you already have existing Web 2.0 Reports, please contact the mrc helpdesk at support@mrc-productivity.com and we will supply you with the additional information. For most users, if your Application was developed after October of 2007, you already have this functionality!