From 0d1c368c41f9716a930301b760dc597414067b64 Mon Sep 17 00:00:00 2001 From: Ivan Lanin Date: Fri, 7 Mar 2014 19:31:13 +0700 Subject: [PATCH] setNormalStyle > setDefaultParagraphStyle --- Classes/PHPWord.php | 6 +++--- Classes/PHPWord/Style.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Classes/PHPWord.php b/Classes/PHPWord.php index 8f3cc922..51489224 100755 --- a/Classes/PHPWord.php +++ b/Classes/PHPWord.php @@ -199,13 +199,13 @@ class PHPWord } /** - * Set normal paragraph style definition to styles.xml + * Set default paragraph style definition to styles.xml * * @param array $styles Paragraph style definition */ - public function setNormalStyle($styles) + public function setDefaultParagraphStyle($styles) { - PHPWord_Style::setNormalStyle($styles); + PHPWord_Style::setDefaultParagraphStyle($styles); } /** diff --git a/Classes/PHPWord/Style.php b/Classes/PHPWord/Style.php index 6941b1bc..daabd46b 100755 --- a/Classes/PHPWord/Style.php +++ b/Classes/PHPWord/Style.php @@ -141,11 +141,11 @@ class PHPWord_Style } /** - * Set normal (default) paragraph style + * Set default paragraph style * * @param array $styles Paragraph style definition */ - public static function setNormalStyle($styles) + public static function setDefaultParagraphStyle($styles) { self::addParagraphStyle('Normal', $styles); }