Results 1 to 3 of 3
  1. #1
    bcshassan is offline Member
    Join Date
    May 2014
    Posts
    1
    Rep Power
    0

    Default Combining multiple uploaded documents into one report

    Hi, I have developed an application using Java JSP and PostgreSQL database which inputs data from users including multiple file uploads in different formats (MS Word, Excel, PDF etc.). The uploaded files are also stored in the database.

    My client wants the software to print a report in PDF format which includes all user data entered (in a defined format) along with all the uploaded documents as appendices.

    Can you please help how the system can include all uploaded files into one PDF report?

    Many thanks in advance!

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,225
    Rep Power
    20

    Default Re: Combining multiple uploaded documents into one report

    I suspect that all depends on what PDF framework you're using.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    sehudson's Avatar
    sehudson is offline Senior Member
    Join Date
    Mar 2010
    Posts
    364
    Rep Power
    5

    Default Re: Combining multiple uploaded documents into one report

    Do you already have a framework for creating the PDF's based on user input?
    If not, you may want to look into Jasper Reports.
    It's fairly straightforward, and gives you the option of outputting the reports as a PDF.
    You essentially use a program called iReport for building the report templates, and end up with a compiled .jasper file.
    You basically end up mapping report parameters to different values (in this case, they would come from the form).
    I don't believe there is a way to combine or attach external documents to the generated PDF, but you may be able to use a tool like JODReports or jWordConvert to get the word documents into PDF format, and then use PDFMerger to merge the PDF created by Jasper and the word documents that you've converted to PDF.

    Some other users may have some ideas as well.

Similar Threads

  1. Printing Multiple page Documents to A4
    By joelBeaton in forum AWT / Swing
    Replies: 1
    Last Post: 07-25-2012, 10:10 PM
  2. Combining multiple ints to 2 bytes.
    By gonzalioz in forum Advanced Java
    Replies: 3
    Last Post: 05-12-2011, 04:12 PM
  3. how to specify location of file to be uploaded?
    By anthrax in forum New To Java
    Replies: 11
    Last Post: 01-13-2010, 03:48 PM
  4. uploaded image not shown
    By java_srinivasan in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-05-2008, 01:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •