Docblock fixes
This commit is contained in:
parent
1d84c1db33
commit
9afa46105e
|
|
@ -10,7 +10,6 @@
|
||||||
namespace PhpOffice\PhpWord\Reader;
|
namespace PhpOffice\PhpWord\Reader;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpOffice\PhpWord\Settings;
|
|
||||||
use PhpOffice\PhpWord\Shared\XMLReader;
|
use PhpOffice\PhpWord\Shared\XMLReader;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -18,12 +18,16 @@ class Settings
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Zip libraries
|
* Zip libraries
|
||||||
|
*
|
||||||
|
* @const string
|
||||||
*/
|
*/
|
||||||
const PCLZIP = 'PhpOffice\\PhpWord\\Shared\\ZipArchive';
|
const PCLZIP = 'PhpOffice\\PhpWord\\Shared\\ZipArchive';
|
||||||
const ZIPARCHIVE = 'ZipArchive';
|
const ZIPARCHIVE = 'ZipArchive';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PDF rendering libraries
|
* PDF rendering libraries
|
||||||
|
*
|
||||||
|
* @const string
|
||||||
*/
|
*/
|
||||||
const PDF_RENDERER_DOMPDF = 'DomPDF';
|
const PDF_RENDERER_DOMPDF = 'DomPDF';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ class Border extends AbstractStyle
|
||||||
/**
|
/**
|
||||||
* Get border size
|
* Get border size
|
||||||
*
|
*
|
||||||
* @return array
|
* @return int[]
|
||||||
*/
|
*/
|
||||||
public function getBorderSize()
|
public function getBorderSize()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ class LineNumbering extends AbstractStyle
|
||||||
*
|
*
|
||||||
* @param array $style
|
* @param array $style
|
||||||
*/
|
*/
|
||||||
public function __construct($style = null)
|
public function __construct($style = array())
|
||||||
{
|
{
|
||||||
$this->setStyleByArray($style);
|
$this->setStyleByArray($style);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@
|
||||||
|
|
||||||
namespace PhpOffice\PhpWord\Style;
|
namespace PhpOffice\PhpWord\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Shared\String;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Section settings
|
* Section settings
|
||||||
*/
|
*/
|
||||||
|
|
@ -18,11 +16,16 @@ class Section extends Border
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Page orientation
|
* Page orientation
|
||||||
|
*
|
||||||
|
* @const string
|
||||||
*/
|
*/
|
||||||
const ORIENTATION_PORTRAIT = 'portrait';
|
const ORIENTATION_PORTRAIT = 'portrait';
|
||||||
const ORIENTATION_LANDSCAPE = 'landscape';
|
const ORIENTATION_LANDSCAPE = 'landscape';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Page default constants
|
* Page default constants
|
||||||
|
*
|
||||||
|
* @const int|float
|
||||||
*/
|
*/
|
||||||
const DEFAULT_WIDTH = 11906; // In twip
|
const DEFAULT_WIDTH = 11906; // In twip
|
||||||
const DEFAULT_HEIGHT = 16838; // In twip
|
const DEFAULT_HEIGHT = 16838; // In twip
|
||||||
|
|
|
||||||
|
|
@ -187,7 +187,7 @@ class Table extends Border
|
||||||
/**
|
/**
|
||||||
* Get TLRBVH Border Size
|
* Get TLRBVH Border Size
|
||||||
*
|
*
|
||||||
* @return array
|
* @return int[]
|
||||||
*/
|
*/
|
||||||
public function getBorderSize()
|
public function getBorderSize()
|
||||||
{
|
{
|
||||||
|
|
@ -218,7 +218,7 @@ class Table extends Border
|
||||||
/**
|
/**
|
||||||
* Get TLRB Border Color
|
* Get TLRB Border Color
|
||||||
*
|
*
|
||||||
* @return array
|
* @return string[]
|
||||||
*/
|
*/
|
||||||
public function getBorderColor()
|
public function getBorderColor()
|
||||||
{
|
{
|
||||||
|
|
@ -408,7 +408,7 @@ class Table extends Border
|
||||||
/**
|
/**
|
||||||
* Get cell margin
|
* Get cell margin
|
||||||
*
|
*
|
||||||
* @return array
|
* @return int[]
|
||||||
*/
|
*/
|
||||||
public function getCellMargin()
|
public function getCellMargin()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,6 @@
|
||||||
namespace PhpOffice\PhpWord\Writer\ODText\Element;
|
namespace PhpOffice\PhpWord\Writer\ODText\Element;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Element\Text as TextElement;
|
use PhpOffice\PhpWord\Element\Text as TextElement;
|
||||||
use PhpOffice\PhpWord\Element\Link as LinkElement;
|
|
||||||
use PhpOffice\PhpWord\Writer\ODText\Element\Element as ElementWriter;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TextRun element writer
|
* TextRun element writer
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
namespace PhpOffice\PhpWord\Writer\Word2007\Part;
|
namespace PhpOffice\PhpWord\Writer\Word2007\Part;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpOffice\PhpWord\Settings;
|
|
||||||
use PhpOffice\PhpWord\Element\AbstractElement;
|
use PhpOffice\PhpWord\Element\AbstractElement;
|
||||||
use PhpOffice\PhpWord\Element\TextBreak;
|
use PhpOffice\PhpWord\Element\TextBreak;
|
||||||
use PhpOffice\PhpWord\Exception\Exception;
|
use PhpOffice\PhpWord\Exception\Exception;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue