Changes between Version 5 and Version 6 of ExcelXlstViewerPlugin


Ignore:
Timestamp:
Nov 26, 2015, 10:49:32 AM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • ExcelXlstViewerPlugin

    v5 v6  
    55== Description
    66
    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 }}}
     7This 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.
    128
    139== Bugs/Feature Requests
     
    1713
    1814If you have any issues, create a
    19 [http://trac-hacks.org/newticket?component=ExcelXlstViewerPlugin&owner=danrolls new ticket].
     15[/newticket?component=ExcelXlstViewerPlugin new ticket].
    2016
    2117[[TicketQuery(component=ExcelXlstViewerPlugin&group=type,format=progress)]]
     
    2319== Download
    2420
    25 Download the zipped source from [download:excelxlstviewerplugin here].
     21Download the zipped source from [export:excelxlstviewerplugin here].
    2622
    2723== Source
    2824
    29 You can check out ExcelXlstViewerPlugin from [http://trac-hacks.org/svn/excelxlstviewerplugin here] using Subversion, or [source:excelxlstviewerplugin browse the source] with Trac.
     25You can check out ExcelXlstViewerPlugin from [/svn/excelxlstviewerplugin here] using Subversion, or [source:excelxlstviewerplugin browse the source] with Trac.
     26
     27== Installation
     28
     29First install the openpyxl library: `easy_install xlrd`.
     30
     31General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
     32
     33After 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
     36application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:xlsx,application/vnd.ms-excel.sheet.macroEnabled.12:xlsm
     37}}}
    3038
    3139== Example