setUpright() public method

Set vertical
public setUpright ( $value = false ) : RichText
$value boolean
return RichText
Esempio n. 1
0
 public function testGetSetUpright()
 {
     $object = new RichText();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setUpright());
     $this->assertFalse($object->isUpright());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setUpright(true));
     $this->assertTrue($object->isUpright());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setUpright(false));
     $this->assertFalse($object->isUpright());
 }