@@ -500,7 +500,7 @@ discard block |
||
500 | 500 | (($previousToken->getTokenType() == FormulaToken::TOKEN_TYPE_FUNCTION) && ($previousToken->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_STOP)) || |
501 | 501 | (($previousToken->getTokenType() == FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($previousToken->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_STOP)) || |
502 | 502 | ($previousToken->getTokenType() == FormulaToken::TOKEN_TYPE_OPERAND) |
503 | - ) ) { |
|
503 | + ) ) { |
|
504 | 504 | continue; |
505 | 505 | } |
506 | 506 | |
@@ -512,7 +512,7 @@ discard block |
||
512 | 512 | (($nextToken->getTokenType() == FormulaToken::TOKEN_TYPE_FUNCTION) && ($nextToken->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_START)) || |
513 | 513 | (($nextToken->getTokenType() == FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($nextToken->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_START)) || |
514 | 514 | ($nextToken->getTokenType() == FormulaToken::TOKEN_TYPE_OPERAND) |
515 | - ) ) { |
|
515 | + ) ) { |
|
516 | 516 | continue; |
517 | 517 | } |
518 | 518 |
@@ -174,26 +174,26 @@ |
||
174 | 174 | switch ($whence) { |
175 | 175 | case SEEK_SET: |
176 | 176 | if ($offset < strlen($this->data) && $offset >= 0) { |
177 | - $this->position = $offset; |
|
178 | - return true; |
|
177 | + $this->position = $offset; |
|
178 | + return true; |
|
179 | 179 | } else { |
180 | - return false; |
|
180 | + return false; |
|
181 | 181 | } |
182 | 182 | break; |
183 | 183 | case SEEK_CUR: |
184 | 184 | if ($offset >= 0) { |
185 | - $this->position += $offset; |
|
186 | - return true; |
|
185 | + $this->position += $offset; |
|
186 | + return true; |
|
187 | 187 | } else { |
188 | - return false; |
|
188 | + return false; |
|
189 | 189 | } |
190 | 190 | break; |
191 | 191 | case SEEK_END: |
192 | 192 | if (strlen($this->data) + $offset >= 0) { |
193 | - $this->position = strlen($this->data) + $offset; |
|
194 | - return true; |
|
193 | + $this->position = strlen($this->data) + $offset; |
|
194 | + return true; |
|
195 | 195 | } else { |
196 | - return false; |
|
196 | + return false; |
|
197 | 197 | } |
198 | 198 | break; |
199 | 199 | default: |
@@ -61,11 +61,11 @@ |
||
61 | 61 | |
62 | 62 | |
63 | 63 | /** |
64 | - * Verify if a file exists |
|
65 | - * |
|
66 | - * @param string $pFilename Filename |
|
67 | - * @return bool |
|
68 | - */ |
|
64 | + * Verify if a file exists |
|
65 | + * |
|
66 | + * @param string $pFilename Filename |
|
67 | + * @return bool |
|
68 | + */ |
|
69 | 69 | public static function fileExists($pFilename) |
70 | 70 | { |
71 | 71 | // Sick construction, but it seems that |
@@ -52,21 +52,21 @@ |
||
52 | 52 | private $V = array(); |
53 | 53 | |
54 | 54 | /** |
55 | - * Array for internal storage of nonsymmetric Hessenberg form. |
|
56 | - * @var array |
|
57 | - */ |
|
55 | + * Array for internal storage of nonsymmetric Hessenberg form. |
|
56 | + * @var array |
|
57 | + */ |
|
58 | 58 | private $H = array(); |
59 | 59 | |
60 | 60 | /** |
61 | - * Working storage for nonsymmetric algorithm. |
|
62 | - * @var array |
|
63 | - */ |
|
61 | + * Working storage for nonsymmetric algorithm. |
|
62 | + * @var array |
|
63 | + */ |
|
64 | 64 | private $ort; |
65 | 65 | |
66 | 66 | /** |
67 | - * Used for complex scalar division. |
|
68 | - * @var float |
|
69 | - */ |
|
67 | + * Used for complex scalar division. |
|
68 | + * @var float |
|
69 | + */ |
|
70 | 70 | private $cdivr; |
71 | 71 | private $cdivi; |
72 | 72 |
@@ -36,9 +36,9 @@ |
||
36 | 36 | private $m; |
37 | 37 | |
38 | 38 | /** |
39 | - * Column dimension. |
|
40 | - * @var integer |
|
41 | - */ |
|
39 | + * Column dimension. |
|
40 | + * @var integer |
|
41 | + */ |
|
42 | 42 | private $n; |
43 | 43 | |
44 | 44 | /** |
@@ -121,8 +121,8 @@ discard block |
||
121 | 121 | } |
122 | 122 | |
123 | 123 | for ($i = 0; $i < $bbdBlocks; ++$i) { |
124 | - $bigBlockDepotBlocks[$i] = self::getInt4d($this->data, $pos); |
|
125 | - $pos += 4; |
|
124 | + $bigBlockDepotBlocks[$i] = self::getInt4d($this->data, $pos); |
|
125 | + $pos += 4; |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | for ($j = 0; $j < $this->numExtensionBlocks; ++$j) { |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | $block = $this->props[$stream]['startBlock']; |
189 | 189 | |
190 | 190 | while ($block != -2) { |
191 | - $pos = $block * self::SMALL_BLOCK_SIZE; |
|
191 | + $pos = $block * self::SMALL_BLOCK_SIZE; |
|
192 | 192 | $streamData .= substr($rootdata, $pos, self::SMALL_BLOCK_SIZE); |
193 | 193 | |
194 | 194 | $block = self::getInt4d($this->smallBlockChain, $block*4); |
@@ -37,7 +37,7 @@ |
||
37 | 37 | * @param \PHPExcel\Worksheet $sheet The sheet |
38 | 38 | * @param string $col The column |
39 | 39 | * @return integer The width in pixels |
40 | - */ |
|
40 | + */ |
|
41 | 41 | public static function sizeCol($sheet, $col = 'A') |
42 | 42 | { |
43 | 43 | // default font of the workbook |
@@ -144,40 +144,40 @@ |
||
144 | 144 | */ |
145 | 145 | public static $defaultColumnWidths = array( |
146 | 146 | 'Arial' => array( |
147 | - 1 => array('px' => 24, 'width' => 12.00000000), |
|
148 | - 2 => array('px' => 24, 'width' => 12.00000000), |
|
149 | - 3 => array('px' => 32, 'width' => 10.66406250), |
|
150 | - 4 => array('px' => 32, 'width' => 10.66406250), |
|
151 | - 5 => array('px' => 40, 'width' => 10.00000000), |
|
152 | - 6 => array('px' => 48, 'width' => 9.59765625), |
|
153 | - 7 => array('px' => 48, 'width' => 9.59765625), |
|
154 | - 8 => array('px' => 56, 'width' => 9.33203125), |
|
155 | - 9 => array('px' => 64, 'width' => 9.14062500), |
|
147 | + 1 => array('px' => 24, 'width' => 12.00000000), |
|
148 | + 2 => array('px' => 24, 'width' => 12.00000000), |
|
149 | + 3 => array('px' => 32, 'width' => 10.66406250), |
|
150 | + 4 => array('px' => 32, 'width' => 10.66406250), |
|
151 | + 5 => array('px' => 40, 'width' => 10.00000000), |
|
152 | + 6 => array('px' => 48, 'width' => 9.59765625), |
|
153 | + 7 => array('px' => 48, 'width' => 9.59765625), |
|
154 | + 8 => array('px' => 56, 'width' => 9.33203125), |
|
155 | + 9 => array('px' => 64, 'width' => 9.14062500), |
|
156 | 156 | 10 => array('px' => 64, 'width' => 9.14062500), |
157 | 157 | ), |
158 | 158 | 'Calibri' => array( |
159 | - 1 => array('px' => 24, 'width' => 12.00000000), |
|
160 | - 2 => array('px' => 24, 'width' => 12.00000000), |
|
161 | - 3 => array('px' => 32, 'width' => 10.66406250), |
|
162 | - 4 => array('px' => 32, 'width' => 10.66406250), |
|
163 | - 5 => array('px' => 40, 'width' => 10.00000000), |
|
164 | - 6 => array('px' => 48, 'width' => 9.59765625), |
|
165 | - 7 => array('px' => 48, 'width' => 9.59765625), |
|
166 | - 8 => array('px' => 56, 'width' => 9.33203125), |
|
167 | - 9 => array('px' => 56, 'width' => 9.33203125), |
|
159 | + 1 => array('px' => 24, 'width' => 12.00000000), |
|
160 | + 2 => array('px' => 24, 'width' => 12.00000000), |
|
161 | + 3 => array('px' => 32, 'width' => 10.66406250), |
|
162 | + 4 => array('px' => 32, 'width' => 10.66406250), |
|
163 | + 5 => array('px' => 40, 'width' => 10.00000000), |
|
164 | + 6 => array('px' => 48, 'width' => 9.59765625), |
|
165 | + 7 => array('px' => 48, 'width' => 9.59765625), |
|
166 | + 8 => array('px' => 56, 'width' => 9.33203125), |
|
167 | + 9 => array('px' => 56, 'width' => 9.33203125), |
|
168 | 168 | 10 => array('px' => 64, 'width' => 9.14062500), |
169 | 169 | 11 => array('px' => 64, 'width' => 9.14062500), |
170 | 170 | ), |
171 | 171 | 'Verdana' => array( |
172 | - 1 => array('px' => 24, 'width' => 12.00000000), |
|
173 | - 2 => array('px' => 24, 'width' => 12.00000000), |
|
174 | - 3 => array('px' => 32, 'width' => 10.66406250), |
|
175 | - 4 => array('px' => 32, 'width' => 10.66406250), |
|
176 | - 5 => array('px' => 40, 'width' => 10.00000000), |
|
177 | - 6 => array('px' => 48, 'width' => 9.59765625), |
|
178 | - 7 => array('px' => 48, 'width' => 9.59765625), |
|
179 | - 8 => array('px' => 64, 'width' => 9.14062500), |
|
180 | - 9 => array('px' => 72, 'width' => 9.00000000), |
|
172 | + 1 => array('px' => 24, 'width' => 12.00000000), |
|
173 | + 2 => array('px' => 24, 'width' => 12.00000000), |
|
174 | + 3 => array('px' => 32, 'width' => 10.66406250), |
|
175 | + 4 => array('px' => 32, 'width' => 10.66406250), |
|
176 | + 5 => array('px' => 40, 'width' => 10.00000000), |
|
177 | + 6 => array('px' => 48, 'width' => 9.59765625), |
|
178 | + 7 => array('px' => 48, 'width' => 9.59765625), |
|
179 | + 8 => array('px' => 64, 'width' => 9.14062500), |
|
180 | + 9 => array('px' => 72, 'width' => 9.00000000), |
|
181 | 181 | 10 => array('px' => 72, 'width' => 9.00000000), |
182 | 182 | ), |
183 | 183 | ); |
@@ -160,7 +160,7 @@ |
||
160 | 160 | $extracted = $this->zip->extractByIndex($index, PCLZIP_OPT_EXTRACT_AS_STRING); |
161 | 161 | $contents = ''; |
162 | 162 | if ((is_array($extracted)) && ($extracted != 0)) { |
163 | - $contents = $extracted[0]["content"]; |
|
163 | + $contents = $extracted[0]["content"]; |
|
164 | 164 | } |
165 | 165 | } |
166 | 166 | } |