Feature #2163
Mis à jour par Sebastien Jacquot il y a plus de 7 ans
h3. Solution first proposals
*Core*
* create an extension point as org.txm.core.results.exporter with attributes:
** String resultClass => TXMResult runtime class name that the exporter support, eg. org.txm.concordance.results.Concordance
** String outputFormat => CSV, TXT, etc. (like for the extensions SWT Chart Components and Chart Creator )
** lazy check the installed contributions for the selected result (resultClass) in the export dialog box and add the output/file formats to combo box
* each core plug-in will define their own exporters (or not)
*UI*
* create a TXMResultTableEditor
** mutualise somme code as the viewer, the table creation, the navigation/pagination widget, etc. in __createPartControl()
** look at the SWTChartsComponentProvider and its view export mechanism and see if it can be ported
** the table must be exported "as is" (sorted or not, filtered or not, etc.)
*** Note: see how to manage the paginated results export
Old note:
<pre>
h3. Solution
Add ODS (Calc), XLSX (Excel) and TSV formats to the "data" export commands:
* ODS is easy to produce with odftoolit <https://incubator.apache.org/odftoolkit/mvn-site/0.8-incubating/simple-odf/apidocs/index.html>
* other jars are available for Excel
* TSV can be generated by current code or by another jar
</pre>
*Core*
* create an extension point as org.txm.core.results.exporter with attributes:
** String resultClass => TXMResult runtime class name that the exporter support, eg. org.txm.concordance.results.Concordance
** String outputFormat => CSV, TXT, etc. (like for the extensions SWT Chart Components and Chart Creator )
** lazy check the installed contributions for the selected result (resultClass) in the export dialog box and add the output/file formats to combo box
* each core plug-in will define their own exporters (or not)
*UI*
* create a TXMResultTableEditor
** mutualise somme code as the viewer, the table creation, the navigation/pagination widget, etc. in __createPartControl()
** look at the SWTChartsComponentProvider and its view export mechanism and see if it can be ported
** the table must be exported "as is" (sorted or not, filtered or not, etc.)
*** Note: see how to manage the paginated results export
Old note:
<pre>
h3. Solution
Add ODS (Calc), XLSX (Excel) and TSV formats to the "data" export commands:
* ODS is easy to produce with odftoolit <https://incubator.apache.org/odftoolkit/mvn-site/0.8-incubating/simple-odf/apidocs/index.html>
* other jars are available for Excel
* TSV can be generated by current code or by another jar
</pre>