|
1 | 1 | # Change Log |
2 | 2 |
|
| 3 | +## v3.0.0 |
| 4 | + |
| 5 | +--- |
| 6 | +Release Date: **03.09.2022 - Major Release** |
| 7 | + |
| 8 | +Note: some of the mentioned changes may be already implemented in v2.x as preview functionality |
| 9 | + |
| 10 | +### Workbook and Shortener |
| 11 | + |
| 12 | +- Added a list of MRU colors that can be defined in the Workbook class (methods AddMruColor, ClearMruColors) |
| 13 | +- Added an exposed property for the workbook protection password hash (will be filled when loading a workbook) |
| 14 | +- Added the method SetSelectedWorksheet by name in the Workbook class |
| 15 | +- Added two methods GetWorksheet by name or index in the Workbook class |
| 16 | +- Added the methods CopyWorksheetIntoThis and CopyWorksheetTo with several overloads in the Workbook class |
| 17 | +- Added the function RemoveWorksheet by index with the option of resetting the current worksheet, in the Workbook class |
| 18 | +- Added the function SetCurrentWorksheet by index in the Workbook class |
| 19 | +- Added the function SetSelectedWorksheet by name in the Workbook class |
| 20 | +- Added a Shortener-Class constructor with a workbook reference |
| 21 | +- The shortener functions Down and Right have now an option to keep row and column positions |
| 22 | +- Added two shortener functions Up and Left |
| 23 | +- Made several style assigning methods deprecated in the Workbook class (will be removed in future versions) |
| 24 | + |
| 25 | +### Worksheet |
| 26 | + |
| 27 | +- Added an exposed property for the worksheet protection password hash (will be filled when loading a workbook) |
| 28 | +- Added the methods GetFirstDataColumnNumber, GetFirstDataColumnNumber, GetFirstDataRowNumber, GetFirstRowNumber, GetLastDataColumnNumber, GetFirstCellAddress, GetFirstDataCellAddress, GetLastDataColumnNumber, GetLastDataRowNumber, GetLastRowNumber, GetLastCellAddress, GetLastCellAddress and GetLastDataCellAddress |
| 29 | +- Added the methods GetRow and GetColumns by address string or index |
| 30 | +- Added the method Copy to copy a worksheet (deep copy) |
| 31 | +- Added a constructor with only the worksheet name as parameter |
| 32 | +- Added and option in GoToNextColumn and GoToNextRow to either keep the current row or column |
| 33 | +- Added the methods RemoveRowHeight and RemoveAllowedActionOnSheetProtection |
| 34 | +- Renamed columnAddress and rowAddress to columnNumber and rowNumber in the AddNextCell, AddCellFormula and RemoveCell methods |
| 35 | +- Added several validations for worksheet data |
| 36 | + |
| 37 | +### Cells, Rows and Columns |
| 38 | + |
| 39 | +- In Cell, the address can now have reference modifiers ($) |
| 40 | +- The worksheet reference in the Cell constructor was removed. Assigning to a worksheet is now managed automatically by the worksheet when adding a cell |
| 41 | +- Added a property CellAddressType in Cell |
| 42 | +- Cells can now have null as value, interpreted as empty |
| 43 | +- Added a new overloaded function ResolveCellCoordinate to resolve the address type as well |
| 44 | +- Added ValidateColumnNumber and ValidateRowNumber in Cell |
| 45 | +- In Address, the constructor with string and address type now only needs a string, since reference modifiers ($) are resolved automatically |
| 46 | +- Address objects are now comparable |
| 47 | +- Implemented better address validation |
| 48 | +- Range start and end addresses are swapped automatically, if reversed |
| 49 | + |
| 50 | +### Styles |
| 51 | + |
| 52 | +- Font has now an enum of possible underline values (e.g. instead of a bool) |
| 53 | +- CellXf supports now indentation |
| 54 | +- A new, internal style repository was introduced to streamline the style management |
| 55 | +- Color (RGB) values are now validated (Fill class has a function ValidateColor) |
| 56 | +- Style components have now more appropriate default values |
| 57 | +- MRU colors are now not collected from defined style colors but from the MRU list in the workbook object |
| 58 | +- The ToString function of Styles and all sub parts will now give a complete outline of all elements |
| 59 | +- Fixed several issues with style comparison |
| 60 | +- Several style default values were introduced as constants |
| 61 | + |
| 62 | +### Formulas |
| 63 | + |
| 64 | +- Added uint as possible formula value. Valid types are int, uint, long, ulong, float, double, byte, sbyte, decimal, short and ushort |
| 65 | +- Added several validity checks |
| 66 | + |
| 67 | + |
| 68 | +### Misc |
| 69 | +- Added several constants for boundary dates in the LowLevel class |
| 70 | +- Added several functions for pane splitting in the LowLevel class |
| 71 | +- Exposed the (legacy) password generation method in the LowLevel class |
| 72 | +- Updated documentation among the whole project |
| 73 | +- Exceptions have no sub-tiles anymore |
| 74 | +- Overhauled the whole writer |
| 75 | +- Removed lot of dead code for better maintenance |
| 76 | + |
3 | 77 | ## v2.11.5 |
4 | 78 |
|
5 | 79 | --- |
|
0 commit comments