sergey-tihon / Clippit

Fresh PowerTools for OpenXml
https://sergey-tihon.github.io/Clippit/
MIT License
47 stars 18 forks source link

Smarter fix for broken URLs inside packages #47

Open sergey-tihon opened 2 years ago

sergey-tihon commented 2 years ago

Instead of catching exception and rewriting package in memory https://github.com/sergey-tihon/Clippit/blob/a5e2ad4ce213c83cf14f3fb13b28740c7f144330/OpenXmlPowerTools.Tests/PowerPoint/OpenXmlExtensions.cs#L20

we can use RelationshipErrorRewriter

https://github.com/OfficeDev/Open-XML-SDK/pull/793#issuecomment-675114195