From 066149e6174dcbe6bc6622a2752f1bb3ce23eff0 Mon Sep 17 00:00:00 2001 From: p-kaczynski Date: Tue, 1 Sep 2020 13:57:09 +0100 Subject: [PATCH] Update how-to-insert-a-picture-into-a-word-processing-document.md The current code contains a bug that makes the document not open in MS Word. This single error (`https` instead of `http` in URI) causes the document to be unopenable in any tested Word product (Word for Office 365 Win/macOS/iOS, MS Word Professional 2016). Interestingly it does open fine in LibreOffice and others. --- docs/how-to-insert-a-picture-into-a-word-processing-document.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-to-insert-a-picture-into-a-word-processing-document.md b/docs/how-to-insert-a-picture-into-a-word-processing-document.md index 481797ad..0fa56cd7 100644 --- a/docs/how-to-insert-a-picture-into-a-word-processing-document.md +++ b/docs/how-to-insert-a-picture-into-a-word-processing-document.md @@ -185,7 +185,7 @@ Then, append the reference to the body. The element should be in a [Run](https:/ new A.PresetGeometry( new A.AdjustValueList() ) { Preset = A.ShapeTypeValues.Rectangle })) - ) { Uri = "https://schemas.openxmlformats.org/drawingml/2006/picture" }) + ) { Uri = "http://schemas.openxmlformats.org/drawingml/2006/picture" }) ) { DistanceFromTop = (UInt32Value)0U,