Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Report in another format (like Word or Excel)

  1. #1
    Join Date
    Mar 2003
    Posts
    4,947

    Default Report in another format (like Word or Excel)

    Hi

    when a report is drawn in servlet application, then is it possible to export it to another format (like Word or Excel)

    Quick response is highly appreciated

    Regards
    Aanand Vithalani

  2. #2
    Join Date
    Mar 2003
    Posts
    8,085

    Default

    Hi,

    export to excel is implemented using Apache POI, Word is not implemented until the Apache project has releases a stable writer for that.

    Of course, you can export to HTML and load the result in word, the result should be the same.

    Which export is done is to be implemented by the servlet, by choosing the right report processor for that task.

    We have no demos for generating excel files from servlets, but it should not be difficult to modify one of the servlets. I would suggest, you use the HtmlServlet as starting point, as the HtmlProcessor and the ExcelProcessor are table export targets.

    Have more fun,
    said Thomas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.