getHorizontalOverflow() public method

Get horizontal overflow
public getHorizontalOverflow ( ) : string
return string
Esempio n. 1
0
 public function testGetSetHOverflow()
 {
     $object = new RichText();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setHorizontalOverflow());
     $this->assertEquals(RichText::OVERFLOW_OVERFLOW, $object->getHorizontalOverflow());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setHorizontalOverflow(RichText::OVERFLOW_CLIP));
     $this->assertEquals(RichText::OVERFLOW_CLIP, $object->getHorizontalOverflow());
 }