Fix rich text rendering in PDF export and stop mutating source workbook#2371
Closed
swmal wants to merge 3 commits into
Closed
Fix rich text rendering in PDF export and stop mutating source workbook#2371swmal wants to merge 3 commits into
swmal wants to merge 3 commits into
Annotations
10 errors, 13 warnings, and 1 notice
|
Build:
src/EPPlus.Export.Pdf/PdfCatalog/PdfTextMap.cs#L729
'IFontFormatBase' does not contain a definition for 'FontFamily' and no accessible extension method 'FontFamily' accepting a first argument of type 'IFontFormatBase' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/EPPlus.Export.Pdf/PdfCatalog/PdfTextMap.cs#L727
Cannot implicitly convert type 'OfficeOpenXml.Interfaces.Drawing.Text.MeasurementFont' to 'OfficeOpenXml.Interfaces.RichText.IFontFormatBase'. An explicit conversion exists (are you missing a cast?)
|
|
Build:
src/EPPlus.Export.Pdf/PdfCatalog/PdfTextMap.cs#L599
'IFontFormatBase' does not contain a definition for 'Style' and no accessible extension method 'Style' accepting a first argument of type 'IFontFormatBase' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/EPPlus.Export.Pdf/PdfCatalog/PdfTextMap.cs#L596
'IFontFormatBase' does not contain a definition for 'Style' and no accessible extension method 'Style' accepting a first argument of type 'IFontFormatBase' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/EPPlus.Export.Pdf/PdfCatalog/PdfTextMap.cs#L569
'IFontFormatBase' does not contain a definition for 'FontFamily' and no accessible extension method 'FontFamily' accepting a first argument of type 'IFontFormatBase' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/EPPlus.Export.Pdf/PdfCatalog/PdfTextMap.cs#L566
Cannot implicitly convert type 'OfficeOpenXml.Interfaces.Drawing.Text.MeasurementFont' to 'OfficeOpenXml.Interfaces.RichText.IFontFormatBase'. An explicit conversion exists (are you missing a cast?)
|
|
Build:
src/EPPlus.Export.Pdf/PdfCatalog/PdfTextMap.cs#L554
'IFontFormatBase' does not contain a definition for 'Style' and no accessible extension method 'Style' accepting a first argument of type 'IFontFormatBase' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/EPPlus.Export.Pdf/PdfCatalog/PdfTextMap.cs#L551
'IFontFormatBase' does not contain a definition for 'Style' and no accessible extension method 'Style' accepting a first argument of type 'IFontFormatBase' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/EPPlus.Export.Pdf/PdfCatalog/PdfTextMap.cs#L540
'IFontFormatBase' does not contain a definition for 'FontFamily' and no accessible extension method 'FontFamily' accepting a first argument of type 'IFontFormatBase' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/EPPlus.Export.Pdf/PdfCatalog/PdfTextMap.cs#L537
Cannot implicitly convert type 'OfficeOpenXml.Interfaces.Drawing.Text.MeasurementFont' to 'OfficeOpenXml.Interfaces.RichText.IFontFormatBase'. An explicit conversion exists (are you missing a cast?)
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, github/codeql-action/init@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build:
src/EPPlus.Fonts.OpenType/TextShaping/Positioning/MarkToBaseProvider.cs#L57
The variable 'positioned' is assigned but its value is never used
|
|
Build:
src/EPPlus.Fonts.OpenType/Tables/Cmap/CmapSubtable4Segment.cs#L26
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
|
Build:
src/EPPlus.Fonts.OpenType/FontsBinaryReader.cs#L26
The field 'FontsBinaryReader._numberOfReadBytes' is assigned but its value is never used
|
|
Build:
src/EPPlus.Fonts.OpenType/Tables/Gsub/GsubTableValidator.cs#L308
The result of the expression is always 'false' since a value of type 'int' is never equal to 'null' of type 'int?'
|
|
Build:
src/EPPlus.Fonts.OpenType/TextShaping/Positioning/MarkToBaseProvider.cs#L57
The variable 'positioned' is assigned but its value is never used
|
|
Build:
src/EPPlus.Fonts.OpenType/Tables/Cmap/CmapSubtable4Segment.cs#L26
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
|
Build:
src/EPPlus.Fonts.OpenType/FontsBinaryReader.cs#L26
The field 'FontsBinaryReader._numberOfReadBytes' is assigned but its value is never used
|
|
Build:
src/EPPlus.Fonts.OpenType/Tables/Gsub/GsubTableValidator.cs#L308
The result of the expression is always 'false' since a value of type 'int' is never equal to 'null' of type 'int?'
|
|
Build:
src/EPPlus.Fonts.OpenType/TextShaping/Positioning/MarkToBaseProvider.cs#L57
The variable 'positioned' is assigned but its value is never used
|
|
Build:
src/EPPlus.Fonts.OpenType/Tables/Cmap/CmapSubtable4Segment.cs#L26
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
|
Initialize CodeQL
Cannot build an overlay database because build-mode is set to "undefined" instead of "none". Falling back to creating a normal full database instead.
|
|
Initialize CodeQL
CodeQL Action v3 will be deprecated in December 2026. Please update all occurrences of the CodeQL Action in your workflow files to v4. For more information, see https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/
|
|
|
background
wait
wait-all
cancel
Loading