dotnet / Open-XML-SDK

Open XML SDK by Microsoft
https://www.nuget.org/packages/DocumentFormat.OpenXml/
MIT License
4.02k stars 546 forks source link

Bug with RdRichValueWebImagePart of Open XML SDK #1758

Open seanblac8 opened 3 months ago

seanblac8 commented 3 months ago

Describe the bug If I use Open XML SDK 3.02 to read a xlsx file, /xl/richData/rdRichValueWebImage.xml of xlsx file is a DocumentFormat.OpenXml.Packaging.ExtendedPart instead of RdRichValueWebImagePart.

The workbook has _webimages, but the workbookPart.RdRichValueWebImagePart is null.

Screenshots If applicable, add screenshots to help explain your problem. image

To Reproduce // Please add a self-contained, minimum viable repro of the issue. // If you require external resources, please provide a gist or GitHub repro // An Xunit style test is preferred, but a console application would work too.

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Observed behavior A clear and concise description of what you expected to happen.

Expected behavior A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.