Skip to content

Commit 3a59a68

Browse files
authored
Update Header.php - register font background colors
1 parent 25b85c3 commit 3a59a68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PhpWord/Writer/RTF/Part/Header.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ private function registerFontItems($style): void
238238
$this->registerTableItem($this->fontTable, $style->getName(), $defaultFont);
239239
$this->registerTableItem($this->colorTable, $style->getColor(), $defaultColor);
240240
$this->registerTableItem($this->colorTable, $style->getFgColor(), $defaultColor);
241+
$this->registerTableItem($this->colorTable, $style->getBgColor(), $defaultColor);
241242

242243
return;
243244
}

0 commit comments

Comments
 (0)