getActiveParagraphIndex() public method

Get active paragraph index
Example #1
0
 public function testParagraphs()
 {
     $object = new RichText();
     $array = array(new Paragraph(), new Paragraph(), new Paragraph());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setParagraphs($array));
     $this->assertCount(3, $object->getParagraphs());
     $this->assertEquals(2, $object->getActiveParagraphIndex());
 }