Open-XML-SDK icon indicating copy to clipboard operation
Open-XML-SDK copied to clipboard

Open XML SDK by Microsoft

Results 224 Open-XML-SDK issues
Sort by recently updated
recently updated
newest added

**Describe the bug** Opening a corrupted document lock the file. **To Reproduce** Steps to reproduce the behavior: 1. Simulate a corrupted file (simply create a txt file with content in...

Cleaning up the temporary file and adding a comment about ownership Fixes #1658

Bumps [Microsoft.CodeAnalysis.PublicApiAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 3.11.0-beta1.23525.2 to 3.11.0-beta1.24072.1. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.CodeAnalysis.PublicApiAnalyzers&package-manager=nuget&previous-version=3.11.0-beta1.23525.2&new-version=3.11.0-beta1.24072.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies
.NET

**Describe the bug** I am attempting to embed TTF fonts in a DOCX file. In order to be compatible with a third-party library that is able to update the Table...

Presentation created in C# with the Open XML SDK is corrupted and blank when opened # Problem I am trying to create a PowerPoint presentation in `C#` with Visual Studio...

**Describe the bug** Getting cell value returns many decimal places. **Screenshots** I have this "4.9" value in excel ![image](https://user-images.githubusercontent.com/15882382/233115011-f9670d58-d641-427b-aee0-b85eb9f60344.png) When retrieving the cell value in OpenXML. 4.9 was stored as...

Before Saving excel files ![image](https://github.com/dotnet/Open-XML-SDK/assets/33765542/257bd6cf-d322-4791-91fd-f4e7e774f5a9) After Saving excel file( GC just collected all unused data) ![image](https://github.com/dotnet/Open-XML-SDK/assets/33765542/bbc4035d-71e9-4562-90c3-831a63d4066e) And After appending DataValidation with code below ![image](https://github.com/dotnet/Open-XML-SDK/assets/33765542/bbb758a5-d38a-4d41-b0c7-b12a34d7a96e) That memory usage after Validation look...

We can get the Value by Excel ![image](https://github.com/dotnet/Open-XML-SDK/assets/26090153/12cbd975-ea90-473c-a43a-1f74e71c9cf4) BT, we cannot find in OpenXML by `C# var controls = wsPart.Worksheet.Descendants(); ` ![image](https://github.com/dotnet/Open-XML-SDK/assets/26090153/7b72d83d-d2c5-47d5-88f1-f85814c32cb3)

**Describe the bug** The `PresentationDocument.Open` will throw the OpenXmlPackageException exception when we open the document which Content_Types records paths with wrong case. ``` DocumentFormat.OpenXml.Packaging.OpenXmlPackageException:“The document cannot be opened because there...

blocked: corefx System.IO.Packaging

When executing SpreadsheetDocument.Save() (i.e. base class OpenXmlPackage.Save()) I'm getting the following error: InvalidOperationException Collection was modified; enumeration operation may not execute. StackTrace: [DBG]: PS ...>> $_.Exception.InnerException.StackTrace at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) at...