From 518f06ee20a400d337524b7be28731060df44056 Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Sun, 2 Mar 2014 12:39:44 +0000 Subject: [PATCH] Documentation updates --- ...umentation - Reading Spreadsheet Files.doc | Bin 178176 -> 179200 bytes ...Reader-Options.md => 05-Reader-Options.md} | 0 ...Error-Handling.md => 06-Error-Handling.md} | 0 ...Helper-Methods.md => 07-Helper-Methods.md} | 0 Examples/15datavalidation-xls.php | 23 +++++++++++++++++- 5 files changed, 22 insertions(+), 1 deletion(-) rename Documentation/markdown/ReadingSpreadsheetFiles/{07-Reader-Options.md => 05-Reader-Options.md} (100%) rename Documentation/markdown/ReadingSpreadsheetFiles/{05-Error-Handling.md => 06-Error-Handling.md} (100%) rename Documentation/markdown/ReadingSpreadsheetFiles/{06-Helper-Methods.md => 07-Helper-Methods.md} (100%) diff --git a/Documentation/PHPExcel User Documentation - Reading Spreadsheet Files.doc b/Documentation/PHPExcel User Documentation - Reading Spreadsheet Files.doc index a85a31689a5424f7b131d73e6b91bd67a4750db4..06ee692a112115b0b583d395dee85babf95fa45c 100644 GIT binary patch delta 23467 zcmc)S30zJ2|M>CGIY?0|6>UiNB`U2Xm0fnSW=V{QlzqSU8QEQ2W1m4}3l~|&l9^%b zW9+hp%*@x=$zH$Lr`t7^WxoH%_xJyO^LTbX_bi`tKFfK3&N=sF!s8+nUKN?^Ua_Mh z3_n&vbRjK2W@cq&$(il>5QYwlZd;tXYFlg(WxndH+|ia&%bV{}MDuf&;nG@d3w4`j z3Tv9W3bBAKon7SiLTueCM0Zt)Wz2uYbU_6nE;7G=#q7l&O=GGFafE!l+=Q6ID!Z9B zU|N%W*j#upl|P@DR{dx}dFB+;3$cqWf7&U;UOtDBft_|~tHH?S$xpn0>jX0+1tAwyBplhQj%`^`Z3^^G0OABW=aq9v#%xrzm zQ00an51g7pxWdqBf2dpOw2r+(F_D3T(dx#Xd273xmoYB(k&C^w*5)C`#Xj2V7G*4Rw)T~ay=$0hgS{N>KeJa~?Q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ader-Options.md b/Documentation/markdown/ReadingSpreadsheetFiles/05-Reader-Options.md similarity index 100% rename from Documentation/markdown/ReadingSpreadsheetFiles/07-Reader-Options.md rename to Documentation/markdown/ReadingSpreadsheetFiles/05-Reader-Options.md diff --git a/Documentation/markdown/ReadingSpreadsheetFiles/05-Error-Handling.md b/Documentation/markdown/ReadingSpreadsheetFiles/06-Error-Handling.md similarity index 100% rename from Documentation/markdown/ReadingSpreadsheetFiles/05-Error-Handling.md rename to Documentation/markdown/ReadingSpreadsheetFiles/06-Error-Handling.md diff --git a/Documentation/markdown/ReadingSpreadsheetFiles/06-Helper-Methods.md b/Documentation/markdown/ReadingSpreadsheetFiles/07-Helper-Methods.md similarity index 100% rename from Documentation/markdown/ReadingSpreadsheetFiles/06-Helper-Methods.md rename to Documentation/markdown/ReadingSpreadsheetFiles/07-Helper-Methods.md diff --git a/Examples/15datavalidation-xls.php b/Examples/15datavalidation-xls.php index 22f7edcb..2f8fa5ee 100644 --- a/Examples/15datavalidation-xls.php +++ b/Examples/15datavalidation-xls.php @@ -62,7 +62,15 @@ $objPHPExcel->getActiveSheet()->setCellValue('A1', "Cell B3 and B5 contain data ->setCellValue('A3', "Number:") ->setCellValue('B3', "10") ->setCellValue('A5', "List:") - ->setCellValue('B5', "Item A"); + ->setCellValue('B5', "Item A") + ->setCellValue('A7', "List #2:") + ->setCellValue('B7', "Item #2") + ->setCellValue('D2', "Item #1") + ->setCellValue('D3', "Item #2") + ->setCellValue('D4', "Item #3") + ->setCellValue('D5', "Item #4") + ->setCellValue('D6', "Item #5") + ; // Set data validation @@ -93,6 +101,19 @@ $objValidation->setPromptTitle('Pick from list'); $objValidation->setPrompt('Please pick a value from the drop-down list.'); $objValidation->setFormula1('"Item A,Item B,Item C"'); // Make sure to put the list items between " and " !!! +$objValidation = $objPHPExcel->getActiveSheet()->getCell('B7')->getDataValidation(); +$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_LIST ); +$objValidation->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_INFORMATION ); +$objValidation->setAllowBlank(false); +$objValidation->setShowInputMessage(true); +$objValidation->setShowErrorMessage(true); +$objValidation->setShowDropDown(true); +$objValidation->setErrorTitle('Input error'); +$objValidation->setError('Value is not in list.'); +$objValidation->setPromptTitle('Pick from list'); +$objValidation->setPrompt('Please pick a value from the drop-down list.'); +$objValidation->setFormula1('$D$2:$D$6'); // Make sure NOT to put a range of cells or a formula between " and " !!! + // Set active sheet index to the first sheet, so Excel opens this as the first sheet $objPHPExcel->setActiveSheetIndex(0);