我用EPPlus创建了excel文件2张:数据和数据图表。 Excel可以毫无错误地打开文件。
现在,我阅读(通过EPPlus)并再次保存文件而不进行任何更改,Excel会打开包含错误消息的文件而不显示图表。
xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><logFileName>error118920_01.xml</logFileName><summary>Errors were detected in file 'file.xlsx'</summary><removedParts summary="Following is a list of removed parts:"><removedPart>Removed Part: /xl/drawings/drawing1.xml part. (Drawing shape)</removedPart></removedParts></recoveryLog>