Skip to Content
author's profile photo Former Member
Former Member

xlsx support in reportcockpit?

Is it possible to export to xlsx in the reportcockpit? I know about xls and pdf but what about xlsx. Is there a possibility for xlsx export?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2015 at 11:12 PM

    If you look at cockpitserver.jar, class EditorArea2XLSExporter with JD/JD-GUI you will find that the export uses JRXlsExporter. There is a JRXlsxExporter as well:

    http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/export/ooxml/JRXlsxExporter.html

    So you could create your own EditorArea2XLSExporter using that class, in addition to or instead of the XLS one in the spring configuration.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.