Project

General

Profile

Actions

Feature #4922

closed

Excel Import via PHP

Added by Carsten Rose over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Elias Villiger
Target version:
Start date:
11.11.2017
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
Vote:

Description

  • Der Excel Import soll via PHP implementiert werdne.
  • Im Upload Dialog soll es moeglich sein bei einem Excel Import direkt einen Tab und eine Import region anzugeben.

PHP Excel
https://github.com/PHPOffice/PHPExcel
https://github.com/nuovo/spreadsheet-reader
https://code.google.com/archive/p/php-excel-reader/
https://stackoverflow.com/questions/11447918/php-import-excel-into-database-xls-xlsx
• Nach dem Import wird das excel sofort wieder geloescht.
https://github.com/PHPOffice/PhpSpreadsheet

Importfeatures

  • es wird alles importiert, ohne region
  • es werden die gnannten Tabs importiert, falls nichts angeegben ist tab=1
  • mariadb.spaltenamen=excel.spaltenname (A,B,...)
  • Falls zieltabelle nciht existier, wird sie erzeugt.
  • FE.parameter
    importType = auto | xls | xlsx | odt | csv |
    importMode = append | replace | replaceByIndex
    importIndexColumn = id (default)| ...
    importRegion = [tab[,[startColumn],[startRow],[endColumn],[endRow]]]
    importToTable = <mariadb.tablename>
    importToColumn = <col1>,<col2>,<col3>,...
    

Related issues

Related to QFQ - Support #7103: Notes to Excel ExportClosed27.10.2018

Actions
Actions

Also available in: Atom PDF