Hi,
I use setLanscape() but allways Microsoft Office 2003/2007 display the file only in portrait mode. What is wrong? Someone tried and succeeded?
Thanks for this great class.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I find an error at line 1243 from PHPRtflite.php (settings for landscape):
if ($this->_isLandscape && $paperWidth < $paperHeight) {
$paperWidth = $paperHeight;
$paperHeight = $paperWidth;
}
If _isLandscape is true the page will be a square (29x29!!).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I use setLanscape() but allways Microsoft Office 2003/2007 display the file only in portrait mode. What is wrong? Someone tried and succeeded?
Thanks for this great class.
Hi vcazacu,
thx for the report. I fixed that for the 1.1.1 release. Please check out and let me know if you have any problems.
Best regards
SigmaZ
It works! Thx.
I find an error at line 1243 from PHPRtflite.php (settings for landscape):
if ($this->_isLandscape && $paperWidth < $paperHeight) {
$paperWidth = $paperHeight;
$paperHeight = $paperWidth;
}
If _isLandscape is true the page will be a square (29x29!!).
Fixed that error in the repos. Will release in a few days. Thanks for the report.