public function testListNumeric()
{
$oPhpPresentation = new PhpPresentation();
$oSlide = $oPhpPresentation->getActiveSlide();
$oRichText = $oSlide->createRichTextShape();
$oRichText->getActiveParagraph()->getBulletStyle()->setBulletType(Bullet::TYPE_NUMERIC);
$oRichText->getActiveParagraph()->getBulletStyle()->setBulletNumericStyle(Bullet::NUMERIC_EA1CHSPERIOD);
$oRichText->getActiveParagraph()->getBulletStyle()->setBulletNumericStartAt(5);
$oExpectedFont = $oRichText->getActiveParagraph()->getBulletStyle()->getBulletFont();
$oExpectedChar = $oRichText->getActiveParagraph()->getBulletStyle()->getBulletNumericStyle();
$oExpectedStart = $oRichText->getActiveParagraph()->getBulletStyle()->getBulletNumericStartAt();
$oRichText->createTextRun('Alpha');
$oRichText->createParagraph()->createTextRun('Beta');
$oRichText->createParagraph()->createTextRun('Delta');
$oRichText->createParagraph()->createTextRun('Epsilon');
$pres = TestHelperDOCX::getDocument($oPhpPresentation, 'PowerPoint2007');
$element = '/p:sld/p:cSld/p:spTree/p:sp/p:txBody/a:p/a:pPr';
$this->assertTrue($pres->elementExists($element . '/a:buFont', 'ppt/slides/slide1.xml'));
$this->assertEquals($oExpectedFont, $pres->getElementAttribute($element . '/a:buFont', 'typeface', 'ppt/slides/slide1.xml'));
$this->assertTrue($pres->elementExists($element . '/a:buAutoNum', 'ppt/slides/slide1.xml'));
$this->assertEquals($oExpectedChar, $pres->getElementAttribute($element . '/a:buAutoNum', 'type', 'ppt/slides/slide1.xml'));
$this->assertEquals($oExpectedStart, $pres->getElementAttribute($element . '/a:buAutoNum', 'startAt', 'ppt/slides/slide1.xml'));
}