Some phpdoc for https://github.com/PHPOffice/PHPWord/pull/390.
This commit is contained in:
parent
4445fd3258
commit
2c81d5f38b
@ -275,13 +275,22 @@ class Section extends Border
|
|||||||
/**
|
/**
|
||||||
* Get Page Size Width
|
* Get Page Size Width
|
||||||
*
|
*
|
||||||
* @return int|float
|
* @return int|float|null
|
||||||
|
*
|
||||||
|
* @since 0.12.0
|
||||||
*/
|
*/
|
||||||
public function getPageSizeW()
|
public function getPageSizeW()
|
||||||
{
|
{
|
||||||
return $this->pageSizeW;
|
return $this->pageSizeW;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int|float|null $value
|
||||||
|
*
|
||||||
|
* @return \PhpOffice\PhpWord\Style\Section
|
||||||
|
*
|
||||||
|
* @since 0.12.0
|
||||||
|
*/
|
||||||
public function setPageSizeW($value = null)
|
public function setPageSizeW($value = null)
|
||||||
{
|
{
|
||||||
$this->pageSizeW = $this->setNumericVal($value, self::DEFAULT_WIDTH);
|
$this->pageSizeW = $this->setNumericVal($value, self::DEFAULT_WIDTH);
|
||||||
@ -292,13 +301,22 @@ class Section extends Border
|
|||||||
/**
|
/**
|
||||||
* Get Page Size Height
|
* Get Page Size Height
|
||||||
*
|
*
|
||||||
* @return int|float
|
* @return int|float|null
|
||||||
|
*
|
||||||
|
* @since 0.12.0
|
||||||
*/
|
*/
|
||||||
public function getPageSizeH()
|
public function getPageSizeH()
|
||||||
{
|
{
|
||||||
return $this->pageSizeH;
|
return $this->pageSizeH;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int|float|null $value
|
||||||
|
*
|
||||||
|
* @return \PhpOffice\PhpWord\Style\Section
|
||||||
|
*
|
||||||
|
* @since 0.12.0
|
||||||
|
*/
|
||||||
public function setPageSizeH($value = null)
|
public function setPageSizeH($value = null)
|
||||||
{
|
{
|
||||||
$this->pageSizeH = $this->setNumericVal($value, self::DEFAULT_HEIGHT);
|
$this->pageSizeH = $this->setNumericVal($value, self::DEFAULT_HEIGHT);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user