PHP Classes

how?

Recommend this page to a friend!

      eiseXLSX  >  All threads  >  how?  >  (Un) Subscribe thread alerts  
Subject:how?
Summary:does it work
Messages:25
Author:synthetron
Date:2014-04-25 13:37:41
Update:2014-05-21 07:42:14
 
  1 - 10   11 - 20   21 - 25  

  11. Re: how?   Reply   Report abuse  
Picture of Jaime Sanchez Jaime Sanchez - 2014-05-16 17:20:25 - In reply to message 9 from synthetron
maybe, file permissions???

  12. Re: how?   Reply   Report abuse  
Picture of synthetron synthetron - 2014-05-16 17:49:59 - In reply to message 10 from synthetron
found at last

in the templates/empty folder you mis


[Content_Types].xml file



  13. Re: how?   Reply   Report abuse  
Picture of synthetron synthetron - 2014-05-16 17:53:05 - In reply to message 12 from synthetron
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="bin" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings"/><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Default Extension="vml" ContentType="application/vnd.openxmlformats-officedocument.vmlDrawing"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet2.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet3.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet4.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet5.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet6.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet7.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet8.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet9.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet10.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet11.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet12.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet13.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet14.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet15.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet16.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/pivotCache/pivotCacheDefinition1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml"/><Override PartName="/xl/pivotCache/pivotCacheRecords1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml"/><Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/><Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/><Override PartName="/xl/comments1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"/><Override PartName="/xl/comments2.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"/><Override PartName="/xl/comments3.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"/><Override PartName="/xl/pivotTables/pivotTable1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml"/><Override PartName="/xl/comments4.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"/><Override PartName="/xl/calcChain.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>

  14. Re: how?   Reply   Report abuse  
Picture of synthetron synthetron - 2014-05-16 17:54:29 - In reply to message 13 from synthetron
correct syntax

include_once "eiseXLSX.php";

$xlsx = new eiseXLSX("templates/empty");

$xlsx->data('R15C10', 'Hello, world!'); // either A1 or R1C1 are accepted

$xlsx->Output("myfile.xlsx", "F"); // save the file

  15. Re: how?   Reply   Report abuse  
Picture of Jaime Sanchez Jaime Sanchez - 2014-05-17 02:40:44 - In reply to message 14 from synthetron
Excellent work!!

Thank you synthetron.... it works!!

  16. Re: how?   Reply   Report abuse  
Picture of Ilya Eliseev Ilya Eliseev - 2014-05-17 09:18:26 - In reply to message 10 from synthetron
> $xlsx = new eiseXLSX("templates");
I suggest you to download whole pack from GitHub: http://github.com/easyise/eiseXLSX/

PHPClasses 'templates' folder package is corrupted because some file formats are not supported by this site.

Regards,
-Ilya

  17. Re: how?   Reply   Report abuse  
Picture of synthetron synthetron - 2014-05-19 07:12:40 - In reply to message 16 from Ilya Eliseev
did u replace split by explode function?

  18. Re: how?   Reply   Report abuse  
Picture of synthetron synthetron - 2014-05-19 07:22:48 - In reply to message 17 from synthetron
just checked


still split function

and missing content types xml in zip file

  19. Re: how?   Reply   Report abuse  
Picture of synthetron synthetron - 2014-05-19 07:24:54 - In reply to message 18 from synthetron
u forgot the second split


// get directory path of rel file
$relFileDirectory = preg_replace("/(_rels)$/", "", dirname($relFilePath));
$arrPath = explode("/", rtrim($relFileDirectory, "/"));

// calculate path to target file
$arrTargetPath = split("/", ltrim($targetPath, "/"));

  20. Re: how?   Reply   Report abuse  
Picture of Ilya Eliseev Ilya Eliseev - 2014-05-19 12:25:31 - In reply to message 19 from synthetron
Ooops sorry :) second split() fixed.

Regarding missong file - PHPClasses doesn't support it so I suggest to download package from the GitHub: http://github.com/easyise/eiseXLSX

 
  1 - 10   11 - 20   21 - 25