<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>PHPExcel Forum Rss Feed</title><link>http://www.codeplex.com/PHPExcel/Project/ListForums.aspx</link><description>PHPExcel Forum Rss Description</description><item><title>New Post: How to create Excel file from a modified array returned by getSheet-&gt;toArray?</title><link>http://phpexcel.codeplex.com/discussions/444761</link><description>&lt;div style="line-height: normal;"&gt;Why copy the file you've loaded to an array? Why not modify that worksheet with your 'Modified' or 'Error parsing!' annotations and then save it (using a different filename if you want to create a modified copy)&lt;br /&gt;
&lt;/div&gt;</description><author>MarkBaker</author><pubDate>Fri, 24 May 2013 20:49:16 GMT</pubDate><guid isPermaLink="false">New Post: How to create Excel file from a modified array returned by getSheet-&gt;toArray? 20130524084916P</guid></item><item><title>New Post: Cannot create 25 column by 50,000 row spreadsheet.</title><link>http://phpexcel.codeplex.com/discussions/444925</link><description>&lt;div style="line-height: normal;"&gt;It's possible, and while caching still uses some memory to maintain an index of the caching file (only SQLite doesn't maintain any form of in-memory index). 1GB seems excessive though if you're using disk caching... good luck finding any library that will handle it if PHPExcel can't when caching is being used... with the exception of commercial libraries such as libXL, all other PHP libraries work purely in memory. My normal estimate is about 1k/cell (depending on content) when maintained fully in memory (1.6k/cell if using 64-bit PHP), with caching reducing that while adding a performance overhead. Styling information isn't cached, so that is still maintained fully in memory, so using a lot of individual styles is an overhead: setting styles for a range of cells rather than for each individual cell reduces this memory overhead.&lt;br /&gt;
If you're building an array from your database, it would be more efficient to write it directly to PHPExcel rather than build the array and then write that to PHPExcel.&lt;br /&gt;
&lt;/div&gt;</description><author>MarkBaker</author><pubDate>Fri, 24 May 2013 20:45:18 GMT</pubDate><guid isPermaLink="false">New Post: Cannot create 25 column by 50,000 row spreadsheet. 20130524084518P</guid></item><item><title>New Post: Can PHPExcel be very slow at times? What factors contribute to its slowness?</title><link>http://phpexcel.codeplex.com/discussions/444923</link><description>&lt;div style="line-height: normal;"&gt;PHPExcel isn't fast, but it shouldn't take over 30 minutes to load a spreadsheet of that size.... my own performance tests are run against spreadsheets several times that size loading in less than a minute, so clearly there is something very wrong here. If possible, can you upload a sample spreadsheet so that I can try and identify what is going wrong.&lt;br /&gt;
&lt;/div&gt;</description><author>MarkBaker</author><pubDate>Fri, 24 May 2013 20:35:10 GMT</pubDate><guid isPermaLink="false">New Post: Can PHPExcel be very slow at times? What factors contribute to its slowness? 20130524083510P</guid></item><item><title>New Post: Cannot create 25 column by 50,000 row spreadsheet.</title><link>http://phpexcel.codeplex.com/discussions/444925</link><description>&lt;div style="line-height: normal;"&gt;I am trying to create a spreadsheet using PHP Excel 1.7.8 on PHP 4.0 running on Windows 7 (IIS 7.5) that is 25 columns wide and 50,000 rows long but am getting a memory error.&lt;br /&gt;
&lt;br /&gt;
I tried increasing my memory to 1GB but I am  still running out of memory before it can be fully executed. I have cache set up using the following&lt;br /&gt;
&lt;blockquote&gt;
&lt;pre&gt;&lt;code&gt;$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_discISAM;
$cacheSettings = array('dir' =&amp;gt; '/usr/local/tmp');
PHPExcel_Settings::setCacheStorageMethod($cacheMethod, $cacheSettings);
&lt;/code&gt;&lt;/pre&gt;

&lt;/blockquote&gt;
Is it possible to create a spreadsheet this large using PHPExcel, or do I need to look into another library? Without loading PHPExcel or outputting any data to the server my script (which gets the required data from a database) uses 235,800 bytes of memory.&lt;br /&gt;
&lt;/div&gt;</description><author>Jeremy1026</author><pubDate>Fri, 24 May 2013 19:01:21 GMT</pubDate><guid isPermaLink="false">New Post: Cannot create 25 column by 50,000 row spreadsheet. 20130524070121P</guid></item><item><title>New Post: Can PHPExcel be very slow at times? What factors contribute to its slowness?</title><link>http://phpexcel.codeplex.com/discussions/444923</link><description>&lt;div style="line-height: normal;"&gt;I'm using PHPExcel 1.7.8 on PHP 5.4.14 on Windows 7 (dev environment). I'm trying to import a semi-large spreadsheet (about 609KB). It has 750 rows and the columns go to BW. All I'm doing is reading data from an Excel 2007 spreadsheet. I've executed my script a number of times and discovered it takes a very long time for PHPExcel to load/read the spreadsheet. This last time I ran it, I timed it. It took 32 minutes. I need to loop through multiple rows, but I'm only going through a single row at the moment. Is it typical for it to take this long? It just seems too long to be normal.&lt;br /&gt;
&lt;/div&gt;</description><author>thoughtreactor</author><pubDate>Fri, 24 May 2013 18:47:14 GMT</pubDate><guid isPermaLink="false">New Post: Can PHPExcel be very slow at times? What factors contribute to its slowness? 20130524064714P</guid></item><item><title>New Post: How to create Excel file from a modified array returned by getSheet-&gt;toArray?</title><link>http://phpexcel.codeplex.com/discussions/444761</link><description>&lt;div style="line-height: normal;"&gt;Why twice the memory? When the sheet is copied to your array, &amp;quot;close&amp;quot; (doc.: 4.3) the workbook - that will free the memory - and create a new workbook in which you put the items you want (possibly with fromArray if appropriate).&lt;br /&gt;
&lt;/div&gt;</description><author>LWol</author><pubDate>Fri, 24 May 2013 11:35:46 GMT</pubDate><guid isPermaLink="false">New Post: How to create Excel file from a modified array returned by getSheet-&gt;toArray? 20130524113546A</guid></item><item><title>New Post: setComments</title><link>http://phpexcel.codeplex.com/discussions/443969</link><description>&lt;div style="line-height: normal;"&gt;setVisible(true) on each comment.&lt;br /&gt;
&lt;/div&gt;</description><author>LWol</author><pubDate>Fri, 24 May 2013 11:02:57 GMT</pubDate><guid isPermaLink="false">New Post: setComments 20130524110257A</guid></item><item><title>New Post: SCATTER CHART</title><link>http://phpexcel.codeplex.com/discussions/444551</link><description>&lt;div style="line-height: normal;"&gt;Hello!&lt;br /&gt;
&lt;br /&gt;
Don't mind my previous question I figured it out how to do it already but I have another question, if it possible to assign the same legend to all series?&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;/div&gt;</description><author>almaclairedizon</author><pubDate>Fri, 24 May 2013 05:56:28 GMT</pubDate><guid isPermaLink="false">New Post: SCATTER CHART 20130524055628A</guid></item><item><title>New Post: My Existing Conditional Formatting Rules set by Excel are Lost after using objWriter-&gt;PHPEXCEL-save?</title><link>http://phpexcel.codeplex.com/discussions/353427</link><description>&lt;div style="line-height: normal;"&gt;exact same problem.&lt;br /&gt;
&lt;br /&gt;
What I'm trying to do is opening a xls with the template that I need, fill it with database info and then export it. Data is fine, but the selection list of some columns present in the original template are gone in the exported file.&lt;br /&gt;
&lt;br /&gt;
Just wondering if phpExcel can't handle that or if its a bug.&lt;br /&gt;
&lt;/div&gt;</description><author>cachmandrake</author><pubDate>Thu, 23 May 2013 18:25:37 GMT</pubDate><guid isPermaLink="false">New Post: My Existing Conditional Formatting Rules set by Excel are Lost after using objWriter-&gt;PHPEXCEL-save? 20130523062537P</guid></item><item><title>New Post: How to create Excel file from a modified array returned by getSheet-&gt;toArray?</title><link>http://phpexcel.codeplex.com/discussions/444761</link><description>&lt;div style="line-height: normal;"&gt;Hello!&lt;br /&gt;
&lt;br /&gt;
I am using the following bit of code to read a spreadsheet into array, then process it line by line (and when processing a line, mark cells I modified data with text like 'Modified' or 'Error parsing!').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now that my code to process data is almost complete, I am looking to save the modified array as an Excel file to return to the user for further checks on the results.&lt;br /&gt;
&lt;br /&gt;
How to do this? I was reading the developer documentation, and it only states how to save Excel file that is of a PHPExcel type object - I dont want to use memory twice and write &amp;quot;hacks&amp;quot; to do this, instead of using my current row iterator which goes over the array I process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is the code I use to read the Excel file:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;    /**
     * Initiate the class, and read out the datasheet into memory.
     * @param String $filename Filepath+Filename to the XLSX file.
     * @param Bool $ReadFormatting True to read  data WITH formatting. False by default.
     * @param Int $FirstSheet Number of the first sheet to load, 0 is default.
     * @throws Exception If loading the file fails for some reason.
     */
    function __construct($filename, $ReadFormatting = FALSE, $FirstSheet = 0) {
        parent::__construct();
//        iniset('memory_limit', '128M')
//        $this-&amp;gt;PHPExcel = PHPExcel_IOFactory::load($filename);
        $this-&amp;gt;PHPExcelReader = new PHPExcel_Reader_Excel2007();  // XLSX file reader.
        if ($ReadFormatting === FALSE) {
            $this-&amp;gt;PHPExcelReader-&amp;gt;setReadDataOnly();
        }
        try {
            $this-&amp;gt;ExcelData = $this-&amp;gt;PHPExcelReader-&amp;gt;load($filename);
            $this-&amp;gt;BezeqInstallDataArr = $this-&amp;gt;ExcelData-&amp;gt;getSheet($FirstSheet)-&amp;gt;toArray(self::EMPTY_CELL_STRING, true, true, true);  // Last parameter makes array with column letters instead of numbers A...Z
            $this-&amp;gt;BezeqInstallArrLength = count($this-&amp;gt;BezeqInstallDataArr);
            if ($this-&amp;gt;BezeqInstallArrLength &amp;gt; 2) {
//                $this-&amp;gt;iCurrentDataRow = 3; // Bezeq spreadsheet has 2 headers.
                $this-&amp;gt;iCurrentDataRow = 2; // Bezeq spreadsheet has 1 headers.
            }
        } catch (Exception $e) {
            throw new ExcelDataNotLoadedException($e-&amp;gt;getMessage(), $e-&amp;gt;getCode());
        }
    }&lt;/code&gt;&lt;/pre&gt;

Please, any suggestions how to save Excel file composed of the modified array $this-&amp;gt;BezeqInstallDataArr?&lt;br /&gt;
&lt;/div&gt;</description><author>Carmageddon</author><pubDate>Thu, 23 May 2013 14:06:50 GMT</pubDate><guid isPermaLink="false">New Post: How to create Excel file from a modified array returned by getSheet-&gt;toArray? 20130523020650P</guid></item><item><title>New Post: setComments</title><link>http://phpexcel.codeplex.com/discussions/443969</link><description>&lt;div style="line-height: normal;"&gt;Ok thanks, it works!&lt;br /&gt;
&lt;br /&gt;
But i have still a question.&lt;br /&gt;
It's possible change the font in comments, example in courier new?&lt;br /&gt;
&lt;br /&gt;
And how i can adjust, that the comments show on display and print as default?&lt;br /&gt;
&lt;br /&gt;
Thanks for your help.&lt;br /&gt;
&lt;/div&gt;</description><author>ktver</author><pubDate>Thu, 23 May 2013 14:00:09 GMT</pubDate><guid isPermaLink="false">New Post: setComments 20130523020009P</guid></item><item><title>New Post: My Existing Conditional Formatting Rules set by Excel are Lost after using objWriter-&gt;PHPEXCEL-save?</title><link>http://phpexcel.codeplex.com/discussions/353427</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I have the same problem with PHPExcel_Reader_Excel2007 and PHPExcel_Reader_Excel5().&lt;br /&gt;
&lt;br /&gt;
I use the 1.7.8 version of PHPEXCEL.&lt;br /&gt;
&lt;br /&gt;
It's à bug in 1.78 version ?&lt;br /&gt;
&lt;/div&gt;</description><author>mzavala</author><pubDate>Wed, 22 May 2013 17:38:00 GMT</pubDate><guid isPermaLink="false">New Post: My Existing Conditional Formatting Rules set by Excel are Lost after using objWriter-&gt;PHPEXCEL-save? 20130522053800P</guid></item><item><title>New Post: Linux verses Windows </title><link>http://phpexcel.codeplex.com/discussions/444610</link><description>&lt;div style="line-height: normal;"&gt;I am using PHPExcel for batch processing of data, exporting from a Postgres database into a spreadsheet and importing that spreadsheet back into postgres  (presumably after it has been changed).&lt;br /&gt;
&lt;br /&gt;
I am seeing substantial differences in the behavior of the application when running on Linux verses Windows.&lt;br /&gt;
&lt;br /&gt;
The Linux platform is Centos 6.4    Windows 8.&lt;br /&gt;
In both cases the version of phpexcel is 1.7.8 and PHP is 5.4&lt;br /&gt;
&lt;br /&gt;
My development case reads 1993 records from postgres (version 9.2 btw)&lt;br /&gt;
In the development, Windows always works and does so quickly.&lt;br /&gt;
On Linux, if I format the cells, the job never completes.  If I do not format the cells, it does complete but runs slowly.&lt;br /&gt;
&lt;br /&gt;
I've placed debugging code into the program and memory use does not get about 34 megs.&lt;br /&gt;
With formatting, the program stops after processing 1557 records and at that point has used 25 megs of memory.&lt;br /&gt;
&lt;br /&gt;
$obj-&amp;gt;getActiveSheet()-&amp;gt;getStyle($col . $row)-&amp;gt;getAlignment()-&amp;gt;setVertical(PHPExcel_Style_Alignment::VERTICAL_TOP);&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;    $obj-&amp;gt;getActiveSheet()-&amp;gt;getColumnDimension($col)-&amp;gt;setWidth(42);

&lt;/code&gt;&lt;/pre&gt;

Does anyone have any theories on this behavior or where/how to proceed from here?&lt;br /&gt;
&lt;/div&gt;</description><author>roghellman</author><pubDate>Wed, 22 May 2013 16:10:53 GMT</pubDate><guid isPermaLink="false">New Post: Linux verses Windows  20130522041053P</guid></item><item><title>New Post: Linux verses Windows </title><link>http://phpexcel.codeplex.com/discussions/444610</link><description>&lt;div style="line-height: normal;"&gt;I am using PHPExcel for batch processing of data, exporting from a Postgres database into a spreadsheet and importing that spreadsheet back into postgres  (presumably after it has been changed).&lt;br /&gt;
&lt;br /&gt;
I am seeing substantial differences in the behavior of the application when running on Linux verses Windows.&lt;br /&gt;
&lt;br /&gt;
The Linux platform is Centos 6.4    Windows 8.&lt;br /&gt;
In both cases the version of phpexcel is 1.7.8 and PHP is 5.4&lt;br /&gt;
&lt;br /&gt;
My development case reads 1993 records from postgres (version 9.2 btw)&lt;br /&gt;
In the development, Windows always works and does so quickly.&lt;br /&gt;
On Linux, if I format the cells, the job never completes.  If I do not format the cells, it does complete but runs slowly.&lt;br /&gt;
&lt;br /&gt;
I've placed debugging code into the program and memory use does not get about 34 megs.&lt;br /&gt;
With formatting, the program stops after processing 1557 records and at that point has used 25 megs of memory.&lt;br /&gt;
&lt;br /&gt;
$obj-&amp;gt;getActiveSheet()-&amp;gt;getStyle($col . $row)-&amp;gt;getAlignment()-&amp;gt;setVertical(PHPExcel_Style_Alignment::VERTICAL_TOP);&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;    $obj-&amp;gt;getActiveSheet()-&amp;gt;getColumnDimension($col)-&amp;gt;setWidth(42);

&lt;/code&gt;&lt;/pre&gt;

Does anyone have any theories on this behavior or where/how to proceed from here?&lt;br /&gt;
&lt;/div&gt;</description><author>roghellman</author><pubDate>Wed, 22 May 2013 16:10:53 GMT</pubDate><guid isPermaLink="false">New Post: Linux verses Windows  20130522041053P</guid></item><item><title>New Post: SCATTER CHART</title><link>http://phpexcel.codeplex.com/discussions/444551</link><description>&lt;div style="line-height: normal;"&gt;I have another question, is it possible to remove the line in the plot style and change it to dots? I'm thinking of changing this 'STYLE_LINEMARKER' so that the markers don't have lines that connect them. Sorry, just started learning PHPExcel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you so much for the help!&lt;br /&gt;
&lt;/div&gt;</description><author>almaclairedizon</author><pubDate>Wed, 22 May 2013 10:10:13 GMT</pubDate><guid isPermaLink="false">New Post: SCATTER CHART 20130522101013A</guid></item><item><title>New Post: SCATTER CHART</title><link>http://phpexcel.codeplex.com/discussions/444551</link><description>&lt;div style="line-height: normal;"&gt;I have another question, is it possible to remove the line in the plot style and change it to dots? I'm thinking of changing this 'STYLE_LINEMARKER' so that the markers don't have lines that connect them. Sorry, just started learning PHPExcel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you so much for the help!&lt;br /&gt;
&lt;/div&gt;</description><author>almaclairedizon</author><pubDate>Wed, 22 May 2013 10:10:13 GMT</pubDate><guid isPermaLink="false">New Post: SCATTER CHART 20130522101013A</guid></item><item><title>New Post: Suddenly problems with downloaded XLS files (corrupt)</title><link>http://phpexcel.codeplex.com/discussions/444219</link><description>&lt;div style="line-height: normal;"&gt;I have done some more debugging, what I have found is this:&lt;br /&gt;
&lt;br /&gt;
My data is fetched by a multilevel inherited class. (a extends abstractclass, b extends a, c extends b and finally d extends c).&lt;br /&gt;
When I use the class normally, without any Excel generation, it Works as excepted. Data is printed to screen and no erros or notices are thrown.&lt;br /&gt;
But as soon as I do a $a = New d() in the function that generates the Excel file, I get a corrupt Excel file. &lt;br /&gt;
&lt;br /&gt;
Does this information give any Clues?&lt;br /&gt;
&lt;/div&gt;</description><author>AGDev</author><pubDate>Wed, 22 May 2013 09:59:53 GMT</pubDate><guid isPermaLink="false">New Post: Suddenly problems with downloaded XLS files (corrupt) 20130522095953A</guid></item><item><title>New Post: Suddenly problems with downloaded XLS files (corrupt)</title><link>http://phpexcel.codeplex.com/discussions/444219</link><description>&lt;div style="line-height: normal;"&gt;I have done some more debugging, what I have found is this:&lt;br /&gt;
&lt;br /&gt;
My data is fetched by a multilevel inherited class. (a extends abstractclass, b extends a, c extends b and finally d extends c).&lt;br /&gt;
When I use the class normally, without any Excel generation, it Works as excepted. Data is printed to screen and no erros or notices are thrown.&lt;br /&gt;
But as soon as I do a $a = New d() in the function that generates the Excel file, I get a corrupt Excel file. &lt;br /&gt;
&lt;br /&gt;
Does this information give any Clues?&lt;br /&gt;
&lt;/div&gt;</description><author>AGDev</author><pubDate>Wed, 22 May 2013 09:59:53 GMT</pubDate><guid isPermaLink="false">New Post: Suddenly problems with downloaded XLS files (corrupt) 20130522095953A</guid></item><item><title>New Post: SCATTER CHART</title><link>http://phpexcel.codeplex.com/discussions/444551</link><description>&lt;div style="line-height: normal;"&gt;hello! Thank you so much!&lt;br /&gt;
&lt;/div&gt;</description><author>almaclairedizon</author><pubDate>Wed, 22 May 2013 09:05:22 GMT</pubDate><guid isPermaLink="false">New Post: SCATTER CHART 20130522090522A</guid></item><item><title>New Post: SCATTER CHART</title><link>http://phpexcel.codeplex.com/discussions/444551</link><description>&lt;div style="line-height: normal;"&gt;&lt;a href="https://github.com/582033/PHPExcel/blob/develop/Examples/33chartcreate-scatter.php" rel="nofollow"&gt;https://github.com/582033/PHPExcel/blob/develop/Examples/33chartcreate-scatter.php&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>MarkBaker</author><pubDate>Wed, 22 May 2013 09:02:55 GMT</pubDate><guid isPermaLink="false">New Post: SCATTER CHART 20130522090255A</guid></item></channel></rss>