Generating a PDF report in Java [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I've been handed the task (not sure if i like it or not) of generating a PDF export in an eclipse RCP app. I'm looking for a framework with as little effort as possible I can pass in a pojo model and some kind of template and presto.. get a PDF report back. I've taken a look at BIRT and I'm sure it offers that functionality just was hard to read through all the stuff does anyone have a tool they use to do this that is really easy or any ideas of how to move forward? Thanks - Duncan krebs

iText is great for generating all kinds of PDFs, but If you're going to do reports, then I have to recommend JasperReports.
Also, you can use iReport to simplify the design of your jasper reports.

I think the most widely used framework for this purpose is iText. Be sure to check out the terms of use.

I use iText with Spring. A good example can be found in Springs tutorial at Spring pdf

Related

Generate PDF Java spring mvc (without IText) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have been working on my own project for the past few months and i have stumbled upon a problem. I need to attach some data from database(in pdf format) to emails i will be sending to clients. I know this could be done using Itext, but for commercial licence they charge around 1300$ for 2500 emails which is insane.
Do you guys know any other library i could use in my application i plan to offer commercially? Any other idea which will help me solve this problem will be greatly appreciated!
Cheers
I used PDFBox in the distant past. Admittedly, I was using it for reading PDF files, but it did a good job and seemed well-designed.
First you can try
flying saucer
Basically it uses an old version of iText which was free (more here)
Flying Saucer will allow you to render PDF on server-side from an HTML template (CSS 2.1 is supported) - we're using this solution (with mustaches templates) in our project
Another option (valid for Google Chrome) - you can do PDF exporting on client, just calling window.print() and using Chrome "Print to PDF' functionality
You can use Apache's FOP library for generating PDF. It is released under Apache 2 licence.
https://xmlgraphics.apache.org/fop/

EDIFACT grammar, parsers and libraries (Java) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am wondering if we can define EDIFACT grammar in ANTLR/xText and then generate parser.
If so, are these grammars defined already that we can leverage (open source preferably)?
Are there any open source libraries that can read and write EDIFACT other than Smooks?
From a handy book on the subject... (http://books.google.co.uk/books?id=rDbRS6vEG0MC&pg=PA222&lpg=PA222&dq=EDIFACT+bnf&source=bl&ots=pfFYf4nsVv&sig=JXY5HPo7Ka02ji35fjW8R8wFBX8&hl=en&sa=X&ei=05ozT6K5NMO80QWa-ZSLAg&ved=0CGEQ6AEwCA#v=onepage&q=EDIFACT%20bnf&f=false) we have the following section...
, which appears to suggest that it's not a good idea - although depending on what you require you can certainly write one, I would personally find Antlr an easier tool to use (I'm currently writing a lab for Xtext and it's a less forgiving learning curve), but your milage may vary...
I tried this approach (using ANTLR) when I developed bots open source edi translator (http://bots.sourceforge.net).
This looked like a good approach, but I did not succeed.
My conclusion was that 'parsing' by ANTLR is something very different than 'parsing' an edi-file; the words/concepts sound the same but these are really different worlds.
If you are looking for 'grammars'(that is: descriptions of edifact and x12 messages) these can be found in the downloads of the sourceforge page.

Eclipse Plugin for internationalization i18n testing [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I was wondering if any of you knew of eclipse plugins that scan your code for internationalization issues? Things like embedded strings or locale-sensitive methods.
I looked on google and there were alot of articles on HOW to internationalize an eclipse plugin but none that support it.
Thanks in advance!
I believe internationalization is a complex issue, and every language/framework/you-name-it which deals with i18n does it differently. So, my guess is there is no such plugin, and will not be in the near future.
The only plugin I found is Eclipse I18N Properties File Editor which addresses a specific file type, but chances are you don't need this one in particular.
The closest you can get in Java is with the help of below tools
getext-commons - it can help you in Easy extraction of user visible strings etc
JRC Editor - it can help you in managing resource bundles. For e.g. it can tell you if a given key has translation missing for any supported locale of your application
Although this is an old question, thought to share TapiJI as a good option in case someone is still searching
https://code.google.com/a/eclipselabs.org/p/tapiji/

Maintaining multiple forms of user guide for a Java application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I have a user guide for my application that I would like to provide both an HTML verson and a PDF version (and possible some other indexed version for a Java help). Are there any tools, preferably for maven that I could integrate into my build cycle that will convert from HTML to PDF? Currently I have a word doc format that I manually convert to PDF (and no HTML version available), which is prone to errors and really just a pain.
Well, after a short search, I went on http://www.xhtml2pdf.com/ and if you have your HTML, it does the trick.
However, I prefer using a wiki for documentation. It has all advantages, since it can be edited in parallel, in multiple languages, and a lot of them have both static HTML export and PDF export.
I should recommend you Dokuwiki (and you can find your plugins at http://www.dokuwiki.org/plugins) because it's really easy to install and administrate, but you can also use any other one that have PDF and HTML export.
You might use a tool like DocBook and write the documentation in a scripting language (XML in their case). Then use the tool to transform the source to the target formats, e.g. HTML and PDF.

Desktop application help framework [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Consider the requirements for embedding help in a Java desktop application (or applet):
Single source for content (such as AsciiDoc) to generate high quality PDF manuals1
Hooks for context-sensitive help
Robust, simple, and well documented API (under an hour to learn)
Small footprint (a sub-100K Java archive)2
Integrate as a docked MDI-style window, or a separate window
Free open source software
Google says:
JavaHelp
Java Programming Help
Help Authoring Tools
Which of these, or any others, would you recommend?
1Storing the content in AsciiDoc format would be ideal, so long as conversion is trivial.
2Up to 500kb.
Have a look at DocBook - last time I looked it could generate PDF, HTML and JavaHelp from files written in DocBook XML .
A crash course is available at: http://opensource.bureau-cornavin.com/crash-course/
Definitely Asciidoc, or its more recent cousin AsciiDoctor.

Categories