[ 
http://jira.codehaus.org/browse/DISPL-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_112046
 ] 

Maciej Wegorkiewicz commented on DISPL-466:
-------------------------------------------

I modified the sources and implemented the funcionality. Please someone review 
and give feedback or integrate into the library.

All modified sources I attached in this ticket.

The funtion works like this:

1. You add template in the form of normal XLS file into the jar/war of your 
application (so the class can load it by Class.getResourceAsStream)
2. On JSP page you add link to the template in tag in the form like this:
<display:table (...) export="true" excelTemplate="/template.xls" startRow="0" 
startColumn="0">
3. Here we are! The data would be shown onto template.xls provided - with 
colors, font formating etc.

startRow/startColumn still does not work - I will implement after these changes 
are agreed with the team.

> Allow usage of Excel templates in Excel export
> ----------------------------------------------
>
>                 Key: DISPL-466
>                 URL: http://jira.codehaus.org/browse/DISPL-466
>             Project: DisplayTag
>          Issue Type: New Feature
>          Components: Export
>            Reporter: Maciej Wegorkiewicz
>         Attachments: DISPL-466-v1.zip
>
>
> Displaytag should allow to use XLT files (Excel templates) in Excel export.
> I found some info of it in this mailing list thread:
> http://www.mail-archive.com/displaytag-devel@lists.sourceforge.net/msg03072.html
> But did not find that that was realized nor any JIRA issue for this, so I am 
> creating to let know that this function is needed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to