From bae2348fc9ff71b05f06316d9a6adde300b3f4cd Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Sun, 31 Dec 2017 09:53:31 -0200 Subject: [PATCH] Remove extra lines Signed-off-by: Gabriel Caruso --- CHANGELOG.PHPExcel.md | 33 -------------------------- docs/topics/memory_saving.md | 1 - docs/topics/migration-from-PHPExcel.md | 1 - docs/topics/reading-files.md | 8 ------- docs/topics/recipes.md | 2 -- 5 files changed, 45 deletions(-) diff --git a/CHANGELOG.PHPExcel.md b/CHANGELOG.PHPExcel.md index 389a1314..a32f78b5 100644 --- a/CHANGELOG.PHPExcel.md +++ b/CHANGELOG.PHPExcel.md @@ -209,7 +209,6 @@ confused with PhpSpreadsheet versions. - PHPExcel_Chart_Layout now has methods for getting/setting switches for displaying/hiding chart data labels- Discard single cell merge ranges when reading (stupid that Excel allows them in the first place) - @MarkBaker - Discard hidden autoFilter named ranges - @MarkBaker - ## [1.7.7] - 2012-05-19 ### Bugfixes @@ -323,7 +322,6 @@ confused with PhpSpreadsheet versions. - Enhanced SheetViews element structures in the Excel2007 Writer for frozen panes. - @MarkBaker - Removed Serialized Reader/Writer as these no longer work. - @MarkBaker - ## [1.7.5] - 2010-12-10 ### Features @@ -371,7 +369,6 @@ confused with PhpSpreadsheet versions. - Removed spurious PHP end tags (?>) - @MarkBaker - Improved performance (speed) and reduced memory overheads, particularly for the Writers, but across the whole library. - @MarkBaker - ## [1.7.4] - 2010-08-26 ### Bugfixes @@ -410,7 +407,6 @@ confused with PhpSpreadsheet versions. - Correct handling for additional (synonym) formula tokens in Excel5 Reader - @MarkBaker - Additional reading of some Excel2007 Extended Properties (Company, Manager) - @MarkBaker - ## [1.7.3c] - 2010-06-01 ### Bugfixes @@ -418,7 +414,6 @@ confused with PhpSpreadsheet versions. - Fatal error: Class 'ZipArchive' not found... ...Reader/Excel2007.php on line 217 - @MarkBaker [CodePlex #13012](https://phpexcel.codeplex.com/workitem/13012) - PHPExcel_Writer_Excel2007 error after 1.7.3b - @MarkBaker [CodePlex #13398](https://phpexcel.codeplex.com/workitem/13398) - ## [1.7.3b] - 2010-05-31 ### Bugfixes @@ -426,7 +421,6 @@ confused with PhpSpreadsheet versions. - Infinite loop when reading - @MarkBaker [CodePlex #12903](https://phpexcel.codeplex.com/workitem/12903) - Wrong method chaining on PHPExcel_Worksheet class - @MarkBaker [CodePlex #13381](https://phpexcel.codeplex.com/workitem/13381) - ## [1.7.3] - 2010-05-17 ### General @@ -531,7 +525,6 @@ confused with PhpSpreadsheet versions. - Cyclic Reference in Formula - @MarkBaker [CodePlex #12935](https://phpexcel.codeplex.com/workitem/12935) - Memory error...data validation? - @MarkBaker [CodePlex #13025](https://phpexcel.codeplex.com/workitem/13025) - ## [1.7.2] - 2010-01-11 ### General @@ -590,7 +583,6 @@ confused with PhpSpreadsheet versions. - Cannot read A1 cell content - OO_Reader - @MarkBaker [CodePlex #10977](https://phpexcel.codeplex.com/workitem/10977) - Transliteration failed, invalid encoding - @Erik Tilt [CodePlex #11000](https://phpexcel.codeplex.com/workitem/11000) - ## [1.7.1] - 2009-11-02 ### General @@ -694,7 +686,6 @@ confused with PhpSpreadsheet versions. - addExternalSheet() not returning worksheet - @Erik Tilt [CodePlex #10859](https://phpexcel.codeplex.com/workitem/10859) - Invalid results in formulas with named ranges - @MarkBaker [CodePlex #10629](https://phpexcel.codeplex.com/workitem/10629) - ## [1.7.0] - 2009-08-10 ### General @@ -875,7 +866,6 @@ documentation for more information on entering dates into a cell. - Problem with text wrap + merged cells in HTML and PDF writer - @Erik Tilt [CodePlex #9784](https://phpexcel.codeplex.com/workitem/9784) - Adjacent path separators in include_path causing IOFactory to violate open_basedir restriction - @Erik Tilt [CodePlex #9814](https://phpexcel.codeplex.com/workitem/9814) - ## [1.6.6] - 2009-03-02 ### General @@ -942,7 +932,6 @@ documentation for more information on entering dates into a cell. - setAutoSize not taking into account text rotation - @MB,ET [CodePlex #9356](https://phpexcel.codeplex.com/workitem/9356) - Call to undefined method PHPExcel_Worksheet_MemoryDrawing::getPath() in PHPExcel/Writer/HTML.php - @Erik Tilt [CodePlex #9372](https://phpexcel.codeplex.com/workitem/9372) - ## [1.6.5] - 2009-01-05 ### General @@ -1013,7 +1002,6 @@ documentation for more information on entering dates into a cell. - Default style not read by PHPExcel_Reader_Excel2007 - @MarkBaker [CodePlex #8807](https://phpexcel.codeplex.com/workitem/8807) - Blank rows occupy too much space in file generated by PHPExcel_Writer_Excel2007 - @MarkBaker [CodePlex #9341](https://phpexcel.codeplex.com/workitem/9341) - ## [1.6.4] - 2008-10-27 ### Features @@ -1112,7 +1100,6 @@ documentation for more information on entering dates into a cell. - Column width sometimes collapses to auto size using Excel2007 reader/writer - @MarkBaker [CodePlex #7886](https://phpexcel.codeplex.com/workitem/7886) - Data Validation Formula = 0 crashes Excel - @MarkBaker [CodePlex #9343](https://phpexcel.codeplex.com/workitem/9343) - ## [1.6.3] - 2008-08-25 ### General @@ -1179,7 +1166,6 @@ documentation for more information on entering dates into a cell. - Excel2007 writer ignoring row dimensions without cells - @MarkBaker [CodePlex #7372](https://phpexcel.codeplex.com/workitem/7372) - Excel5 reader is converting formatted numbers / dates to strings - @Erik Tilt [CodePlex #7382](https://phpexcel.codeplex.com/workitem/7382) - ## [1.6.2] - 2008-06-23 ### General @@ -1231,7 +1217,6 @@ documentation for more information on entering dates into a cell. - ShowGridLines ignored when reading/writing Excel 2007 - @MarkBaker [CodePlex #6359](https://phpexcel.codeplex.com/workitem/6359) - Bug With Word Wrap in Excel 2007 Reader - @MarkBaker [CodePlex #6426](https://phpexcel.codeplex.com/workitem/6426) - ## [1.6.1] - 2008-04-28 ### General @@ -1262,7 +1247,6 @@ documentation for more information on entering dates into a cell. - PHPExcel_Reader_Excel2007 cannot load PHPExcel_Shared_File - @MarkBaker [CodePlex #5978](https://phpexcel.codeplex.com/workitem/5978) - Output redirection to web browser - @MarkBaker [CodePlex #6020](https://phpexcel.codeplex.com/workitem/6020) - ## [1.6.0] - 2008-02-14 ### Features @@ -1289,7 +1273,6 @@ documentation for more information on entering dates into a cell. - Worksheet::setTitle() causes unwanted renaming - @MarkBaker [CodePlex #5361](https://phpexcel.codeplex.com/workitem/5361) - Hyperlinks not working. Results in broken xlsx file. - @MarkBaker [CodePlex #5407](https://phpexcel.codeplex.com/workitem/5407) - ## [1.5.5] - 2007-12-24 ### General @@ -1358,7 +1341,6 @@ documentation for more information on entering dates into a cell. - Excel5Writer produces broken xls files after change mentioned in work item 4126 - @MarkBaker [CodePlex #4574](https://phpexcel.codeplex.com/workitem/4574) - Small bug in PHPExcel_Reader_Excel2007 function _readStyle - @MarkBaker [CodePlex #4797](https://phpexcel.codeplex.com/workitem/4797) - ## [1.5.0] - 2007-10-23 ### Features @@ -1380,7 +1362,6 @@ documentation for more information on entering dates into a cell. - insertNewColumnBeforeByColumn undefined - @MarkBaker [CodePlex #3812](https://phpexcel.codeplex.com/workitem/3812) - Sheet references not working in formula (Excel5 Writer) - @MarkBaker [CodePlex #3893](https://phpexcel.codeplex.com/workitem/3893) - ## [1.4.5] - 2007-08-23 ### General @@ -1416,7 +1397,6 @@ documentation for more information on entering dates into a cell. - Bug in Excel5 writer (storePanes) - @MarkBaker [CodePlex #3067](https://phpexcel.codeplex.com/workitem/3067) - Memory leak in PHPExcel_Style_Color - @MarkBaker [CodePlex #3077](https://phpexcel.codeplex.com/workitem/3077) - ## [1.4.0] - 2007-07-23 ### General @@ -1441,7 +1421,6 @@ documentation for more information on entering dates into a cell. - Function setAutoFilterByColumnAndRow takes wrong arguments - @MarkBaker [CodePlex #2775](https://phpexcel.codeplex.com/workitem/2775) - Simplexml_load_file fails on ZipArchive - @MarkBaker [CodePlex #2858](https://phpexcel.codeplex.com/workitem/2858) - ## [1.3.5] - 2007-06-27 ### Features @@ -1457,7 +1436,6 @@ documentation for more information on entering dates into a cell. - Empty relations when adding image to any sheet but the first one - @MarkBaker [CodePlex #2443](https://phpexcel.codeplex.com/workitem/2443) - Excel2007 crashes on print preview - @MarkBaker [CodePlex #2536](https://phpexcel.codeplex.com/workitem/2536) - ## [1.3.0] - 2007-06-05 ### General @@ -1484,7 +1462,6 @@ documentation for more information on entering dates into a cell. - Bug in PHPExcel_Cell::stringFromColumnIndex - @SS [CodePlex #2353](https://phpexcel.codeplex.com/workitem/2353) - Reader: numFmts can be missing, use cellStyleXfs instead of cellXfs in styles - @JV [CodePlex #2353](https://phpexcel.codeplex.com/workitem/2353) - ## [1.2.0] - 2007-04-26 ### General @@ -1513,7 +1490,6 @@ documentation for more information on entering dates into a cell. - Protect ranges of cells with a password - @MarkBaker [CodePlex #13](https://phpexcel.codeplex.com/workitem/13) - (style/fill/patternFill/fgColor or bgColor can be empty) - @JV [CodePlex #14](https://phpexcel.codeplex.com/workitem/14) - ## [1.1.1] - 2007-03-26 ### General @@ -1521,7 +1497,6 @@ documentation for more information on entering dates into a cell. - Syntax error in "Classes/PHPExcel/Writer/Excel2007.php" on line 243 - @MarkBaker [CodePlex #1250](https://phpexcel.codeplex.com/workitem/1250) - Reader should check if file exists and throws an exception when it doesn't - @MarkBaker [CodePlex #1282](https://phpexcel.codeplex.com/workitem/1282) - ## [1.1.0] - 2007-03-22 ### Bugfixes @@ -1538,7 +1513,6 @@ documentation for more information on entering dates into a cell. - Page breaks (horizontal and vertical) - @MarkBaker - Image shadows - @MarkBaker - ## [1.0.0] - 2007-02-22 ### Bugfixes @@ -1563,35 +1537,30 @@ documentation for more information on entering dates into a cell. - Conditional formatting - @MarkBaker - Reader for Excel 2007 (not supporting full specification yet!) - @JV - ## [1.0.0 RC] - 2007-01-31 - Project name has been changed to PHPExcel - Project homepage is now http://www.codeplex.com/PHPExcel - Started versioning at number: PHPExcel 1.0.0 RC - ## 2007-01-22 - Fixed some performance issues on large-scale worksheets (mainly loops vs. indexed arrays) - Performance on creating StringTable has been increased - Performance on writing Excel2007 worksheet has been increased - ## 2007-01-18 - Images can now be rotated - Fixed bug: When drawings have full path specified, no mime type can be deducted - Fixed bug: Only one drawing can be added to a worksheet - ## 2007-01-12 - Refactoring of some classes to use ArrayObject instead of array() - Cell style now has support for number format (i.e. #,##0) - Implemented embedding images - ## 2007-01-02 - Cell style now has support for fills, including gradient fills @@ -1600,7 +1569,6 @@ documentation for more information on entering dates into a cell. - Cell style now has support for font colors - Cell style now has support for alignment - ## 2006-12-21 - Support for cell style borders @@ -1616,7 +1584,6 @@ documentation for more information on entering dates into a cell. - Worksheet now has support for row and column dimensions (height / width) - Exceptions thrown have a more clear description - ## Initial version - Create a Spreadsheet object diff --git a/docs/topics/memory_saving.md b/docs/topics/memory_saving.md index 3efef43c..e6b744f4 100644 --- a/docs/topics/memory_saving.md +++ b/docs/topics/memory_saving.md @@ -51,7 +51,6 @@ One such library is [PHP Cache](https://www.php-cache.com/) which provides a wide range of alternatives. Refers to their documentation for details, but here are a few suggestions that should get you started. - ### APCu Require the packages into your project: diff --git a/docs/topics/migration-from-PHPExcel.md b/docs/topics/migration-from-PHPExcel.md index e04a70e8..a65acca6 100644 --- a/docs/topics/migration-from-PHPExcel.md +++ b/docs/topics/migration-from-PHPExcel.md @@ -245,7 +245,6 @@ So the following were removed: - `PHPExcel_Shared_ZipArchive` - `PHPExcel_Shared_ZipStreamWrapper` - ### Cell caching Cell caching was heavily refactored to leverage diff --git a/docs/topics/reading-files.md b/docs/topics/reading-files.md index a298404c..2026eecb 100644 --- a/docs/topics/reading-files.md +++ b/docs/topics/reading-files.md @@ -253,7 +253,6 @@ $inputFileType = 'Xls'; $inputFileName = './sampleData/example1.xls'; $sheetname = 'Data Sheet #3'; - /** Define a Read Filter class implementing \PhpOffice\PhpSpreadsheet\Reader\IReadFilter */ class MyReadFilter implements \PhpOffice\PhpSpreadsheet\Reader\IReadFilter { @@ -329,7 +328,6 @@ database. $inputFileType = 'Xls'; $inputFileName = './sampleData/example2.xls'; - /** Define a Read Filter class implementing \PhpOffice\PhpSpreadsheet\Reader\IReadFilter */ class ChunkReadFilter implements \PhpOffice\PhpSpreadsheet\Reader\IReadFilter { @@ -351,11 +349,9 @@ class ChunkReadFilter implements \PhpOffice\PhpSpreadsheet\Reader\IReadFilter } } - /** Create a new Reader of the type defined in $inputFileType **/ $reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType); - /** Define how many rows we want to read for each "chunk" **/ $chunkSize = 2048; /** Create a new Instance of our Read Filter **/ @@ -407,7 +403,6 @@ $inputFileNames = array('./sampleData/example1.csv', /** Create a new Reader of the type defined in $inputFileType **/ $reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType); - /** Extract the first named file from the array list **/ $inputFileName = array_shift($inputFileNames); /** Load the initial file to the first worksheet in a `Spreadsheet` Object **/ @@ -416,7 +411,6 @@ $spreadsheet = $reader->load($inputFileName); $spreadsheet->getActiveSheet() ->setTitle(pathinfo($inputFileName,PATHINFO_BASENAME)); - /** Loop through all the remaining files in the list **/ foreach($inputFileNames as $sheet => $inputFileName) { /** Increment the worksheet index pointer for the Reader **/ @@ -461,12 +455,10 @@ file across several individual worksheets. $inputFileType = 'Csv'; $inputFileName = './sampleData/example2.csv'; - echo 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'
'; /** Create a new Reader of the type defined in $inputFileType **/ $reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType); - /** Define how many rows we want to read for each "chunk" **/ $chunkSize = 65530; /** Create a new Instance of our Read Filter **/ diff --git a/docs/topics/recipes.md b/docs/topics/recipes.md index 6bfb66a1..0937dcae 100644 --- a/docs/topics/recipes.md +++ b/docs/topics/recipes.md @@ -770,7 +770,6 @@ startColor | getStartColor() endColor | getEndColor() color | getStartColor() - **\PhpOffice\PhpSpreadsheet\Style\Font** Array key | Maps to property @@ -920,7 +919,6 @@ disallow inserting rows on a specific sheet, disallow sorting, ... - Cell: offers the option to lock/unlock a cell as well as show/hide the internal formula. - An example on setting document security: ``` php