Skip to content

Commit

Permalink
Clear attributes 'num-prefix' and 'num-suffix' in 'ODTDocument::setOu…
Browse files Browse the repository at this point in the history
…tlineStyle()'. Fixes lpaulsen93#188.
  • Loading branch information
lpaulsen93 committed Mar 3, 2017
1 parent 078a654 commit 31baaf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ODT/ODTDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -1367,8 +1367,8 @@ public function setOutlineStyle ($type) {
case 'Numbers':
for ($level = 1 ; $level < 11 ; $level++) {
$outline_style->setPropertyForLevel($level, 'num-format', '1');
$outline_style->setPropertyForLevel($level, 'num-suffix', '.');
$outline_style->setPropertyForLevel($level, 'num-prefix', ' ');
$outline_style->setPropertyForLevel($level, 'num-suffix', NULL);
$outline_style->setPropertyForLevel($level, 'num-prefix', NULL);
$outline_style->setPropertyForLevel($level, 'display-levels', $level);
}
break;
Expand Down

0 comments on commit 31baaf0

Please sign in to comment.