Fix code style

This commit is contained in:
Adrien Crivelli 2018-02-25 13:58:42 +01:00
parent ae1ec5f2cf
commit f58724ae0b
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
8 changed files with 16 additions and 7 deletions

View File

@ -124,6 +124,7 @@ class Alignment extends Supervisor
/**
* Apply styles from array.
*
* <code>
* $spreadsheet->getActiveSheet()->getStyle('B2')->getAlignment()->applyFromArray(
* [
@ -133,7 +134,7 @@ class Alignment extends Supervisor
* 'wrapText' => TRUE
* ]
* );
* </code>.
* </code>
*
* @param array $pStyles Array containing style information
*

View File

@ -160,6 +160,7 @@ class Borders extends Supervisor
/**
* Apply styles from array.
*
* <code>
* $spreadsheet->getActiveSheet()->getStyle('B2')->getBorders()->applyFromArray(
* [
@ -178,6 +179,7 @@ class Borders extends Supervisor
* ]
* );
* </code>
*
* <code>
* $spreadsheet->getActiveSheet()->getStyle('B2')->getBorders()->applyFromArray(
* [
@ -189,7 +191,7 @@ class Borders extends Supervisor
* ]
* ]
* );
* </code>.
* </code>
*
* @param array $pStyles Array containing style information
*

View File

@ -86,9 +86,10 @@ class Color extends Supervisor
/**
* Apply styles from array.
*
* <code>
* $spreadsheet->getActiveSheet()->getStyle('B2')->getFont()->getColor()->applyFromArray(['rgb' => '808080']);
* </code>.
* </code>
*
* @param array $pStyles Array containing style information
*

View File

@ -121,6 +121,7 @@ class Fill extends Supervisor
/**
* Apply styles from array.
*
* <code>
* $spreadsheet->getActiveSheet()->getStyle('B2')->getFill()->applyFromArray(
* [
@ -134,7 +135,7 @@ class Fill extends Supervisor
* ]
* ]
* );
* </code>.
* </code>
*
* @param array $pStyles Array containing style information
*

View File

@ -141,6 +141,7 @@ class Font extends Supervisor
/**
* Apply styles from array.
*
* <code>
* $spreadsheet->getActiveSheet()->getStyle('B2')->getFont()->applyFromArray(
* [

View File

@ -124,13 +124,14 @@ class NumberFormat extends Supervisor
/**
* Apply styles from array.
*
* <code>
* $spreadsheet->getActiveSheet()->getStyle('B2')->getNumberFormat()->applyFromArray(
* [
* 'formatCode' => NumberFormat::FORMAT_CURRENCY_EUR_SIMPLE
* ]
* );
* </code>.
* </code>
*
* @param array $pStyles Array containing style information
*

View File

@ -72,6 +72,7 @@ class Protection extends Supervisor
/**
* Apply styles from array.
*
* <code>
* $spreadsheet->getActiveSheet()->getStyle('B2')->getLocked()->applyFromArray(
* [

View File

@ -365,12 +365,13 @@ class BaseDrawing implements IComparable
}
/**
* Set width and height with proportional resize
* Set width and height with proportional resize.
*
* Example:
* <code>
* $objDrawing->setResizeProportional(true);
* $objDrawing->setWidthAndHeight(160,120);
* </code>.
* </code>
*
* @author Vincent@luo MSN:kele_100@hotmail.com
*