Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
881 commits
Select commit Hold shift + click to select a range
e987289
Merge branch 'feature/svg_chart_and_shape' of https://github.com/EPPl…
OssianEPPlus May 6, 2026
bce7f9f
Merge pull request #2339 from EPPlusSoftware/fix/user-friendly-linefr…
AdrianEPPlus May 7, 2026
24fba26
Consolidated paragraphitem
OssianEPPlus May 7, 2026
2ca768f
reset font-change that broke test
OssianEPPlus May 7, 2026
986a46c
WIP:Fixed several issues with trendlines
JanKallman May 7, 2026
864bf39
AddOwnText added. Major refactor of paragraphItem
OssianEPPlus May 7, 2026
a5cbe09
Formatting
OssianEPPlus May 7, 2026
8a0eda6
Merge branch 'develop9' into feature/svg_chart_and_shape
OssianEPPlus May 7, 2026
e3855b4
Merge branch 'feature/svg_chart_and_shape' of https://github.com/EPPl…
JanKallman May 7, 2026
2aa1e7b
Partial mergefix
OssianEPPlus May 7, 2026
6a9937f
Fixed duplicated font add from merge
OssianEPPlus May 11, 2026
ba5f323
Merge branch 'feature/svg_chart_and_shape' of https://github.com/EPPl…
OssianEPPlus May 11, 2026
3583b4e
WIP
swmal May 12, 2026
e08a401
WIP:Fixed legend issues
JanKallman May 12, 2026
7cefa32
Fixed bugs related to new group item. Drafted improvements
OssianEPPlus May 12, 2026
465343b
Merge branch 'feature/svg_chart_and_shape' of https://github.com/EPPl…
OssianEPPlus May 12, 2026
ffd357b
Fixed several positioning issues with legend items
JanKallman May 13, 2026
2158cc9
Removed unused variables in ExcelRangeBase
JanKallman May 13, 2026
31e3797
Fixed issue with rotated axis labels.Added alt groups
OssianEPPlus May 13, 2026
5fc11ab
Merge branch 'feature/svg_chart_and_shape' of https://github.com/EPPl…
OssianEPPlus May 13, 2026
ee86aef
Re-added add own text
OssianEPPlus May 13, 2026
25932de
Fixed multithreading problems with tests
swmal May 13, 2026
90cb9b1
Fixed point and pie explosion breakage
OssianEPPlus May 13, 2026
b679571
Start of legend for pie chart
OssianEPPlus May 13, 2026
81ef2e9
Legend fix
JanKallman May 15, 2026
731272d
Merge branch 'feature/svg_chart_and_shape' of https://github.com/EPPl…
JanKallman May 15, 2026
4b12f7e
Started refector of image renderer
JanKallman May 15, 2026
4ca7258
WIP:Refactor Drawing Rendering
JanKallman May 18, 2026
4f8bd33
WIP
JanKallman May 18, 2026
e37b228
WIP
JanKallman May 19, 2026
e454e8e
WIP
JanKallman May 19, 2026
7e390d5
WIP:Refactor drawing rendering
JanKallman May 19, 2026
5954dc7
Updated fallback chains
swmal May 19, 2026
d3af8e6
Merged in develop9
swmal May 19, 2026
5ce45d6
WIP:Refactor shape rendering
JanKallman May 19, 2026
25ffc39
Merge pull request #2354 from EPPlusSoftware/feature/fallbackfonts-v3
OssianEPPlus May 19, 2026
c8c6395
WIP:Refactor
JanKallman May 20, 2026
913b886
WIP:Refactor Chart rendering
JanKallman May 20, 2026
d2c1ac2
WIP:Refactor
JanKallman May 21, 2026
c87e239
Glyph-level fallback: route missing glyphs by Unicode script to bundl…
swmal May 21, 2026
fd03de9
WIP:Refactor drawing renderer
JanKallman May 21, 2026
73434af
Added textruns back without alignment or positioning
OssianEPPlus May 21, 2026
5923cce
Made text-alignments work again. Changed group shape
OssianEPPlus May 22, 2026
defbe87
Added more text fixes + new standalone tests
OssianEPPlus May 22, 2026
ed38b5d
Merge branch 'develop9' into feature/DrawingRendererRefactor
OssianEPPlus May 22, 2026
34b44e0
Removed unused test project
OssianEPPlus May 22, 2026
1e9d68b
Fixed multiple null-reference bugs
OssianEPPlus May 25, 2026
6f131c2
Glyph fallback: classify CJK Symbols/Punctuation (U+3000-U+303F) and …
swmal May 25, 2026
b578b36
Added export to openTypeFormat for richText
OssianEPPlus May 25, 2026
5e68c1b
Merge branch 'feature/shared_rich_text_format' into feature/DrawingRe…
OssianEPPlus May 25, 2026
be93b7a
Began implementing new text format
OssianEPPlus May 26, 2026
e9f12fd
unified new and old textfragment but needs infoBase on parent only
OssianEPPlus May 26, 2026
c030d65
Large textfragment refactor
OssianEPPlus May 26, 2026
db7a74f
Fixed layoutengine bug when calling layoutsystem
OssianEPPlus May 26, 2026
97fdb94
Resolved double textfragment bug
OssianEPPlus May 26, 2026
1f20df4
Enhanced layout system test
OssianEPPlus May 26, 2026
911bba6
Fixed fontsize missing bug
OssianEPPlus May 26, 2026
13538dd
Added SvgTextRunRenderer + TextLineCollection props
OssianEPPlus May 26, 2026
6be41a9
Resolved multiple bugs
OssianEPPlus May 26, 2026
3e43eb8
broke DrawingPara import into smaller methods
OssianEPPlus May 27, 2026
f308081
Feature/pdf refactor (#2359)
AdrianEPPlus May 27, 2026
4edf7d9
Fixed ascent and descent bug
OssianEPPlus May 27, 2026
888003d
Minor re-factor(centralization) of TextRun renders
OssianEPPlus May 27, 2026
5379605
Merged develop8->developer9
swmal May 27, 2026
0362809
WIP:Fixes for refactor
JanKallman May 27, 2026
6771ffa
Major refactor of ParagraphRenderItem and DrawingTextRunItem
OssianEPPlus May 27, 2026
baafbbd
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus May 27, 2026
00229e4
WIP:Fixed issues with duplicate svg defs
JanKallman May 28, 2026
f881460
Clean-up and moved into baseclass paragraph
OssianEPPlus May 28, 2026
2528947
Restructured paragraph and cleaned up
OssianEPPlus May 28, 2026
bc06334
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus May 28, 2026
1f93c67
WIP
JanKallman May 28, 2026
edc8ac2
Fixed stroke-mitterlimit rendering1
JanKallman May 28, 2026
91e7e62
bugFix textfragmentBase and TextFragment missmatch
OssianEPPlus May 28, 2026
c0c0334
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus May 28, 2026
775e103
Better solution for same bug
OssianEPPlus May 28, 2026
e207e48
Added tests for and fixed several GetSection bugs
OssianEPPlus May 28, 2026
5dfc1ae
Fixed buFixed bugg
OssianEPPlus May 28, 2026
98f9854
BugFixes: TextSection Length + textlayout
OssianEPPlus May 29, 2026
e5b7c46
Solved font fill fallback issue
OssianEPPlus May 29, 2026
12cda5c
WIP:Fixed several issues with diagonal axis labels. Fixed Title position
JanKallman May 29, 2026
135cc36
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
JanKallman May 29, 2026
7d348d1
WIP: Fix for diagonal text
JanKallman Jun 1, 2026
d6bd4d8
Made piecharts visible again
OssianEPPlus Jun 1, 2026
0bde003
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 1, 2026
76915a1
WIP:Fix legend
JanKallman Jun 1, 2026
ba0a546
Moved changes to piechart from old branch in
OssianEPPlus Jun 1, 2026
09595da
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 1, 2026
3a5a09b
WIP:Legend
JanKallman Jun 1, 2026
b27b5ba
Minor debug changes
OssianEPPlus Jun 1, 2026
409a5ef
Merge branch 'develop9' into feature/DrawingRendererRefactor
OssianEPPlus Jun 1, 2026
f85435f
Partial OpenTypeFontInfoBase refactor
OssianEPPlus Jun 1, 2026
2df4022
Resolved typographic chosen over family name
OssianEPPlus Jun 1, 2026
91f8a1e
WIP:Legend fix
JanKallman Jun 1, 2026
b894380
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
JanKallman Jun 1, 2026
303493d
Attempted to create exact font setting
OssianEPPlus Jun 1, 2026
32341b5
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 1, 2026
6d10367
Fixes vertical axis.
JanKallman Jun 2, 2026
518c092
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
JanKallman Jun 2, 2026
23b8853
Fixed failing tests from font-throw change
OssianEPPlus Jun 2, 2026
c4e61be
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 2, 2026
2a4b7e9
Minor fix missunderstood test
OssianEPPlus Jun 2, 2026
f887709
Merge pull request #2368 from EPPlusSoftware/feature/DrawingRendererR…
OssianEPPlus Jun 2, 2026
1014046
Basic standalone svg textbody
OssianEPPlus Jun 2, 2026
305e171
Removed text decoration if there is none
OssianEPPlus Jun 2, 2026
60741d9
RichTextCollection Shared + renamings
OssianEPPlus Jun 2, 2026
fe70fc7
Renaming and ensuring standalone richtext formatting is applied
OssianEPPlus Jun 2, 2026
15a89f8
Added missing files
OssianEPPlus Jun 2, 2026
32f79df
Fixed trendline data label position.
JanKallman Jun 2, 2026
033d2fb
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
JanKallman Jun 2, 2026
742599a
Added functional DrawingRichTextFormat
OssianEPPlus Jun 2, 2026
b44a618
Started adding full support for sub and superscript
OssianEPPlus Jun 2, 2026
284627b
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 2, 2026
cc36f8e
Fixed broken sub and superscript after refactor
OssianEPPlus Jun 2, 2026
6d92783
Re-instated textbody margins. Needs revision
OssianEPPlus Jun 2, 2026
60f41f4
Added support for capitalization and start of underline color
OssianEPPlus Jun 3, 2026
c20645a
Renamed test project and adjusted solution file
JanKallman Jun 3, 2026
bd9003d
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 3, 2026
70f0021
Added functional colored underline
OssianEPPlus Jun 3, 2026
7d7f9d5
Removed unused method.Added _underlinecolormanager
OssianEPPlus Jun 3, 2026
9860e94
Verified new underline color handling works
OssianEPPlus Jun 3, 2026
05698e9
Cleanup: Commented code
OssianEPPlus Jun 3, 2026
0ba2d56
Cleanup: Removed unused interface
OssianEPPlus Jun 3, 2026
1973fa6
Cleanup: unused file
OssianEPPlus Jun 3, 2026
520e743
Added clearifying comments
OssianEPPlus Jun 3, 2026
7d74166
Merge branch 'develop9' into feature/DrawingRendererRefactor
OssianEPPlus Jun 3, 2026
74145b3
Merge pull request #2375 from EPPlusSoftware/feature/DrawingRendererR…
OssianEPPlus Jun 3, 2026
74a6bc4
Fixed some trendline issues
JanKallman Jun 4, 2026
e16b4c2
Removed, renamed and fixed a few issues
JanKallman Jun 5, 2026
105f3f1
Added new ActualPosition property for axis
JanKallman Jun 5, 2026
181c1ee
Re-implemented pie-chart and explosion
OssianEPPlus Jun 8, 2026
65d52da
Fixed trendline formulas to add superscript to textboxs
JanKallman Jun 8, 2026
74cef87
Added debug properties to pie slices
OssianEPPlus Jun 8, 2026
60a913e
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 8, 2026
2d73a98
Deactivated debug props + cleanup
OssianEPPlus Jun 8, 2026
2a887cd
Simplified constructor
OssianEPPlus Jun 8, 2026
a3b7262
Fixed most trendline sub/superscript issues + rect
OssianEPPlus Jun 8, 2026
b83e331
Added margins to rect
OssianEPPlus Jun 8, 2026
344d7d5
Half fix for duplication
OssianEPPlus Jun 8, 2026
229d086
Fixed datalabel positions. Messily.
OssianEPPlus Jun 9, 2026
77b7382
Fixed datalabels more. Started fixing centering trendline
OssianEPPlus Jun 9, 2026
73c9625
Fixed DrawingTextBox duplicate properties
OssianEPPlus Jun 9, 2026
976e1ae
Fixed Most of trendline centering
OssianEPPlus Jun 9, 2026
5a394ce
Added spacing in trendline strings
OssianEPPlus Jun 9, 2026
ab41985
Fixed stacking axis
JanKallman Jun 9, 2026
b2fb1d5
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
JanKallman Jun 9, 2026
7419417
Tweaked tests. Added recalculation to textbody
OssianEPPlus Jun 9, 2026
7d7113a
Fixed positioning of stacked axis
JanKallman Jun 9, 2026
bd0f235
WIP:Axis positioning and sizeing
JanKallman Jun 9, 2026
45b069b
Fixed line-ending issue
OssianEPPlus Jun 9, 2026
df7cdaa
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 9, 2026
a84dcf6
Verified vertical alignment also functional
OssianEPPlus Jun 9, 2026
388c06e
Changed TextBox. GroupItem realtime. + margin grp
OssianEPPlus Jun 10, 2026
34c04af
Added tests for new textbox
OssianEPPlus Jun 10, 2026
29cd62c
Fixed alignment bug and in ChartTitle.DisplayedText
OssianEPPlus Jun 10, 2026
f8e83b6
Partial trendline fix
OssianEPPlus Jun 10, 2026
859353a
Partial fix for trendline autosize alignment issue
OssianEPPlus Jun 10, 2026
03a5f5d
Functional Trendlines fix
OssianEPPlus Jun 10, 2026
796e9c9
Fixed center-alignment for shapes
OssianEPPlus Jun 11, 2026
1c09dd8
Fixed sIcon location on datalabel
OssianEPPlus Jun 11, 2026
9cae12a
Fixes axis position
JanKallman Jun 11, 2026
7b1403f
Fixed width of textbox
OssianEPPlus Jun 11, 2026
3ed60c4
Fixed multiple paragraph test
OssianEPPlus Jun 15, 2026
dd28f16
Temporary fix for exact font
OssianEPPlus Jun 15, 2026
6531b1b
WIP:Added first test for errorbars
JanKallman Jun 15, 2026
9fd6e4b
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
JanKallman Jun 15, 2026
fc635bb
Fixed some issues on chart axis and legends.
JanKallman Jun 16, 2026
ade4d16
Partial fix for datalabels
OssianEPPlus Jun 16, 2026
da78261
Fixed background for datalabels
OssianEPPlus Jun 16, 2026
d54fccf
Transferred piechart legend special case
OssianEPPlus Jun 16, 2026
f40e61e
Fixed label position on horizontal axis
JanKallman Jun 16, 2026
dd18c5a
Fixes axis label alignment and label positioning
JanKallman Jun 16, 2026
1e0beae
Fixed centering of piechart legend
OssianEPPlus Jun 16, 2026
31d08bc
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 16, 2026
8df3dc4
Start of datalabels for barcharts
OssianEPPlus Jun 16, 2026
5356d8c
Fixed out-end for bar-charts
OssianEPPlus Jun 17, 2026
2b6ff32
Functional datalabels
OssianEPPlus Jun 17, 2026
a84b1d5
Columnn and bar charts correct
OssianEPPlus Jun 17, 2026
f1ab07f
fixed stacked column pos datalabels
OssianEPPlus Jun 17, 2026
c576942
Start of better datalabel system+debug
OssianEPPlus Jun 17, 2026
f8afb27
Started Work on error bars
JanKallman Jun 17, 2026
4248021
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
JanKallman Jun 17, 2026
8d11438
New position functional for center and in-base
OssianEPPlus Jun 17, 2026
b700909
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 17, 2026
48bac1d
Made labels work for inEnd and inBase again
OssianEPPlus Jun 17, 2026
62b16c9
Added outEnd
OssianEPPlus Jun 17, 2026
3337486
Simplified initilization in barChart
OssianEPPlus Jun 17, 2026
7b47db4
Made new system functional for bars AND columns
OssianEPPlus Jun 17, 2026
6bf43e0
Ensured mix of series and custom datalabels get read
OssianEPPlus Jun 18, 2026
d25f9db
Added support for negative columns + margin
OssianEPPlus Jun 18, 2026
6b38834
Ensured works for bar charts as well
OssianEPPlus Jun 18, 2026
9e3ce65
Added simpler but somewhat unclear method
OssianEPPlus Jun 18, 2026
d5ea8ab
Attempting to use functionality in pie item
OssianEPPlus Jun 18, 2026
f6db912
Fixed several pie chart datalabel bugs
OssianEPPlus Jun 18, 2026
c0770cd
Fixed bugs and cleaned up datalabels
OssianEPPlus Jun 22, 2026
3bb4be8
Cleanup and added all pie datalabels to same file
OssianEPPlus Jun 22, 2026
e3695a8
Start of adding svg to html export
OssianEPPlus Jun 22, 2026
c54a8d5
Merge branch 'develop9' into feature/DrawingRendererRefactor
OssianEPPlus Jun 22, 2026
64b8bbb
Render of Errorbars for line charts
JanKallman Jun 22, 2026
273be36
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
JanKallman Jun 22, 2026
18ec82f
Added html tests
OssianEPPlus Jun 22, 2026
0df0bcd
Fixed Errorbars issue
JanKallman Jun 22, 2026
7c46aaa
Added category test
OssianEPPlus Jun 22, 2026
1341b01
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 22, 2026
15fbf9d
Fixed gapwidth for barcharts
OssianEPPlus Jun 22, 2026
0327283
Strong named EPPlus.DrawingRenderer and added tests for .NET 4.6.2.
JanKallman Jun 22, 2026
cb97188
Added stylemanager styling
OssianEPPlus Jun 22, 2026
8f39b97
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
JanKallman Jun 22, 2026
1922b10
Fixed ellipse items having rect type
OssianEPPlus Jun 22, 2026
19fbe51
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
JanKallman Jun 23, 2026
8dcdd7b
Fixed trendline label positioning
JanKallman Jun 23, 2026
5ee696a
Fixed trendline label positioning.
JanKallman Jun 23, 2026
8f99a32
Fixed databar bug + styling border issue
OssianEPPlus Jun 23, 2026
07e7ee1
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 23, 2026
2ecc4d1
Fixed null color for shapes and charts
JanKallman Jun 23, 2026
c2f3e88
Fixed blip fills
JanKallman Jun 23, 2026
a60e584
Start of fix for title element
OssianEPPlus Jun 23, 2026
1559914
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 23, 2026
08439a7
Fixed title bug in epplus
OssianEPPlus Jun 24, 2026
70c6563
Fixes errorbars for bar charts
JanKallman Jun 24, 2026
0ca4cc2
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
JanKallman Jun 24, 2026
396227b
Fixed one test-failure
OssianEPPlus Jun 24, 2026
801f507
Fixed Line Markers
JanKallman Jun 24, 2026
3d451eb
Fixed failing tests for Archivo Narrow
swmal Jun 24, 2026
c91c853
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
swmal Jun 24, 2026
38f37a2
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
JanKallman Jun 24, 2026
4e3ab79
Fixed corrupting issues with previous fix
OssianEPPlus Jun 24, 2026
ed6a024
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 24, 2026
62971c5
Turned off debug points for dlbl
OssianEPPlus Jun 24, 2026
04447fb
Fixed axis and trendlines issues
JanKallman Jun 24, 2026
476e751
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
JanKallman Jun 24, 2026
0543a6f
Differing shape and chart fill
OssianEPPlus Jun 24, 2026
677e371
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 24, 2026
6b7b134
Attempt att resolving style hierarchy correctly
OssianEPPlus Jun 25, 2026
2dd0a5b
Feature/pdfheadings (#2391)
AdrianEPPlus Jun 26, 2026
fd35946
Added new option class to the ToSvg method
JanKallman Jun 29, 2026
8a8d188
Adding additional tests
OssianEPPlus Jun 29, 2026
bd1a513
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 29, 2026
fa81f57
Merge branch 'develop9' into feature/DrawingRendererRefactor
OssianEPPlus Jun 29, 2026
aa2d8ab
Added base-functional chart export
OssianEPPlus Jun 29, 2026
3b6954a
Fixed absolute positioning for charts
OssianEPPlus Jun 29, 2026
5b383df
Start of relative position + multiple charts/shapes
OssianEPPlus Jun 30, 2026
d87b4ef
Merge branch 'develop8' into feature/DrawingRendererRefactor
JanKallman Jun 30, 2026
d6862da
Documented change to DrawingFillBasic
OssianEPPlus Jun 30, 2026
96fd666
Merge branch 'feature/DrawingRendererRefactor' of https://github.com/…
OssianEPPlus Jun 30, 2026
e53b9bf
Feature/drawing renderer refactor (#2396)
JanKallman Jun 30, 2026
1a795f6
Merge branch 'feature/DrawingRendererRefactor' into develop9
JanKallman Jun 30, 2026
e3c0d7f
Fix for failing tests
OssianEPPlus Jun 30, 2026
60232b5
Add per-workbook RenderContext on ExcelWorkbook (#2395)
swmal Jun 30, 2026
5570298
Changes to EPPlus.csproj to ensure that other project-binaries are co…
swmal Jul 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 20 additions & 0 deletions .github/workflows/Build-Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,26 @@ jobs:

- name: Restore dependencies
run: dotnet restore ./src/EPPlus.sln

# --- SBOM ---
- name: Install CycloneDX
run: dotnet tool install --global CycloneDX
- name: Read version from csproj
id: read_version
run: |
$version = ([xml](Get-Content ./src/EPPlus/EPPlus.csproj)).Project.PropertyGroup.Version | Where-Object { $_ } | Select-Object -First 1
echo "VERSION=$version" >> $env:GITHUB_ENV
shell: pwsh
- name: Generate SBOM
run: dotnet CycloneDX ./src/EPPlus/EPPlus.csproj -o ./sbom -F Json -st Library -sv ${{ env.VERSION }} -fn epplus-${{ env.VERSION }}.sbom.json -imp ./src/EPPlus/sbom-metadata-template.xml
- name: Generate SHA-256 checksum for SBOM
run: |
$sbomFile = "./sbom/epplus-${{ env.VERSION }}.sbom.json"
$hash = (Get-FileHash -Path $sbomFile -Algorithm SHA256).Hash.ToLower()
"$hash epplus-${{ env.VERSION }}.sbom.json" | Out-File -FilePath "./sbom/epplus-${{ env.VERSION }}.sbom.json.sha256" -Encoding utf8NoBOM
shell: pwsh
# --- SBOM ---

- name: Build
run: dotnet build ./src/EPPlus.sln --no-restore --configuration Release
- name: Test
Expand Down
13 changes: 12 additions & 1 deletion docs/articles/breakingchanges.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,19 @@ Renaming worksheet's will now change the formula correctly to include single quo

### 8.0.2
* Removed base class from ExcelVmlDrawingPosition and with that the Load, UpdateXml methods and the RowOff and ColOff properties as they were duplicates.
### 8.5.0
* Setting dataLabelPosition.Top on BarCharts corrupted the excel file when saved. Trying to set this now throws an error instead.
* NumberFormatToTextArgs.NumberFormat now returns the interface IExcelNumberFormat rather than the ExcelNumberFormatXml class. All public variables remain the same and it can be safely cast to ´ExcelNumberFormatXml´ as long as ´Package.Workbook.NumberFormatToTextHandler´ is null.


### 8.5.5
* `ws.Cells["A1"].RichText` no longer sets cells with `null` to `string.empty`
* .RichText no longer sets the cell or contents to be RichText automatically.
This is instead done when properties such as; `.Text`, `.Add` or `.Insert` are set on the .RichText property.
This is instead done when properties such as; `.Text`, `.Add` or `.Insert` are set on the .RichText property.
The misspelled enum eCompundLineStyle has been renamed eCompoundLineStyle.


### 9.0.0
The misspelled enum eCompundLineStyle has been renamed eCompoundLineStyle.
The misspelled property on drawingFill `Transparancy` has been renamed to `Transparency`
The `Richtext.Baseline` property now always return that value in whole percent.
2 changes: 2 additions & 0 deletions docs/articles/fixedissues.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Features / Fixed issues - EPPlus 8
## Version 9.0.0
* Added 'Layout' property to 'ExcelChartTrendlineLabel' class.

## Version 8.6 1
### Features
Expand Down
1 change: 1 addition & 0 deletions src/.runsettings
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
<DeleteDeploymentDirectoryAfterTestRunIsComplete>False</DeleteDeploymentDirectoryAfterTestRunIsComplete>
<DeploymentEnabled>False</DeploymentEnabled>
<ConsiderFixturesAsSpecialTests>False</ConsiderFixturesAsSpecialTests>
<OrderTestsByNameInClass>true</OrderTestsByNameInClass>
</MSTest>
</RunSettings>
9 changes: 5 additions & 4 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="BenchmarkDotNet" Version="0.15.8" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="8.0.1" />
<PackageVersion Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.1" />
<PackageVersion Include="MSTest" Version="3.10.2" />
<PackageVersion Include="MSTest" Version="3.10.4" />
<PackageVersion Include="System.ComponentModel.Annotations" Version="5.0.0" />
<PackageVersion Include="System.Drawing.Common" Version="8.0.26" />
<PackageVersion Include="System.Formats.Asn1" Version="8.0.2" />
Expand All @@ -17,9 +18,9 @@
<ItemGroup>
<PackageVersion Include="FakeItEasy" Version="8.0.0" />
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.7.3" />
<PackageVersion Include="MSTest.TestFramework" Version="3.7.3" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.10.4" />
<PackageVersion Include="MSTest.TestFramework" Version="3.10.4" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
</Project>
83 changes: 83 additions & 0 deletions src/EPPlus.DrawingRenderer.Tests/Chart/BarChartTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
using OfficeOpenXml;
using OfficeOpenXml.Drawing.Chart;

namespace EPPlus.Export.ImageRenderer.Tests.Chart
{
[TestClass]
public class BarChartTests : TestBase
{
[TestMethod]
public void GenerateSvgForBarCharts1()
{
ExcelPackage.License.SetNonCommercialOrganization("EPPlus Project");
using (var p = OpenTemplatePackage("BarChartForSvg.xlsx"))
{
var ws = p.Workbook.Worksheets[0];

//var ix = 1;
//var c = ws.Drawings[ix];
//var svg = c.ToSvg();
//SaveTextFileToWorkbook($"svg\\ChartForSvg_ind{ix++}.svg", svg);

var ix = 0;
foreach (ExcelChart c in ws.Drawings)
{
var svg = c.ToSvg(x => { x.Size.Width = 100; x.Size.Height = 100; });
SaveTextFileToWorkbook($"svg\\BarChartForSvg_sheet1_{ix++}.svg", svg);
}
}
}
[TestMethod]
public void GenerateSvgForBarCharts2()
{
ExcelPackage.License.SetNonCommercialOrganization("EPPlus Project");
using (var p = OpenTemplatePackage("BarChartForSvg.xlsx"))
{
var ws = p.Workbook.Worksheets[1];
var ix = 0;
foreach (ExcelChart c in ws.Drawings)
{
var svg = c.ToSvg();
SaveTextFileToWorkbook($"svg\\BarChartForSvg_sheet2_{ix++}.svg", svg);
}
}
}

[TestMethod]
public void DatalabelBarCharts()
{
ExcelPackage.License.SetNonCommercialOrganization("EPPlus Project");
using (var p = OpenTemplatePackage("BarChartForSvgDatalabelsBasic.xlsx"))
{
var ws = p.Workbook.Worksheets[0];
var drawings = ws.Drawings;
var ix = 1;

for (int i = ix; i < drawings.Count; i++)
{
var svg = drawings[i].ToSvg();
SaveTextFileToWorkbook($"svg\\BarChartDataLabels{ix++}.svg", svg);
}
}
}


[TestMethod]
public void NegativeDatalabelBarCharts()
{
ExcelPackage.License.SetNonCommercialOrganization("EPPlus Project");
using (var p = OpenTemplatePackage("negativeDatalabels.xlsx"))
{
var ws = p.Workbook.Worksheets[0];
var drawings = ws.Drawings;
var ix = 0;

for (int i = ix; i < drawings.Count; i++)
{
var svg = drawings[i].ToSvg();
SaveTextFileToWorkbook($"svg\\NegativeLabels{ix++}.svg", svg);
}
}
}
}
}
57 changes: 57 additions & 0 deletions src/EPPlus.DrawingRenderer.Tests/Chart/ColumnChartTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
using OfficeOpenXml;
using OfficeOpenXml.Drawing.Chart;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EPPlus.Export.ImageRenderer.Tests.Chart
{
[TestClass]
public class ColumnChartTests : TestBase
{
[TestMethod]
public void GenerateSvgForColumnCharts1()
{
ExcelPackage.License.SetNonCommercialOrganization("EPPlus Project");
using (var p = OpenTemplatePackage("ColumnChartForSvg.xlsx"))
{
var ws = p.Workbook.Worksheets[0];

//var ix = 1;
//var c = ws.Drawings[ix];
//var svg = c.ToSvg();
//SaveTextFileToWorkbook($"svg\\ChartForSvg_ind{ix++}.svg", svg);

var ix = 0;
foreach (ExcelChart c in ws.Drawings)
{
var svg = c.ToSvg();
SaveTextFileToWorkbook($"svg\\ColumnChartForSvg_sheet1_{ix++}.svg", svg);
}
}
}
[TestMethod]
public void GenerateSvgForColumnCharts2()
{
ExcelPackage.License.SetNonCommercialOrganization("EPPlus Project");
using (var p = OpenTemplatePackage("ColumnChartForSvg.xlsx"))
{
var ws = p.Workbook.Worksheets[1];

//var ix = 2;
//var c = ws.Drawings[ix];
//var svg = renderer.RenderDrawingToSvg(c);
//SaveTextFileToWorkbook($"svg\\ChartForSvg_ind{ix++}.svg", svg);

var ix = 0;
foreach (ExcelChart c in ws.Drawings)
{
var svg = c.ToSvg();
SaveTextFileToWorkbook($"svg\\ColumnChartForSvg_sheet2_{ix++}.svg", svg);
}
}
}
}
}
31 changes: 31 additions & 0 deletions src/EPPlus.DrawingRenderer.Tests/Chart/ComboChartTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
using OfficeOpenXml;
using OfficeOpenXml.Drawing.Chart;

namespace EPPlus.Export.ImageRenderer.Tests.Chart
{
[TestClass]
public class ComboChartToSvgTests : TestBase
{
[TestMethod]
public void GenerateSvgForComboCharts_sheet1()
{
ExcelPackage.License.SetNonCommercialOrganization("EPPlus Project");
using (var p = OpenTemplatePackage("ComboChart.xlsx"))
{
var ws = p.Workbook.Worksheets[0];

//var ix = 1;
//var c = ws.Drawings[ix];
//var svg = renderer.RenderDrawingToSvg(c);
//SaveTextFileToWorkbook($"svg\\ComboChart_Sheet1_{ix++}.svg", svg);

var ix = 0;
foreach (ExcelChart c in ws.Drawings)
{
var svg = c.ToSvg();
SaveTextFileToWorkbook($"svg\\ComboChart_sheet1_{ix++}.svg", svg);
}
}
}
}
}
70 changes: 70 additions & 0 deletions src/EPPlus.DrawingRenderer.Tests/Chart/ErrorbarsTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
using OfficeOpenXml;
using OfficeOpenXml.Drawing.Chart;

namespace EPPlus.Export.ImageRenderer.Tests.Chart
{
[TestClass]
public class ErrorbarsTests : TestBase
{
[TestMethod]
public void GenerateSvgForErrorbars_Line_Sheet1()
{
ExcelPackage.License.SetNonCommercialOrganization("EPPlus Project");
using (var p = OpenTemplatePackage("Errorbars.xlsx"))
{
var ws = p.Workbook.Worksheets[0];
//var ix = 4;
//var c = ws.Drawings[ix];
//var svg = c.ToSvg();
//SaveTextFileToWorkbook($"svg\\Error_sheet1_ind{ix++}.svg", svg);

var ix = 0;
foreach (ExcelChart c in ws.Drawings)
{
var svg = c.ToSvg();
SaveTextFileToWorkbook($"svg\\Errorbar_sheet1_{ix++}.svg", svg);
}
}
}
[TestMethod]
public void GenerateSvgForErrorbars_Column_Sheet2()
{
ExcelPackage.License.SetNonCommercialOrganization("EPPlus Project");
using (var p = OpenTemplatePackage("Errorbars.xlsx"))
{
var ws = p.Workbook.Worksheets[1];
//var ix = 4;
//var c = ws.Drawings[ix];
//var svg = c.ToSvg();
//SaveTextFileToWorkbook($"svg\\Error_sheet1_ind{ix++}.svg", svg);

var ix = 0;
foreach (ExcelChart c in ws.Drawings)
{
var svg = c.ToSvg();
SaveTextFileToWorkbook($"svg\\Errorbar_sheet2_{ix++}.svg", svg);
}
}
}
[TestMethod]
public void GenerateSvgForErrorbars_Bar_Sheet3()
{
ExcelPackage.License.SetNonCommercialOrganization("EPPlus Project");
using (var p = OpenTemplatePackage("Errorbars.xlsx"))
{
var ws = p.Workbook.Worksheets[2];
//var ix = 4;
//var c = ws.Drawings[ix];
//var svg = c.ToSvg();
//SaveTextFileToWorkbook($"svg\\Error_sheet1_ind{ix++}.svg", svg);

var ix = 0;
foreach (ExcelChart c in ws.Drawings)
{
var svg = c.ToSvg();
SaveTextFileToWorkbook($"svg\\Errorbar_sheet3_{ix++}.svg", svg);
}
}
}
}
}
Loading
Loading