Merge pull request #157 from wapmorgan/master

FIx README.md
This commit is contained in:
Ivan Lanin 2014-03-21 02:23:57 +07:00
commit 530571af33
1 changed files with 3 additions and 3 deletions

View File

@ -210,8 +210,8 @@ $section->addText('I am simple paragraph', $fontStyle, $paragraphStyle);
```php
$textrun = $section->createTextRun();
$textrun->addText('I am bold', array('bold' => true));
$textrun->addText('I am italic, array('italic' => true));
$textrun->addText('I am colored, array('color' => 'AACC00'));
$textrun->addText('I am italic', array('italic' => true));
$textrun->addText('I am colored', array('color' => 'AACC00'));
```
<a name="text-attributes"></a>
@ -298,4 +298,4 @@ $section->addImage(
'wrappingStyle' => 'behind'
)
);
```
```