Skip to content

Commit 172ae79

Browse files
authored
fixes issue1758 rdRichValueWebImage part (#1935)
Fixes #1758
1 parent a891355 commit 172ae79

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

data/parts/RdRichValueWebImagePart.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"Name": "RdRichValueWebImagePart",
44
"Base": "OpenXmlPart",
55
"ContentType": "application/vnd.ms-excel.rdrichvaluewebimage\u002Bxml",
6-
"RelationshipType": "http://schemas.microsoft.com/office/2020/07/relationships/rdrichvaluewebimage",
6+
"RelationshipType": "http://schemas.microsoft.com/office/2020/07/relationships/rdRichValueWebImage",
77
"Target": "rdRichValueWebImage",
88
"RootElement": "webImagesSrd",
99
"Paths": {

generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Part_RdRichValueWebImagePart.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public partial class RdRichValueWebImagePart : OpenXmlPart,
2020
IFixedContentTypePart
2121
{
2222
internal const string ContentTypeConstant = "application/vnd.ms-excel.rdrichvaluewebimage+xml";
23-
internal const string RelationshipTypeConstant = "http://schemas.microsoft.com/office/2020/07/relationships/rdrichvaluewebimage";
23+
internal const string RelationshipTypeConstant = "http://schemas.microsoft.com/office/2020/07/relationships/rdRichValueWebImage";
2424
private DocumentFormat.OpenXml.Office2021.Excel.RichDataWebImage.WebImagesSupportingRichData? _rootElement;
2525

2626
/// <summary>

generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Part_WorkbookPart.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ public GeneratedFeatures(OpenXmlPart part) : base(part) { }
286286
{ "http://schemas.microsoft.com/office/2017/06/relationships/rdSupportingPropertyBag", "application/vnd.ms-excel.rdsupportingpropertybag+xml", false, true, FileFormatVersions.Office2019 },
287287
{ "http://schemas.microsoft.com/office/2017/06/relationships/rdSupportingPropertyBagStructure", "application/vnd.ms-excel.rdsupportingpropertybagstructure+xml", false, true, FileFormatVersions.Office2019 },
288288
{ "http://schemas.microsoft.com/office/2017/06/relationships/rdRichValueTypes", "application/vnd.ms-excel.rdrichvaluetypes+xml", false, true, FileFormatVersions.Office2019 },
289-
{ "http://schemas.microsoft.com/office/2020/07/relationships/rdrichvaluewebimage", "application/vnd.ms-excel.rdrichvaluewebimage+xml", false, false, FileFormatVersions.Office2021 },
289+
{ "http://schemas.microsoft.com/office/2020/07/relationships/rdRichValueWebImage", "application/vnd.ms-excel.rdrichvaluewebimage+xml", false, false, FileFormatVersions.Office2021 },
290290
{ "http://schemas.microsoft.com/office/2022/11/relationships/FeaturePropertyBag", "application/vnd.ms-excel.featurepropertybag+xml", false, false, FileFormatVersions.Microsoft365 },
291291
};
292292
bool IPartConstraintFeature.TryGetRule(string relationshipId, out PartConstraintRule rule) => _partConstraints.TryGetRule(relationshipId, out rule);

test/DocumentFormat.OpenXml.Packaging.Tests/data/PartConstraintData.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2525,7 +2525,7 @@
25252525
"Name": "DocumentFormat.OpenXml.Packaging.RdRichValueWebImagePart",
25262526
"ContentType": "application/vnd.ms-excel.rdrichvaluewebimage+xml",
25272527
"IsContentTypeFixed": true,
2528-
"RelationshipType": "http://schemas.microsoft.com/office/2020/07/relationships/rdrichvaluewebimage",
2528+
"RelationshipType": "http://schemas.microsoft.com/office/2020/07/relationships/rdRichValueWebImage",
25292529
"TargetFileExtension": ".xml",
25302530
"TargetName": "rdRichValueWebImage",
25312531
"TargetPath": "richData",
@@ -3965,7 +3965,7 @@
39653965
"FileFormat": "Office2019"
39663966
},
39673967
{
3968-
"RelationshipType": "http://schemas.microsoft.com/office/2020/07/relationships/rdrichvaluewebimage",
3968+
"RelationshipType": "http://schemas.microsoft.com/office/2020/07/relationships/rdRichValueWebImage",
39693969
"ContentType": "application/vnd.ms-excel.rdrichvaluewebimage+xml",
39703970
"MinOccursIsNonZero": false,
39713971
"MaxOccursGreatThanOne": false,

0 commit comments

Comments
 (0)