Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/fixed width #1419

Merged
merged 72 commits into from
May 13, 2024
Merged

Feature/fixed width #1419

merged 72 commits into from
May 13, 2024

Conversation

AdrianEPPlus
Copy link
Contributor

Before submitting this pull request I have...

  • read EPPlus Softwares Contribution Guidlines
  • ensured that the functionality I have added/changed is covered by new unit tests.
  • merged the target branch into the PR branch and resolved any merge conflicts
  • Run all the unit tests and ensured that they all are green (unless the purpose of the PR is to provide us with failing unit tests).

swmal and others added 30 commits February 15, 2024 10:07
* wip

* wip2

* wip

* Wip 2

* wip

* First version of LoadFromCollection after refactoring

* wip 3

* WIP 3

* Adjusted CreatePropertyGetter so it supports inheriting classes to

* Removed uncommented code

---------

Co-authored-by: swmal <{ID}+username}@users.noreply.github.com>
* 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 <jan.kallman@epplussoftware.com>

* 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 <jan.kallman@epplussoftware.com>

* Fixed databars, table alignment, flagging conditionalFormatting as
optional

* Cleanup comments usings and top of file

* Removal of databars + cleanup

---------

Co-authored-by: JanKallman <jan.kallman@epplussoftware.com>
Co-authored-by: swmal <897655+swmal@users.noreply.github.com>
* 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

* Fixes issue #1308

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

* Added new test class

* 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 <jan.kallman@epplussoftware.com>

* 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

* Progress on RichText optmimzation.

* Added more tests

* Fixed color auto property not being read properly

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

* Deleted old files and fixing tests.

* #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

* Fixed some more tests not passing.

* Updated a test.

* Fixes issue #1338

* Updated fixed issues

* Fixes issue #1341

* Bug/issue1338 (#1340)

* Fixes issue #1338

* Updated fixed issues

* EPPlus version 7.0.10

* Fixed rich text for more tests.

* Fixes issue #1335

* 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 <jan.kallman@epplussoftware.com>

* Fixed richtext issues.

* Fixed issue when having multiple spaces is a intersect operator and use keep whitespaces

* Fixed issue with rich text comments not being saved & rich text attrobutes not being copied.

* Cleaned up richtexttests

* Added copy worksheet test for richtext

* Removed RichTextAttributes and using properties again.

* Moved files and deleted new folder.

* Fixed GetIndexColor - as it has been moved to Styles

* Fixed some issues with failed tests

* Ensured mergedcells border can be null

* Fixed remove in ExcelParagraphCollection.

* Removed commented code.

---------

Co-authored-by: JanKallman <jan.kallman@epplussoftware.com>
Co-authored-by: OssianEPPlus <122265629+OssianEPPlus@users.noreply.github.com>
Co-authored-by: swmal <897655+swmal@users.noreply.github.com>
Co-authored-by: Ossian Edström <ossian.edstrom@epplussoftware.com>
JanKallman and others added 28 commits April 19, 2024 14:35
* Fix #1416 nullable members in FromCollection

* Replaced issue test with more appropriate thourough test

* Added comments and ensuring headers
* DataValidation lists can now read showDropDown=0

* Added fixed issues
* build: Use central package management

* build: Fix `DefineConstants` value for test project

---------

Co-authored-by: Jan Källman <jan.kallman@epplussoftware.com>
# Conflicts:
#	src/EPPlus/ExcelRangeBase_Save.cs
#	src/EPPlusTest/SaveFunctions/ToTextTests.cs
Fixes issue #1435 - Name indexer on group drawings did not work.
* Ensured clearing

* Failing test for remove. Cannot remove individual cells

* Functional non-optimized rangeDictionary fix

* Added ClearRows method. Resolved Edge case

* Simplified

* Compressed and simplified further

* Cleanup

* Added fixed issues

* cleaned up comment
# Conflicts:
#	src/EPPlusTest/Export/ToCollection/ToCollectionTests.cs
@JanKallman JanKallman merged commit 8450fac into develop7_2 May 13, 2024
@JanKallman JanKallman deleted the feature/FixedWidth branch May 13, 2024 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants