Feature #4922
Updated by Elias Villiger almost 6 years ago
* 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 h2. 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 <pre> importType = auto | xls | xlsx | odt | csv | importMode = append | replace | replaceByIndex importIndexColumn = id (default)| ... importRegion = [tab[,[startColumn],[startRow],[endColumn],[endRow]]] [tab[,[startColumn],[starRow],[endColumn],[endRow]]]|... importToTable = <mariadb.tablename> importToColumn = <col1>,<col2>,<col3>,... </pre>