Skip to content

Commit 2ebfdd2

Browse files
committed
fix build warnings
rem /en-us/ in URL for loc change http:// to https://
1 parent 3d05e13 commit 2ebfdd2

File tree

90 files changed

+904
-904
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+904
-904
lines changed

ThirdPartyNotices

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ see the [LICENSE](LICENSE) file, and grant you a license to any code in the repo
77
Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation
88
may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries.
99
The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks.
10-
Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.
10+
Microsoft's general trademark guidelines can be found at https://go.microsoft.com/fwlink/?LinkID=254653.
1111

12-
Privacy information can be found at https://privacy.microsoft.com/en-us/
12+
Privacy information can be found at https://privacy.microsoft.com/
1313

1414
Microsoft and any contributors reserve all others rights, whether under their respective copyrights, patents,
1515
or trademarks, whether by implication, estoppel or otherwise.

docs/about-the-open-xml-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ The SDK supports the following common tasks/scenarios:
104104

105105
- **Support of Office 2013 Preview file format**—In addition to the Open XML SDK 2.0 for Microsoft Office classes, Open XML SDK 2.5 provides new classes that enable you to write and build applications to manipulate Open XML file extensions of the new Office 2013 features.
106106

107-
- **Reads ISO Strict Document File**—Open XML SDK 2.5 can read ISO/IEC 29500 Strict Format files. When the Open XML SDK 2.5 API opens a Strict Format file, each Open XML part in the file is loaded to an **OpenXmlPart** class of the Open XML SDK 2.5 by mapping `http://purl.oclc.org/ooxml/` namespaces to the corresponding `http://schemas.openxmlformats.org/` namespaces.
107+
- **Reads ISO Strict Document File**—Open XML SDK 2.5 can read ISO/IEC 29500 Strict Format files. When the Open XML SDK 2.5 API opens a Strict Format file, each Open XML part in the file is loaded to an **OpenXmlPart** class of the Open XML SDK 2.5 by mapping `https://purl.oclc.org/ooxml/` namespaces to the corresponding `https://schemas.openxmlformats.org/` namespaces.
108108

109109
- **Fixes to the Open XML SDK 2.0 for Microsoft Office**—Open XML SDK 2.5 includes fixes to known issues in the Open XML SDK 2.0 for Microsoft Office. These include lost whitespaces in PowerPoint presentations and an issue with the Custom UI in Word documents where a specified argument was reported as being out of the range of valid values.
110110

docs/how-to-accept-all-revisions-in-a-word-processing-document.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ The **using** statement provides a recommended alternative to the typical .Open,
6262
The basic document structure of a **WordProcessingML** document consists of the **document** and **body** elements, followed by one or more block level elements such as **p**, which represents a paragraph. A paragraph contains one or more **r** elements. The **r** stands for run, which is a region of text with a common set of properties, such as formatting. A run contains one or more **t** elements. The **t** element contains a range of text. The following code example shows the **WordprocessingML** markup for a document that contains the text "Example text."
6363

6464
```xml
65-
<w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
65+
<w:document xmlns:w="https://schemas.openxmlformats.org/wordprocessingml/2006/main">
6666
<w:body>
6767
<w:p>
6868
<w:r>
@@ -312,9 +312,9 @@ same as accepting the inserted text.
312312
}
313313
}
314314
insertion.RemoveAttribute("rsidR",
315-
"http://schemas.openxmlformats.org/wordprocessingml/2006/main");
315+
"https://schemas.openxmlformats.org/wordprocessingml/2006/main");
316316
insertion.RemoveAttribute("rsidRPr",
317-
"http://schemas.openxmlformats.org/wordprocessingml/2006/main");
317+
"https://schemas.openxmlformats.org/wordprocessingml/2006/main");
318318
insertion.Remove();
319319
}
320320
```
@@ -346,9 +346,9 @@ same as accepting the inserted text.
346346
End If
347347
Next
348348
insertion.RemoveAttribute("rsidR", _
349-
"http://schemas.openxmlformats.org/wordprocessingml/2006/main")
349+
"https://schemas.openxmlformats.org/wordprocessingml/2006/main")
350350
insertion.RemoveAttribute("rsidRPr", _
351-
"http://schemas.openxmlformats.org/wordprocessingml/2006/main")
351+
"https://schemas.openxmlformats.org/wordprocessingml/2006/main")
352352
insertion.Remove()
353353
Next
354354
```
@@ -439,9 +439,9 @@ The following is the complete sample code in both C\# and Visual Basic.
439439
}
440440
}
441441
insertion.RemoveAttribute("rsidR",
442-
"http://schemas.openxmlformats.org/wordprocessingml/2006/main");
442+
"https://schemas.openxmlformats.org/wordprocessingml/2006/main");
443443
insertion.RemoveAttribute("rsidRPr",
444-
"http://schemas.openxmlformats.org/wordprocessingml/2006/main");
444+
"https://schemas.openxmlformats.org/wordprocessingml/2006/main");
445445
insertion.Remove();
446446
}
447447
}
@@ -500,9 +500,9 @@ The following is the complete sample code in both C\# and Visual Basic.
500500
End If
501501
Next
502502
insertion.RemoveAttribute("rsidR", _
503-
"http://schemas.openxmlformats.org/wordprocessingml/2006/main")
503+
"https://schemas.openxmlformats.org/wordprocessingml/2006/main")
504504
insertion.RemoveAttribute("rsidRPr", _
505-
"http://schemas.openxmlformats.org/wordprocessingml/2006/main")
505+
"https://schemas.openxmlformats.org/wordprocessingml/2006/main")
506506
insertion.Remove()
507507
Next
508508
End Using

docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,21 +117,21 @@ two slides denoted by the IDs 267 and 256.
117117
<p:presentation xmlns:p="" … >
118118
<p:sldMasterIdLst>
119119
<p:sldMasterId
120-
xmlns:rel="http://…/relationships" rel:id="rId1"/>
120+
xmlns:rel="https://…/relationships" rel:id="rId1"/>
121121
</p:sldMasterIdLst>
122122
<p:notesMasterIdLst>
123123
<p:notesMasterId
124-
xmlns:rel="http://…/relationships" rel:id="rId4"/>
124+
xmlns:rel="https://…/relationships" rel:id="rId4"/>
125125
</p:notesMasterIdLst>
126126
<p:handoutMasterIdLst>
127127
<p:handoutMasterId
128-
xmlns:rel="http://…/relationships" rel:id="rId5"/>
128+
xmlns:rel="https://…/relationships" rel:id="rId5"/>
129129
</p:handoutMasterIdLst>
130130
<p:sldIdLst>
131131
<p:sldId id="267"
132-
xmlns:rel="http://…/relationships" rel:id="rId2"/>
132+
xmlns:rel="https://…/relationships" rel:id="rId2"/>
133133
<p:sldId id="256"
134-
xmlns:rel="http://…/relationships" rel:id="rId3"/>
134+
xmlns:rel="https://…/relationships" rel:id="rId3"/>
135135
</p:sldIdLst>
136136
<p:sldSz cx="9144000" cy="6858000"/>
137137
<p:notesSz cx="6858000" cy="9144000"/>

docs/how-to-add-a-new-document-part-that-receives-a-relationship-id-to-a-package.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ code example shows the **WordprocessingML**
6666
markup for a document that contains the text "Example text."
6767

6868
```xml
69-
<w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
69+
<w:document xmlns:w="https://schemas.openxmlformats.org/wordprocessingml/2006/main">
7070
<w:body>
7171
<w:p>
7272
<w:r>
@@ -79,17 +79,17 @@ markup for a document that contains the text "Example text."
7979

8080
Using the Open XML SDK 2.5, you can create document structure and
8181
content using strongly-typed classes that correspond to **WordprocessingML** elements. You will find these
82-
classes in the [DocumentFormat.OpenXml.Wordprocessing](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.aspx)
82+
classes in the [DocumentFormat.OpenXml.Wordprocessing](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.aspx)
8383
namespace. The following table lists the class names of the classes that
8484
correspond to the **document**, **body**, **p**, **r**, and **t** elements.
8585

8686
| WordprocessingML Element | Open XML SDK 2.5 Class | Description |
8787
|---|---|---|
88-
| document | [Document](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.document.aspx) | The root element for the main document part. |
89-
| body | [Body](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.body.aspx) | The container for the block level structures such as paragraphs, tables, annotations and others specified in the ISO/IEC 29500 specification. |
90-
| p | [Paragraph](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.paragraph.aspx) | A paragraph. |
91-
| r | [Run](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.run.aspx) | A run. |
92-
| t | [Text](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.text.aspx) | A range of text. |
88+
| document | [Document](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.document.aspx) | The root element for the main document part. |
89+
| body | [Body](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.body.aspx) | The container for the block level structures such as paragraphs, tables, annotations and others specified in the ISO/IEC 29500 specification. |
90+
| p | [Paragraph](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.paragraph.aspx) | A paragraph. |
91+
| r | [Run](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.run.aspx) | A run. |
92+
| t | [Text](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.text.aspx) | A range of text. |
9393

9494
-----------------------------------------------------------------------------
9595
## How the Sample Code Works
@@ -135,7 +135,7 @@ document.
135135
{
136136
writer.WriteRaw("<?xml version=\"1.0\" encoding=\"UTF-
137137
8\"?>\r\n<cp:coreProperties xmlns:cp=\
138-
"http://schemas.openxmlformats.org/package/2006/metadata/core-properties\"></cp:coreProperties>");
138+
"https://schemas.openxmlformats.org/package/2006/metadata/core-properties\"></cp:coreProperties>");
139139
writer.Flush();
140140
}
141141
```
@@ -155,7 +155,7 @@ document.
155155

156156
Using writer As New XmlTextWriter(coreFilePropPart.GetStream(FileMode.Create), System.Text.Encoding.UTF8)
157157
writer.WriteRaw("<?xml version=""1.0"" encoding=""UTF-8""?>" _
158-
& vbCrLf & "<cp:coreProperties xmlns:cp=""http://schemas.openxmlformats.org/package/2006/metadata/core-properties""></cp:coreProperties>")
158+
& vbCrLf & "<cp:coreProperties xmlns:cp=""https://schemas.openxmlformats.org/package/2006/metadata/core-properties""></cp:coreProperties>")
159159
writer.Flush()
160160
End Using
161161
```
@@ -193,7 +193,7 @@ the **wordDoc** object.
193193
```
194194

195195
> [!NOTE]
196-
> The **AddNewPart&lt;T&gt;** method creates a relationship from the current document part to the new document part. This method returns the new document part. Also, you can use the **[DataPart.FeedData](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.packaging.datapart.feeddata.aspx)** method to fill the document part.
196+
> The **AddNewPart&lt;T&gt;** method creates a relationship from the current document part to the new document part. This method returns the new document part. Also, you can use the **[DataPart.FeedData](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.datapart.feeddata.aspx)** method to fill the document part.
197197
198198
-----------------------------------------------------------------------------
199199
## Sample Code
@@ -238,7 +238,7 @@ The following is the complete code example in both C\# and Visual Basic.
238238
{
239239
writer.WriteRaw("<?xml version=
240240
\"1.0\" encoding=\"UTF-8\"?>\r\n<cp:coreProperties xmlns:cp=\
241-
"http://schemas.openxmlformats.org/package/2006/metadata/core-properties\"></cp:coreProperties>");
241+
"https://schemas.openxmlformats.org/package/2006/metadata/core-properties\"></cp:coreProperties>");
242242
writer.Flush();
243243
}
244244

@@ -278,7 +278,7 @@ The following is the complete code example in both C\# and Visual Basic.
278278
System.Text.Encoding.UTF8)
279279
writer.WriteRaw( _
280280
"<?xml version=""1.0"" encoding=""UTF-8""?>" & vbCr & vbLf & _
281-
"<cp:coreProperties xmlns:cp=""http://schemas.openxmlformats.org/package/2006/metadata/core-properties""></cp:coreProperties>")
281+
"<cp:coreProperties xmlns:cp=""https://schemas.openxmlformats.org/package/2006/metadata/core-properties""></cp:coreProperties>")
282282
writer.Flush()
283283
End Using
284284

docs/how-to-add-a-new-document-part-to-a-package.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ a word-processing document package.
5252
-----------------------------------------------------------------------------
5353
## Getting a WordprocessingDocument Object
5454
The code starts with opening a package file by passing a file name to
55-
one of the overloaded **[Open()](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.packaging.wordprocessingdocument.open.aspx)** methods of the **[DocumentFormat.OpenXml.Packaging.WordprocessingDocument](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.packaging.wordprocessingdocument.aspx)**
55+
one of the overloaded **[Open()](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.wordprocessingdocument.open.aspx)** methods of the **[DocumentFormat.OpenXml.Packaging.WordprocessingDocument](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.wordprocessingdocument.aspx)**
5656
that takes a string and a Boolean value that specifies whether the file
5757
should be opened for editing or for read-only access. In this case, the
5858
Boolean value is **true** specifying that the
@@ -93,7 +93,7 @@ more **t** elements. The **t** element contains a range of text. The **Wordproce
9393
sample code creates is shown in the following code example.
9494

9595
```xml
96-
<w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
96+
<w:document xmlns:w="https://schemas.openxmlformats.org/wordprocessingml/2006/main">
9797
<w:body>
9898
<w:p>
9999
<w:r>
@@ -106,17 +106,17 @@ sample code creates is shown in the following code example.
106106

107107
Using the Open XML SDK 2.5, you can create document structure and
108108
content using strongly-typed classes that correspond to **WordprocessingML** elements. You can find these
109-
classes in the **[DocumentFormat.OpenXml.Wordprocessing](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.aspx)**
109+
classes in the **[DocumentFormat.OpenXml.Wordprocessing](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.aspx)**
110110
namespace. The following table lists the class names of the classes that
111111
correspond to the **document**, **body**, **p**, **r**, and **t** elements,
112112

113113
| WordprocessingML Element | Open XML SDK 2.5 Class | Description |
114114
|---|---|---|
115-
| document | [Document](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.document.aspx) | The root element for the main document part. |
116-
| body | [Body](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.body.aspx) | The container for the block level structures such as paragraphs, tables, annotations, and others specified in the ISO/IEC 29500 specification. |
117-
| p | [Paragraph](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.paragraph.aspx) | A paragraph. |
118-
| r | [Run](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.run.aspx) | A run. |
119-
| t | [Text](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.text.aspx) | A range of text. |
115+
| document | [Document](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.document.aspx) | The root element for the main document part. |
116+
| body | [Body](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.body.aspx) | The container for the block level structures such as paragraphs, tables, annotations, and others specified in the ISO/IEC 29500 specification. |
117+
| p | [Paragraph](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.paragraph.aspx) | A paragraph. |
118+
| r | [Run](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.run.aspx) | A run. |
119+
| t | [Text](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.text.aspx) | A range of text. |
120120

121121
-----------------------------------------------------------------------------
122122
## How the Sample Code Works

0 commit comments

Comments
 (0)