This project is read-only.

getAlignment

May 14, 2010 at 9:33 PM
Edited May 14, 2010 at 9:38 PM

This is the line I commented out.

      o  //$shape->getAlignment()->setHorizontal( PHPPowerPoint_Style_Alignment::HORIZONTAL_LEFT );

This is the error message on the results page.
Fatal error: Call to undefined method PHPPowerPoint_Shape_RichText::getAlignment() in ...phppwrppt/Tests/02presentation.php

This error happens on lines, 70, 96,110,146,160,220, and 234 of test file 02presentation.php. Fortunately if I comment them out, the script works. What am I doing wrong? Could I be missing a file?