Fix code style
This commit is contained in:
parent
ae1ec5f2cf
commit
f58724ae0b
@ -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
|
||||
*
|
||||
|
@ -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
|
||||
*
|
||||
|
@ -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
|
||||
*
|
||||
|
@ -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
|
||||
*
|
||||
|
@ -141,6 +141,7 @@ class Font extends Supervisor
|
||||
|
||||
/**
|
||||
* Apply styles from array.
|
||||
*
|
||||
* <code>
|
||||
* $spreadsheet->getActiveSheet()->getStyle('B2')->getFont()->applyFromArray(
|
||||
* [
|
||||
|
@ -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
|
||||
*
|
||||
|
@ -72,6 +72,7 @@ class Protection extends Supervisor
|
||||
|
||||
/**
|
||||
* Apply styles from array.
|
||||
*
|
||||
* <code>
|
||||
* $spreadsheet->getActiveSheet()->getStyle('B2')->getLocked()->applyFromArray(
|
||||
* [
|
||||
|
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user