public setHorizontalOverflow ( $value = self::OVERFLOW_OVERFLOW ) : |
||
$value | string | |
return |
public function setHorizontalOverflow($value = self::OVERFLOW_OVERFLOW)
{
$this->horizontalOverflow = $value;
return $this;
}
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()); }