[ http://jira.codehaus.org/browse/DISPL-245?page=comments#action_81641 ] mark commented on DISPL-245: ----------------------------
http://www.comedysportzla.com/mb1/board1/1186.shtml - http://www.comedysportzla.com/mb1/board1/1187.shtml - http://www.comedysportzla.com/mb1/board1/1188.shtml - http://www.comedysportzla.com/mb1/board1/1189.shtml - http://www.comedysportzla.com/mb1/board1/1190.shtml - http://www.comedysportzla.com/mb1/board1/1191.shtml - http://www.comedysportzla.com/mb1/board1/1192.shtml - http://www.comedysportzla.com/mb1/board1/1193.shtml - http://www.comedysportzla.com/mb1/board1/1194.shtml - http://www.comedysportzla.com/mb1/board1/1195.shtml - http://www.comedysportzla.com/mb1/board1/1196.shtml - http://www.comedysportzla.com/mb1/board1/1197.shtml - http://www.comedysportzla.com/mb1/board1/1198.shtml - http://www.comedysportzla.com/mb1/board1/1199.shtml - http://www.comedysportzla.com/mb1/board1/1200.shtml - http://www.comedysportzla.com/mb1/board1/1201.shtml - http://www.comedysportzla.com/mb1/board1/1202.shtml - http://www.comedysportzla.com/mb1/board1/1203.shtml - http://www.comedysportzla.com/mb1/board1/1204.shtml - http://www.comedysportzla.com/mb1/board1/1205.shtml - http://www.comedysportzla.com/mb1/board1/1206.shtml - http://www.comedysportzla.com/mb1/board1/1207.shtml - http://www.comedysportzla.com/mb1/board1/1208.shtml - http://www.comedysportzla.com/mb1/board1/1209.shtml - http://www.comedysportzla.com/mb1/board1/1210.shtml - http://www.comedysportzla.com/mb1/board1/1211.shtml - http://www.comedysportzla.com/mb1/board1/1212.shtml - http://www.comedysportzla.com/mb1/board1/1213.shtml - http://www.comedysportzla.com/mb1/board1/1214.shtml - http://www.comedysportzla.com/mb1/board1/1215.shtml - http://www.comedysportzla.com/mb1/board1/1216.shtml - http://www.comedysportzla.com/mb1/board1/1217.shtml - http://www.comedysportzla.com/mb1/board1/1218.shtml - http://www.comedysportzla.com/mb1/board1/1219.shtml - http://www.comedysportzla.com/mb1/board1/1220.shtml - http://www.comedysportzla.com/mb1/board1/1221.shtml - http://www.comedysportzla.com/mb1/board1/1222.shtml - http://www.comedysportzla.com/mb1/board1/1223.shtml - http://www.comedysportzla.com/mb1/board1/1224.shtml - http://www.comedysportzla.com/mb1/board1/1225.shtml - http://www.comedysportzla.com/mb1/board1/1226.shtml - http://www.comedysportzla.com/mb1/board1/1227.shtml - http://www.comedysportzla.com/mb1/board1/1228.shtml - http://www.comedysportzla.com/mb1/board1/1229.shtml - http://www.comedysportzla.com/mb1/board1/1230.shtml - http://www.comedysportzla.com/mb1/board1/1231.shtml - http://www.comedysportzla.com/mb1/board1/1232.shtml - http://www.comedysportzla.com/mb1/board1/1233.shtml - http://www.comedysportzla.com/mb1/board1/1234.shtml - http://www.comedysportzla.com/mb1/board1/1235.shtml - http://www.comedysportzla.com/mb1/board1/1236.shtml - http://www.comedysportzla.com/mb1/board1/1237.shtml - http://www.comedysportzla.com/mb1/board1/1238.shtml - http://www.comedysportzla.com/mb1/board1/1239.shtml - http://www.comedysportzla.com/mb1/board1/1240.shtml - http://www.comedysportzla.com/mb1/board1/1241.shtml - http://www.comedysportzla.com/mb1/board1/1242.shtml - http://www.comedysportzla.com/mb1/board1/1243.shtml - http://www.comedysportzla.com/mb1/board1/1244.shtml - http://www.comedysportzla.com/mb1/board1/1245.shtml - http://www.comedysportzla.com/mb1/board1/1246.shtml - http://www.comedysportzla.com/mb1/board1/1247.shtml - http://www.comedysportzla.com/mb1/board1/1248.shtml - http://www.comedysportzla.com/mb1/board1/1249.shtml - http://www.comedysportzla.com/mb1/board1/1250.shtml - http://www.comedysportzla.com/mb1/board1/1251.shtml - http://www.comedysportzla.com/mb1/board1/1252.shtml - http://www.comedysportzla.com/mb1/board1/1253.shtml - http://www.comedysportzla.com/mb1/board1/1254.shtml - http://www.comedysportzla.com/mb1/board1/1255.shtml - http://www.comedysportzla.com/mb1/board1/1256.shtml - http://www.comedysportzla.com/mb1/board1/1257.shtml - http://www.comedysportzla.com/mb1/board1/1258.shtml - http://www.comedysportzla.com/mb1/board1/1259.shtml - http://www.comedysportzla.com/mb1/board1/1260.shtml - http://www.comedysportzla.com/mb1/board1/1261.shtml - http://www.comedysportzla.com/mb1/board1/1262.shtml - http://www.comedysportzla.com/mb1/board1/1263.shtml - http://www.comedysportzla.com/mb1/board1/1264.shtml - http://www.comedysportzla.com/mb1/board1/1265.shtml - http://www.comedysportzla.com/mb1/board1/1266.shtml - http://www.comedysportzla.com/mb1/board1/1267.shtml - http://www.comedysportzla.com/mb1/board1/1268.shtml - http://www.comedysportzla.com/mb1/board1/1269.shtml - http://www.comedysportzla.com/mb1/board1/1270.shtml - http://www.comedysportzla.com/mb1/board1/1271.shtml - http://www.comedysportzla.com/mb1/board1/1272.shtml - http://www.comedysportzla.com/mb1/board1/1273.shtml - http://www.comedysportzla.com/mb1/board1/1274.shtml - http://www.comedysportzla.com/mb1/board1/1275.shtml - http://www.comedysportzla.com/mb1/board1/1276.shtml - http://www.comedysportzla.com/mb1/board1/1277.shtml - http://www.comedysportzla.com/mb1/board1/1278.shtml - http://www.comedysportzla.com/mb1/board1/1279.shtml - http://www.comedysportzla.com/mb1/board1/1280.shtml - http://www.comedysportzla.com/mb1/board1/1281.shtml - > WYSIWYG Exports > --------------- > > Key: DISPL-245 > URL: http://jira.codehaus.org/browse/DISPL-245 > Project: DisplayTag > Issue Type: Improvement > Components: HTML Generation, Export > Affects Versions: 1.1 > Fix For: 1.1 > > Attachments: displaytagExamplePatch.txt, > displaytagExportPoiPatch.txt, displaytagPatch.txt, ico_file_rtf.png > > > Request for enhancements of the export facility > 1. The default exporters should render the table as close as possible > to the rendered HTML. When typical business users are presented with the > displaytag export facility, they usually expect the exported Excel or PDF > to > look just like the HTML in their browser; they expect a WYSIWYG rendering. > 2. The export API should encourage reuse of the table-rendering logic > employed to render the table in a JSP. For instance, to render the > grouping > in my PDF export just as it appears in the HTML, I would have had to > re-implement TableTag.groupColumns(). Also, any future changes to the > table rendering would not be included in my PDF export. So, this looked > like a job for the Template Method pattern, which also applies nicely to > the > decorators, to ensure that the HTML and default export > renderings will be in synch. > 3. Include caption in export. > 4. Include footer in export. > 5. Export in RTF format. > The attached patch implements the above enhancements. > <a > href="http://www.jamesgood.com:8080/displaytag-examples-1.1-SNAPSHOT/example-new-export.jsp"> > Here's a live example and a more detailed explanation.</a> > Following are potential additional export enhacements I'm working on. > 1. Use css table styles as style configuration for Excel, PDF, and RTF > exports. > If not practical, provide export style config properties. > 2. Specify Excel formats for columns, e.g., ##.##. > 3. Include smart linking in Excel, PDF, and RTF exports. > 4. Export just the current page, a page range, or all data, especially if > paging is used. > The ui may look like this: > Export options: Excel | PDF | RTF | From: [1] To: [1] (default to this > page) > Export options: Excel | PDF | RTF | From: [1] To: [max] (default to all) > Defaults to exporting what's on the page currently. Default would be > configurable through property. > 6. Set the column width to the max column string value width. > 7. Exporters should support nested tables. > 8. Implement font styles in RTF export, e.g., bold face. > 9. Export in MS Word format using POI. > Related Jira issues: > <ol> > <li>http://jira.codehaus.org/browse/DISPL-194 > <li>http://jira.codehaus.org/browse/DISPL-123 > </ol> > Unit Tests: > The main code change this patch supplies is a refactoring of the > table-rendering > code. As such, the relevant unit test are the existing tests, > <a > href="http://www.jamesgood.com:8080/displaytag-examples-1.1-SNAPSHOT/docs/multiproject/displaytag/junit-report.html"> > all of which succeeded.</a> > -Jorge -- 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel