Open hypery2k opened 9 years ago
Ok, sounds reasonable. At the moment I am doing a big refactoring and changing the way the HTML and JSON reports are generated. Once this is finished we can discuss this story
I know, I just wanted to mention it, because you're currently redesigning this part ;) If you need help do not hesitate ;)
sure, thanks :) I am almost finished. Going to push later a big chunk of work. I like the idea of PDF reports because you can also nicely embed images in it
we can use PDFBox:
public void addImageToDocument(final PDDocument doc, final BufferedImage bufferedImage) {
PDXObjectImage ximage = new PDJpeg(doc, bufferedImage);
}
i searched a little bit for a client side solution. What do you think about http://pdfmake.org/playground.html?
I would prefer to have a more simple solution. This seems too complex for such a minor feature. And why not use an open-source Java library for that http://pdfbox.apache.org/?
you're right. Better to use this one. I will try a little bit with the library
It would be really helpful if we create if create a single file (HTML or PDF) of the report. This can be useful for sending the reports via email...