GnumericToExcel.php
authorAlan Knowles <alan@roojs.com>
Fri, 5 Jun 2020 06:13:09 +0000 (14:13 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 5 Jun 2020 06:13:09 +0000 (14:13 +0800)
GnumericToExcel.php

index 244ed1f..a7d869a 100644 (file)
@@ -105,6 +105,7 @@ class Pman_Core_GnumericToExcel extends Pman
             die("ERROR CONVERTING?:" . $cmd ."\n<BR><BR> OUTPUT:". htmlspecialchars($out));
         }
         if (!empty($_POST['format']) && $_POST['format']=='xlsx') {
+            require_once 'File/Convert.php';
             $cc = new File_Convert($targetTmp,'application/vnd.ms-excel');
             $targetTmp = $cc->convert('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
         }