New Post: Please...i cannot export to pdf
MarkBaker wrote: The library path should be the filepath to where you have installed the PDF library that you have set up. The files in PHPExcel/Writer/PDF are the wrappers that PHPExcel uses for your...
View ArticleNew Post: phpExcel fails to save large sheet with styles and data validation
Well, can you give me some pointers on how to actually find out what the problem is? There are no error logs. Is there something like debug mode? I said that it probably isn't a memory problem because...
View ArticleNew Post: error : Sheet index is out of bounds
That makes sense, but that's not what's happening here. PHPExcel fails while loading. I am using this code and it fails right when trying to load.$objReader->setLoadSheetsOnly( array("Sales...
View ArticleNew Post: Read Rich Text from Excel 2007 Cell
Hi. I have an Excel2007 (xlsx) document and try to read the rich text value from a cell, but only receive the plaintext. Here's the Code: $reader = new PHPExcel_Reader_Excel2007();...
View ArticleNew Post: Read Rich Text from Excel 2007 Cell
$cellValue = $cell->getValue(); if ($cell->getValue() instanceof PHPExcel_RichText) { $elements = $cellValue()->getRichTextElements(); // Loop through rich text elements foreach ($elements as...
View ArticleNew Post: error : Sheet index is out of bounds
I narrowed down my problem to defined names. in Excel2007.php line 1717if ($xmlWorkbook->definedNames) { foreach ($xmlWorkbook->definedNames->definedName as $definedName) { .... if ($worksheet...
View ArticleNew Post: Read Rich Text from Excel 2007 Cell
Hi. Thank you, but the code is exactly the same what i'd wrote above. I created a html file from the excel file with the html writer and there's no formatting.
View ArticleNew Post: Read Rich Text from Excel 2007 Cell
It shouldn't be the same. You shouldn't be getting Call to undefined method PHPExcel_Cell::getRichTextElements() because you shouldn't be calling that method against the Cell object. Retrieve the cell...
View ArticleNew Post: error : Sheet index is out of bounds
Can you generate a small demo workbook to demonstrate this problem?
View ArticleNew Post: Calculation Cache Issue
Hi, I have come across a perculiar cache issue when outputting to HTML/PDF and to some extent Excel (2003). Im using PHPExcel 1.7.8 I have a system that pulls stock items from a database. Each stock...
View ArticleNew Post: Reading time and dates from an Excel 2007 file
Hello, I've been trying to read some dates and times from a excel 2007 file, so I can parse it to an iCalender output. And I was wondering if it is possible to get nicer time format out of PHPExcel....
View ArticleNew Post: Reading time and dates from an Excel 2007 file
Rather than try to work it all out for yourself, why not take a look at the built-in conversion functions in PHPExcel_Shared_Date
View ArticleNew Post: setCollapsed in reverse order
According to docs (PHPExcel developer documentation.doc) , 4.6.33. Group/outline a row section You can instruct PHPExcel to add a summary below the collapsible rows (default), or above. The following...
View ArticleNew Post: Reading time and dates from an Excel 2007 file
Thx for the tip! I will look into it.
View ArticleNew Post: Calculation Cache Issue
I'm actively rewriting the caclculation cache code to do just this as part of my conversion of the calculation engine from a singleton to a multiton. I'm hoping that it will make it into the 1.7.9...
View ArticleNew Post: write to existing xls file and set filename when creating new
I ahve two questions how do i write to an existing xls file and how do i set the filename and path where to save. I have tried the example here but it saves the xls file to the same filname as the php...
View ArticleNew Post: Comments in PHPExcel
Hi, is it possible to read and write comments from and to a xls (not xlsx) file? I would like to add cell comments to my template, but they are not in the output file. I already tried to write a...
View ArticleNew Post: Excel is wrong formated when editing and saving
Hello, I'm trying to edit a existing excel file: [http://phpexcel.codeplex.com/Download/AttachmentDownload.ashx?ProjectName=phpexcel&WorkItemId=10749&FileAttachmentId=6804](Orginal File) But I...
View ArticleNew Post: Excel is wrong formated when editing and saving
Given links that I can't access to see what your problem is, I've no idea
View Article