diff --git a/Classes/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt b/Classes/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt index 20a8258..a088989 100644 --- a/Classes/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt +++ b/Classes/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt @@ -15,3 +15,6 @@ pChart TeeChart http://www.steema.com/products/teechart/overview.html + +PHPGraphLib + http://www.ebrueggeman.com/phpgraphlib \ No newline at end of file diff --git a/Classes/PHPExcel/Reader/Excel5.php b/Classes/PHPExcel/Reader/Excel5.php index 9b122e4..62e971d 100644 --- a/Classes/PHPExcel/Reader/Excel5.php +++ b/Classes/PHPExcel/Reader/Excel5.php @@ -5465,7 +5465,7 @@ class PHPExcel_Reader_Excel5 extends PHPExcel_Reader_Abstract implements PHPExce unset($space2, $space3, $space4, $space5); break; case 'tArray': // array constant - $constantArray = self::_readBIFF8ConstantArray($additionalData); + $constantArray = self::readBIFF8ConstantArray($additionalData); $formulaStrings[] = $space1 . $space0 . $constantArray['value']; $additionalData = substr($additionalData, $constantArray['size']); // bite of chunk of additional data unset($space0, $space1); @@ -7217,7 +7217,7 @@ class PHPExcel_Reader_Excel5 extends PHPExcel_Reader_Abstract implements PHPExce for ($r = 1; $r <= $nr + 1; ++$r) { $items = array(); for ($c = 1; $c <= $nc + 1; ++$c) { - $constant = self::_readBIFF8Constant($arrayData); + $constant = self::readBIFF8Constant($arrayData); $items[] = $constant['value']; $arrayData = substr($arrayData, $constant['size']); $size += $constant['size']; diff --git a/Classes/PHPExcel/Reader/HTML.php b/Classes/PHPExcel/Reader/HTML.php index 2500f16..ac762a4 100644 --- a/Classes/PHPExcel/Reader/HTML.php +++ b/Classes/PHPExcel/Reader/HTML.php @@ -494,7 +494,7 @@ class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_ // Reload the HTML file into the DOM object $loaded = $dom->loadHTML(mb_convert_encoding($this->securityScanFile($pFilename), 'HTML-ENTITIES', 'UTF-8')); if ($loaded === false) { - throw new PHPExcel_Reader_Exception('Failed to load ', $pFilename, ' as a DOM Document'); + throw new PHPExcel_Reader_Exception('Failed to load ' . $pFilename . ' as a DOM Document'); } // Discard white space diff --git a/Documentation/PHPExcel developer documentation.doc b/Documentation/PHPExcel developer documentation.doc index 2c7c81a..52cc964 100644 Binary files a/Documentation/PHPExcel developer documentation.doc and b/Documentation/PHPExcel developer documentation.doc differ diff --git a/Documentation/markdown/Overview/08-Recipes.md b/Documentation/markdown/Overview/08-Recipes.md index 6ee9c69..5e202db 100644 --- a/Documentation/markdown/Overview/08-Recipes.md +++ b/Documentation/markdown/Overview/08-Recipes.md @@ -103,13 +103,13 @@ This is regardless of which language version of Microsoft Office Excel may have When the final workbook is opened by the user, Microsoft Office Excel will take care of displaying the formula according the applications language. Translation is taken care of by the application! -The following line of code writes the formula '=IF(C4>500,"profit","loss")' into the cell B8. Note that the formula must start with "=" to make PHPExcel recognise this as a formula. +The following line of code writes the formula '=IF(C4>500,"profit","loss")' into the cell B8. Note that the formula must start with "=" to make PHPExcel recognise this as a formula. ```php $objPHPExcel->getActiveSheet()->setCellValue('B8','=IF(C4>500,"profit","loss")'); ``` -If you want to write a string beginning with an "=" character to a cell, then you should use the setCellValueExplicit() method. +If you want to write a string beginning with an "=" character to a cell, then you should use the setCellValueExplicit() method. ```php $objPHPExcel->getActiveSheet() @@ -167,22 +167,22 @@ At present, the following locale settings are supported: Language | | Locale Code ---------------------|----------------------|------------- - Czech | Cetina | cs + Czech | Ceština | cs Danish | Dansk | da German | Deutsch | de - Spanish | Espaol | es + Spanish | Español | es Finnish | Suomi | fi - French | Franais | fr + French | Français | fr Hungarian | Magyar | hu Italian | Italiano | it Dutch | Nederlands | nl Norwegian | Norsk | no Polish | Jezyk polski | pl - Portuguese | Portugus | pt - Brazilian Portuguese | Portugus Brasileiro | pt_br + Portuguese | Português | pt + Brazilian Portuguese | Português Brasileiro | pt_br Russian | ??????? ???? | ru Swedish | Svenska | sv - Turkish | Trke | tr + Turkish | Türkçe | tr ### Write a newline character "\n" in a cell (ALT+"Enter") @@ -843,7 +843,7 @@ You can instruct PHPExcel to add a summary to the right (default), or to the lef $objPHPExcel->getActiveSheet()->setShowSummaryRight(false); ``` -### Setting a row''s height +### Setting a row's height A row's height can be set using the following code: @@ -851,6 +851,8 @@ A row's height can be set using the following code: $objPHPExcel->getActiveSheet()->getRowDimension('10')->setRowHeight(100); ``` +Excel measures row height in points, where 1 pt is 1/72 of an inch (or about 0.35mm). The default value is 12.75 pts; and the permitted range of values is between 0 and 409 pts, where 0 pts is a hidden row. + ### Show/hide a row To set a worksheet''s row visibility, you can use the following code. The following example hides row number 10. @@ -1059,7 +1061,7 @@ Sometimes, one really wants to output a file to a client''s browser, especially 2. Output HTTP headers for the type of document you wish to output 3. Use the PHPExcel_Writer_* of your choice, and save to "php://output" -PHPExcel_Writer_Excel2007 uses temporary storage when writing to php://output. By default, temporary files are stored in the script's working directory. When there is no access, it falls back to the operating system's temporary files location. +PHPExcel_Writer_Excel2007 uses temporary storage when writing to php://output. By default, temporary files are stored in the script's working directory. When there is no access, it falls back to the operating system's temporary files location. __This may not be safe for unauthorized viewing!__ Depending on the configuration of your operating system, temporary storage can be read by anyone using the same temporary storage folder. When confidentiality of your document is needed, it is recommended not to use php://output. @@ -1146,7 +1148,7 @@ To set a worksheet's zoom level, the following code can be used: $objPHPExcel->getActiveSheet()->getSheetView()->setZoomScale(75); ``` -Note that zoom level should be in range 10 – 400. +Note that zoom level should be in range 10 – 400. ### Sheet tab color