Skip to content

Commit

Permalink
Add missing setters for pageSizeW and pageSizeH
Browse files Browse the repository at this point in the history
  • Loading branch information
spikex committed Sep 22, 2014
1 parent d8fbac6 commit 0a8635e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/PhpWord/Style/Section.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,13 @@ public function getPageSizeW()
return $this->pageSizeW;
}

public function setPageSizeW($value = null)
{
$this->pageSizeW = $this->setNumericVal($value, self::DEFAULT_WIDTH);

return $this;
}

/**
* Get Page Size Height
*
Expand All @@ -249,6 +256,13 @@ public function getPageSizeH()
return $this->pageSizeH;
}

public function setPageSizeH($value = null)
{
$this->pageSizeH = $this->setNumericVal($value, self::DEFAULT_HEIGHT);

return $this;
}

/**
* Get Margin Top
*
Expand Down

0 comments on commit 0a8635e

Please sign in to comment.