New Post: PHPExcel to PDF issue using domPDF
i am tryign to get my head around the PDF set up in order to get it to work but i am getting no where fast. I keep getting stuck at theif (!PHPExcel_Settings::setPdfRenderer(.... I have the following...
View ArticleNew Post: PHPExcel to PDF issue using domPDF
PHPExcel provides a wrapper for each of three different PDF rendering libraries (tcPDF, mPDF and DomPDF), When specifying which library you want to use, you need to tell PHPExcel two things: which of...
View ArticleNew Post: PHPExcel to PDF issue using domPDF
Hi @MarkBaker many thanks for the reply, thats what i thought i tried all possible methods before posting but will give it another try.
View ArticleNew Post: Comments in PHPExcel
Thanks for the reply. I voted on that one. I tried to read and write comments with Excel2007 Writer and it works but has problems with special characters like äöü:€. It seems the reader doesn't read...
View ArticleNew Post: PHPExcel to PDF issue using domPDF
right i have re-jigged some stuff and i am not getting the same error and it outputs a PDF fine. BUT i here you say, well when I goto open the PDF it gives me an error: Acrobat could not open '01simple...
View ArticleNew Post: Read Rich Text from Excel 2007 Cell
Ok, you're right. With this code, there's no fatal error... My Code from my first post: $objReader = PHPExcel_IOFactory::createReaderForFile('descriptions.xlsx'); $objPHPExcel =...
View ArticleNew Post: Clean install of PHPExcel 1.7.7: PHPExcel_Worksheet not found
For anyone wondering, I solved this in my autoloader. Separating durectories in classnames with an underscore is something PHP should handle, but doesn't always do. Alter this autoloader to your taste...
View ArticleNew Post: Read Rich Text from Excel 2007 Cell
That suggests to me that cell 3,3 (D3) doesn't contain rich text. The file is definitely an OfficeOpenXML file? Not simply a file of some other format with an .xlsx extension? What does...
View ArticleNew Post: PHPExcel to PDF issue using domPDF
Open the resulting file in a text editor. Look for any leading or trailing whitespace (or BOM markers), or any obvious error messages
View ArticleNew Post: write to existing xls file and set filename when creating new
The Writer's save() method takes one argument: a filename. You can set that filename to whatever value you want, in exactly the same way you would define a filename when doing a standard fopen() in...
View ArticleNew Post: PHPExcel to PDF issue using domPDF
Thanks again for this i got the following error: PHP-font-lib must either be installed via composer or copied to lib/php-font-lib Which i know what this is as came across it when using the Dompdf as a...
View ArticleNew Post: Read Rich Text from Excel 2007 Cell
If i open the file in Excel there is formatting (some bold text) in cell D3.var_dump(PHPExcel_IOFactory::identify('descriptions.xlsx')); is: string(9) "Excel2007"
View ArticleNew Post: delete rows fast and like in excel
I try to delete 1000 rows with something like $curWorksheet->removeRow(12,1000) but this takes 1 minute and the formatting below is also removed (e.g. a formatting of a whole column) If I delete a...
View ArticleNew Post: delete rows fast and like in excel
is there a function in phpExcel which deletes a bunch of rows like you can do in excel by selecting rows and choose 'delete rows'? All rows below the deleted rows will move up and it’s done in less...
View ArticleNew Post: Read Rich Text from Excel 2007 Cell
Is it possible to send me a copy of the file? We've never had any problems with Rich Text cells not being read as rich text before (unless you specifically set ReadDataOnly to true).
View ArticleNew Post: How can I improve my PHPexcel File?
Hi PHPExcel forum!!! I have been working with PHPExcel now for quite some time and absolutely loving it, constantly finding way to improve my work i need help/suggestions on how I can improve the...
View ArticleNew Post: If i want to write to an excisting xls file
I have a template file of a invoce and i want to write to it and save it with a diffrent filename is that possible and how ?
View ArticleNew Post: If i want to write to an excisting xls file
Load your template into a PHPExcel objectUpdate the PHPExcel objectInstantiate a Writer Save the PHPExcel object using the Writer There are plenty of examples in the Tests or Examples folders, plus...
View Article