Feature #2163

RCP: X.X, Standardize export mechanism

Added by Sebastien Jacquot about 2 years ago. Updated 3 months ago.

Status:New Start date:07/04/2013
Priority:High Due date:
Assignee:- % Done:

0%

Category:Export Spent time: -
Target version:TXM 0.8.1

Description

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
      • problem here is that some results are sorted or filtered in the result data itself but some others are not modified, only the view is modified. It's not uniform.

Old note:

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


Subtasks

Feature #1491: RCP: X.X, CAH data exportNew

Feature #1492: RCP: X.X, CA data exportNew

Feature #1162: RCP: X.X, use the same CSV format for all export/import o...New

Feature #198: export similar to result view as concerns content and formatNew

History

#1 Updated by Sebastien Jacquot about 2 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot about 2 years ago

  • Description updated (diff)

#3 Updated by Sebastien Jacquot about 2 years ago

  • Description updated (diff)

#4 Updated by Sebastien Jacquot about 1 year ago

  • Description updated (diff)

#5 Updated by Sebastien Jacquot about 1 year ago

  • Description updated (diff)

#6 Updated by Sebastien Jacquot about 1 year ago

  • Description updated (diff)

#7 Updated by Sebastien Jacquot 12 months ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#8 Updated by Sebastien Jacquot 3 months ago

  • Target version changed from TXM 0.8.0 to TXM 0.8.1

#9 Updated by Matthieu Decorde 3 months ago

  • Subject changed from Standardize export mechanism to RCP: X.X, Standardize export mechanism
  • Description updated (diff)

Also available in: Atom PDF