Changes between Version 5 and Version 6 of ExcelXlstViewerPlugin
- Timestamp:
- Nov 26, 2015, 10:49:32 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ExcelXlstViewerPlugin
v5 v6 5 5 == Description 6 6 7 This hack allows uploaded Excel files on the Wiki or in tickets to be viewed in the web browser as a simple HTML table. It allows everybody to easily view the files without downloading and saving the Excel files and without even requiring Microsoft Excel. It is derived from the ExcelViewerPlugin hack, but depends upon the openpyxl library (easy_install xlrd). After installing add the following to the ''mime_map'' property in your `trac.ini` file to tell Trac which types of file work with the plugin: 8 9 {{{#!sh 10 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:xlsx,application/vnd.ms-excel.sheet.macroEnabled.12:xlsm 11 }}} 7 This hack allows uploaded Excel files on the Wiki or in tickets to be viewed in the web browser as a HTML table. It allows everybody to easily view the files without downloading and saving the Excel files and without even requiring Microsoft Excel. It is derived from the ExcelViewerPlugin hack, but depends upon the openpyxl library. 12 8 13 9 == Bugs/Feature Requests … … 17 13 18 14 If you have any issues, create a 19 [ http://trac-hacks.org/newticket?component=ExcelXlstViewerPlugin&owner=danrollsnew ticket].15 [/newticket?component=ExcelXlstViewerPlugin new ticket]. 20 16 21 17 [[TicketQuery(component=ExcelXlstViewerPlugin&group=type,format=progress)]] … … 23 19 == Download 24 20 25 Download the zipped source from [ download:excelxlstviewerplugin here].21 Download the zipped source from [export:excelxlstviewerplugin here]. 26 22 27 23 == Source 28 24 29 You can check out ExcelXlstViewerPlugin from [http://trac-hacks.org/svn/excelxlstviewerplugin here] using Subversion, or [source:excelxlstviewerplugin browse the source] with Trac. 25 You can check out ExcelXlstViewerPlugin from [/svn/excelxlstviewerplugin here] using Subversion, or [source:excelxlstviewerplugin browse the source] with Trac. 26 27 == Installation 28 29 First install the openpyxl library: `easy_install xlrd`. 30 31 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 32 33 After installing add the following to the ''mime_map'' property in your `trac.ini` file to tell Trac which types of file work with the plugin: 34 35 {{{#!sh 36 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:xlsx,application/vnd.ms-excel.sheet.macroEnabled.12:xlsm 37 }}} 30 38 31 39 == Example