@@ -233,6 +233,9 @@ discard block |
||
233 | 233 | return $this->loadIntoExisting($pFilename, $spreadsheet); |
234 | 234 | } |
235 | 235 | |
236 | + /** |
|
237 | + * @param string $styleAttributeValue |
|
238 | + */ |
|
236 | 239 | protected static function identifyFixedStyleValue($styleList, &$styleAttributeValue) |
237 | 240 | { |
238 | 241 | $styleAttributeValue = strtolower($styleAttributeValue); |
@@ -764,6 +767,9 @@ discard block |
||
764 | 767 | return $spreadsheet; |
765 | 768 | } |
766 | 769 | |
770 | + /** |
|
771 | + * @param string $charset |
|
772 | + */ |
|
767 | 773 | protected static function convertStringEncoding($string, $charset) |
768 | 774 | { |
769 | 775 | if ($charset != 'UTF-8') { |
@@ -773,6 +779,9 @@ discard block |
||
773 | 779 | return $string; |
774 | 780 | } |
775 | 781 | |
782 | + /** |
|
783 | + * @param string $is |
|
784 | + */ |
|
776 | 785 | protected function parseRichText($is) |
777 | 786 | { |
778 | 787 | $value = new RichText(); |
@@ -238,7 +238,7 @@ |
||
238 | 238 | * Calculate an (approximate) OpenXML column width, based on font size and text contained. |
239 | 239 | * |
240 | 240 | * @param \PhpOffice\PhpSpreadsheet\Style\Font $font Font object |
241 | - * @param RichText|string $cellText Text to calculate width |
|
241 | + * @param string $cellText Text to calculate width |
|
242 | 242 | * @param int $rotation Rotation angle |
243 | 243 | * @param \PhpOffice\PhpSpreadsheet\Style\Font|null $defaultFont Font object |
244 | 244 | * |
@@ -57,7 +57,7 @@ |
||
57 | 57 | } |
58 | 58 | } |
59 | 59 | |
60 | -echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />'; |
|
60 | +echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory with a defined reader type of ', $inputFileType, '<br />'; |
|
61 | 61 | /* Create a new Reader of the type defined in $inputFileType **/ |
62 | 62 | $reader = IOFactory::createReader($inputFileType); |
63 | 63 |