Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.3

Bug #2748 setMargins(), setHeader() and setFooter() work in excel but not in openoffice.
Submitted: 2004-11-13 11:10 UTC Modified: 2005-11-12 18:18 UTC
From: nicolas dot martin8 at worldonline dot fr Assigned: xnoguer
Status: Closed Package: Spreadsheet_Excel_Writer
PHP Version: 4.3.8 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2004-11-13 11:10 UTC] nicolas dot martin8 at worldonline dot fr
Description: ------------ setMargins(), setHeader() and setFooter() work in excel but not in openoffice.org. After compare the Perl version 0.42 and 0.43 of McNamara, wich seems to fix the similar bug in his bug report, the solution is simple. In worksheet.php, for the functions _storeHeader(), _storeFooter(), _storeMarginLeft(), _storeMarginRigth(), _storeMarginTop(), _storeMarginBottom(), change the line: $this->_append($header.$data); by : $this->_prepend($header.$data); It work fine for me now :)) (The functions _storeVcenter() and _storeHcenter() seems to be change to)

Comments

 [2005-11-12 18:18 UTC] xnoguer at php dot net
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Thanks, all the methods have been fixed