Skip to content

Commit b24550d

Browse files
committed
Merge Table and TableFull style
1 parent db57346 commit b24550d

File tree

11 files changed

+766
-1047
lines changed

11 files changed

+766
-1047
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ None yet.
2121
- Use `PhpOffice\PhpWord` namespace for PSR compliance - @RomanSyroeshko @gabrielbull GH-159 GH-58
2222
- Restructure folders and change folder name `Classes` to `src` and `Tests` to `test` for PSR compliance - @RomanSyroeshko @gabrielbull
2323
- Compliance to phpDocumentor - @ivanlanin
24+
- Merge Style\TableFull into Style\Table - @ivanlanin GH-160
2425

2526
## 0.8.1 - 17 Mar 2014
2627

src/PhpWord/Style.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
use PhpOffice\PhpWord\Style\Font;
2929
use PhpOffice\PhpWord\Style\Paragraph;
30-
use PhpOffice\PhpWord\Style\TableFull;
30+
use PhpOffice\PhpWord\Style\Table;
3131

3232
/**
3333
* Style
@@ -114,7 +114,7 @@ public static function addLinkStyle($styleName, $styles)
114114
public static function addTableStyle($styleName, $styleTable, $styleFirstRow = null)
115115
{
116116
if (!array_key_exists($styleName, self::$_styleElements)) {
117-
$style = new TableFull($styleTable, $styleFirstRow);
117+
$style = new Table($styleTable, $styleFirstRow);
118118

119119
self::$_styleElements[$styleName] = $style;
120120
}

0 commit comments

Comments
 (0)