Skip to content

Commit

Permalink
Feature/cf html exporter (#1349)
Browse files Browse the repository at this point in the history
* New css and html connection based on CF. Poor performance

* Added Quadtree fetched CF-dictionary

* First solution functional on single cells

* Added support for more types and start of class diagraAdded support for
more types and start of class diagramm

* Temp draft save

* Added endsWith

* Added several styles to dxfCss

* Fixed underline and strike through but can't stop strikethrough double

* Staticified some caches

* Added wrapper

* Broke out stylecache from css adjusted names of css styles to stack in
right specificity order and fixed bug in get collection from range

* Completely removed stylecache from writers

* Initial creation of new writers

* Ensured translator and new writer can handle fills

* Added TranslatorBase fill font and translatorContext logic

* Added border and textFormat translators

* Simplified rangeTranslator and added sharedClasses

* Added stylecache

* Added picture translator

* Properties and new if-case

* Added stylechecker class

* Translators

* Start of adding dxf

* Generic style draft

* First draft of styleContracts

* New draft applying interfaces instead

* Adding of color

* color fixes

* Color added

* Added initial border

* Renamed interface style and re-introduced merged cells

* Attempt at delegates

* New handling of intersect detection

* Simplification of conditionalFormatting

* Started adding tables. Alignment missing on range

* Added start of table writer replacement

* Added table support

* Fixed bugs for table in range. In process of fixing tableExporter

* minor fix

* Added async writing to new methods

* Async support and table/range unification

* Finialized unification

* Fixes fill when no fill was present

* Fixed multiple bugs to ensure all tests pass

* Cleanup and deletion of old files

* Html alternative draftHtml

* Half-implemented header row

* Added htmlElement to headerRow

* Function breakout and start of renderTablerows

* Fixed minor formatting htmlsync bugs

* Simplified writer fixed html formatting of images in cells

* Start of joint functions for html tables and ranges

* Moved range over to standard functions. Removed unused functions

* Performance fixes using hashes

* Minor improvements

* Generalized sync async html and removed unused functions

* Cleaned up and unified functionality

* Fixed CF and hyperlink bugs. Removed classDiagram

* Fixed hyperlinks and unnecesary whitespaces after

* Fixed not adding whitespaces where appropriate

* Added containsErrors cf

* Added cf_Between shouldApply with edge cases and missmatches

* Added fix for calculatedFormula issues

* Fixed cell value set bug and simplified between

* Added simplifications, bug fix and test

* Added Averages to exporter/shouldApply

* Added should apply for timeGroup between greater than and less than

* Added standardDeviation should apply

* Added unique shouldApply

* Added TopBottom function

* Added basic twoColorScale implementation

* Ensured range functionality on headers and easier implementation of
future special cases

* Added faulty 3 color

* Ensured Threerange is correct when values non-linear

* Started adding databar

* Half-made databar

* Added better chaching of cellValues

* removed empty line

* Ensured removal of tempExport Data. Positive databar implementation

* further partial databar implementation

* Fixed text-alignment and color scale dissapear issues

* Adding Databar functionality

* Added databar border and moved to css

* Added axis position start

* Added variable axis position in html exporter for databars

* Added horizontal and vertical text-alignment to databars

* Added databar solution to header

* Start of shared formulas for cfs

* Added dynamically calculated formulas to cfs

* Resolved Token list not clearing on between bug

* Simplification of css data gathering and cleanup

* Added highly innefficent colName solution

* Fixed notbetween handling

* Added null-handling for cellIs shouldApply functions

* Fixes for text functions

* Fixes for end users

* Fixes issue #1292

* Bug/s608 first sheet deletion (#1294)

* Beggining of solution

* Simplified solution. Added tests and exception

* Cleanup

* Fixes issue #1298

* Added test

* Fixed test

* Fixes issue #1298 (#1299)

* Fixes issue #1298

* Added test

* Fixed test

* EPPlus version 7.0.9

* Fixes issue #1302

* Fixes issue 1304

* Resolved null-reference bugs and spell-checked "extentions"

* Ensured top/bottom can handle error and other values correctly

* Removed stale exception

* Fixes issue #1308

* Fixes #1313. Better handling of defined names and encode ExcelNamedRange.NameValue property on save

* Ensured shouldApply as appropriate

* Added new test class

* Bugfixing

* Bug/s615 data validation read (#1307)

* Added new test removed issue test

* Added readwrite to test for confirmation

* Added fixed issues

* Secured DataValidation reading. Fixed i1312

* Non-working strict solution

* Resolved dataValidation read issues. Added docs

* Cleanup and commenting

* Make test happy in production

---------

Co-authored-by: Jan Källman <[email protected]>

* Fixes issue #1320 (#1322)

* Bug/issue1321 (#1324)

* Fixes issue #1320

* Fixes issue #1321

* Added CellStore Test

* #1329 - adjusted ActiveTab when moving worksheets

* #1327 - EPPlus removed all styling when setting a Table's CalculatedFormula to an empty string

* #1327 - fixed failing unit test, added ClearFormulas call

* #1332 - Intersect operator was replaced with 'isc' when copying cells (#1333)

* #1332 - Intersect operator was replaced with 'isc' when copying cells

* #1332 - removed the added static DefaultPreserveWhiteSpace from SourceCodeTokenizer

* Fixes issue #1338

* Updated fixed issues

* Fixed text contains error

* Fixes issue #1341

* Bug/issue1338 (#1340)

* Fixes issue #1338

* Updated fixed issues

* Colorscale bugfix

* Added fix for two colorscale as well

* EPPlus version 7.0.10

* Fixes #1343. Writing and loading pivot table attribute on CFs (#1344)

* Fixes #1343. Writing and loading pivot table attribute on CFs

* Added docs

* Bug/s635 insert row (#1346)

* Fixes #1345 fixed read exception faulty while loop

* Added template-free test

* fixed LastToken and added docs

---------

Co-authored-by: Jan Källman <[email protected]>

* Fixed databars, table alignment, flagging conditionalFormatting as
optional

* Cleanup comments usings and top of file

* Removal of databars + cleanup

---------

Co-authored-by: JanKallman <[email protected]>
Co-authored-by: swmal <[email protected]>
  • Loading branch information
3 people committed Mar 15, 2024
1 parent 17c513c commit 1b1fddf
Show file tree
Hide file tree
Showing 218 changed files with 10,774 additions and 6,058 deletions.
10 changes: 5 additions & 5 deletions appveyor7.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
version: 7.0.8.{build}
version: 7.0.10.{build}
branches:
only:
- develop7
configuration: release
image: Visual Studio 2022
init:
- ps: >-
Update-AppveyorBuild -Version "7.0.8.$env:appveyor_build_number-$(Get-Date -format yyyyMMdd)-$env:appveyor_repo_branch"
Update-AppveyorBuild -Version "7.0.10.$env:appveyor_build_number-$(Get-Date -format yyyyMMdd)-$env:appveyor_repo_branch"
Write-Host "7.0.8.$env:appveyor_build_number-$(Get-Date -format yyyyMMdd)-$env:appveyor_repo_branch"
Write-Host "7.0.10.$env:appveyor_build_number-$(Get-Date -format yyyyMMdd)-$env:appveyor_repo_branch"
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
assembly_version: 7.0.8.{build}
file_version: 7.0.8.{build}
assembly_version: 7.0.10.{build}
file_version: 7.0.10.{build}
nuget:
project_feed: true
before_build:
Expand Down
8 changes: 7 additions & 1 deletion docs/articles/breakingchanges.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,10 @@ Misspelled property `ExcelIgnoreError.CalculatedColumm` has been renamed `Calcul
* Misspelled enum member `eTrendLine.MovingAvgerage` has been removed and replaced with `eTrendLine.MovingAverage`
* ConditionalFormatting classes are now Internal. Interfaces for each class exist and have all relevant properties instead.
#### ExcelHyperlink
* Renamed misspelled properties `ColSpann` and `RowSpann` to `ColSpan` and `RowSpan` on the `ExcelHyperLink` class.
* Renamed misspelled properties `ColSpann` and `RowSpann` to `ColSpan` and `RowSpan` on the `ExcelHyperLink` class.

### Breaking Change From EPPlus 7.1
#### Data Validation
* Removed DataValidationStaleException as DataValidations cannot be stale since Epplus 7.
#### Defined Names
* EPPlus will now encode string values and in defined name .
41 changes: 40 additions & 1 deletion docs/articles/fixedissues.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,43 @@
# Features / Fixed issues - EPPlus 7

# Features / Fixed issues - EPPlus 7
## Version 7.1
### Fixed issues
* Inserting rows would cause an exception to occur in formulas in rare cases.
* Special signs such as `'` when last in a formula would throw an exception in rare cases.
* Reading Conditional Formattings with property PivotTable = true failed to read in property.
* Tokenize an intersect operator with the _keepWhitespaces set, caused both a white-space token and a intesect operator to be added.

## Version 7.0.10
### Fixed issues
* Having a workbook with group drawings in group drawings caused EPPlus to fail on load.
* Having #REF with a sheet reference when inserting a Row/Column caused the formula to become corrupt.
* Files from 7.0.6 and prior with Data Validations would sometimes fail to be read.
* Data Validations with AlternateContent nodes are now read if the Fallback node contains formulas.
* Some cultures would sometimes get double negative signs in the .Text property of cells.
* Invalid characters in the name parameter were not validated for the AddValue and AddFormula methods of ExcelNamedRangeCollection.
* Defined names with string values was not xml encoded on saving the package.
* Setting style's (like Font for a cell) on the row level did not get the cell style from the column level causing cells intersecting to loose that style.
* ExcelRangeBase.SaveToText and ExcelRangeBase.SaveToTextAsync with a FileInfo did not close the file.
* Intersect operator was replaced with 'isc' when copying cells
* EPPlus removed all styling when setting a Table's CalculatedFormula to an empty string
* ActiveTab was not re-calculated when moving worksheet

## Version 7.0.9
### Fixed issues
* The formula tokenizer did not handle minus correctly before table addresses.
* Inserting rows/columns could cause drawings to get a incorrect width/height.
* Saving multiple times caused hyperlinks to multiply.
* Saving multiple times caused dxf border styles for tables to become corrupt if set.
* EPPlus can now handle up to 66 indexed colors
* VALUE function did not support multicell input
* Deleting the first worksheet in a workbook that has "IsWorksheets1Based = true" no longer throws out of range exception.
* Ensured workbooks do not become corrupted after SaveAs if they have certain empty xml nodes.
* Inserting cells, rows or columns next to Conditional Formatting ranges now automatically extends those ranges to the new cells as in Excel.
* Cell with bool value no longer returns "0" and "1" on text property now returns "TRUE" or "FALSE" instead as in Excel.
* Conditional formatting’s with space separated addresses now saves appropriately.
* Text input with a "-" such as " -ACat" in some functions such as e.g. SumIf resulted in faulty error calculations.
* Adding a new table column and change the Name property caused the total row to incorrectly return #DIV/0.

## Version 7.0.8
### Fixed issues
* Validation of VBA module names failed when containing a space
Expand Down
Loading

0 comments on commit 1b1fddf

Please sign in to comment.