Grails Plugin for exporting graphs in PDF and EXCEL rather than Jasper - grails-2.0

I need a grails Plugin for exporting graphs in PDF and EXCEL rather
than Jasper plugin

You can use this plugin
http://www.grails.org/plugin/export
It can export CSV, Excel, Open Document Spreadsheet, PDF and XML

Related

Can Javascript PptxGenJS library show preview before save?

I am using PptxGenJS library to create a pptx files with javascript. I want to preview of pptx before saving. How can I handle it?
I am afraid this is not possible. you need to get the created slides somehow into PowerPoint in order to view it, which requires a save and a load.
To really create a preview capability for slides, you would have to write a full slide rendering engine in JavaScript, which is obviously a huge effort.
Maybe your script can save files somewhere in a temporary place, and create simple macro in PowerPoint which enables some sort of preview, after which files can be saved with their final name and file path?

PDF and Excel styling with datatable buttons extension in shiny

I use buttons extension in my shiny application. How can I download pdf with same styling like it is done in application? Because I have the app looking like that
but when I download my table to the pdf it doesn't have that styling and looks like that:
the same with downloading excels, I have thousand separator in app and it downloads without it. I suppose that the same function do it for both but I don't know which.

Easily saving .doc files to another formats programmatically

We're been asked to make it possible to save a .doc file as a pdf file, odt file, doc and .docx file.
Aside from saving it as a doc/docx file, we're kinda stuck at .odt and pdf files.
I've tried aspose.words and it works great.
But is there any other way to do this without aspose? We'll try to convince our client on buying it but if there's any free or cheaper solution, we're willing to try it.

Style Drupal's Print Module PDF

How would one do this in Drupal 7? I want to add a few small style edits to the way the PDF outputs. I am using TCPDF. I read somewhere that its not posible with TCPDF, but other sources say it is. Should I be switching to dompdf? I've read the documentation but just can't seem to understand which file generates the PDF.
I have the module successfully generating a PDF from a View, so this is the last step in moving on with this project.
For anytime you want to style PDFs use DOMPDF, it will be less painful. Then style your pdf using print.css in the sites/domain.com/themes/yourtheme/css folder.
You can also copy the print.tpl.php file from the module's folder and paste it in sites/domain.com/themes/yourtheme/templates to choose exactly what you want to display in your pdf.

Custom File Filter Upload

I am developing custom upload module. I want to allow users to upload xls and xslx files only. How can I restrict this using file_save_upload function. Thank you
You should probably use the validate function for the form that has the file upload element on it instead. Or perhaps consider just using the File CCK element and using its settings to only allow files with xls and xlsx extensions to be uploaded - that would probably save you a whole lot of time.

Resources