diff --git a/Documentation/Examples/Reader/exampleReader18.php b/Documentation/Examples/Reader/exampleReader18.php new file mode 100644 index 00000000..438d8869 --- /dev/null +++ b/Documentation/Examples/Reader/exampleReader18.php @@ -0,0 +1,50 @@ + + + + + +PHPExcel Reader Example #18 + + + + +

PHPExcel Reader Example #18

+

Reading list of WorkSheets without loading entire file

+'; + +$objReader = PHPExcel_IOFactory::createReader($inputFileType); +$worksheetNames = $objReader->listWorksheetNames($inputFileName); + +echo '

Worksheet Names

'; +echo '
    '; +foreach ($worksheetNames as $worksheetName) { + echo '
  1. ', $worksheetName, '
  2. '; +} +echo '
'; + +?> + + \ No newline at end of file diff --git a/Documentation/Examples/Reader/exampleReader19.php b/Documentation/Examples/Reader/exampleReader19.php new file mode 100644 index 00000000..2f3eaaf2 --- /dev/null +++ b/Documentation/Examples/Reader/exampleReader19.php @@ -0,0 +1,53 @@ + + + + + +PHPExcel Reader Example #19 + + + + +

PHPExcel Reader Example #19

+

Reading WorkSheet information without loading entire file

+'; + +$objReader = PHPExcel_IOFactory::createReader($inputFileType); +$worksheetData = $objReader->listWorksheetInfo($inputFileName); + +echo '

Worksheet Information

'; +echo '
    '; +foreach ($worksheetData as $worksheet) { + echo '
  1. ', $worksheet['worksheetName'], '
    '; + echo 'Rows: ', $worksheet['totalRows'], ' Columns: ', $worksheet['totalColumns'], '
    '; + echo 'Cell Range: A1:', $worksheet['lastColumnLetter'], $worksheet['totalRows']; + echo '
  2. '; +} +echo '
'; + +?> + + \ No newline at end of file diff --git a/Documentation/PHPExcel User Documentation - Reading Spreadsheet Files.doc b/Documentation/PHPExcel User Documentation - Reading Spreadsheet Files.doc index 810937e7..ed9573ea 100644 Binary files a/Documentation/PHPExcel User Documentation - Reading Spreadsheet Files.doc and b/Documentation/PHPExcel User Documentation - Reading Spreadsheet Files.doc differ