From 066149e6174dcbe6bc6622a2752f1bb3ce23eff0 Mon Sep 17 00:00:00 2001
From: p-kaczynski
Date: Tue, 1 Sep 2020 13:57:09 +0100
Subject: [PATCH 001/275] 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,
From 25dc20137a6ae50c4938bb4090bc6ca9be0fed7d Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Tue, 16 Mar 2021 10:53:43 -0700
Subject: [PATCH 002/275] Update docfx.json
missing final bracket }
---
docs/docfx.json | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/docfx.json b/docs/docfx.json
index 65e43111..087c4e47 100644
--- a/docs/docfx.json
+++ b/docs/docfx.json
@@ -51,3 +51,4 @@
"dest": "open-xml-docs",
"markdownEngineName": "markdig"
}
+}
From 005932729c1aa6a3be0236449e7f0a17129a6c53 Mon Sep 17 00:00:00 2001
From: xchimera
Date: Fri, 28 May 2021 15:22:07 +0200
Subject: [PATCH 003/275] Update
how-to-insert-a-picture-into-a-word-processing-document.md
using https makes the document invalid in Word
---
...how-to-insert-a-picture-into-a-word-processing-document.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 0fa56cd7..5e8955b0 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
@@ -331,7 +331,7 @@ The following is the complete sample code in both C\# and Visual Basic.
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,
DistanceFromBottom = (UInt32Value)0U,
DistanceFromLeft = (UInt32Value)0U,
@@ -391,7 +391,7 @@ The following is the complete sample code in both C\# and Visual Basic.
) With {.Preset = A.ShapeTypeValues.Rectangle} _
) _
) _
- ) With {.Uri = "https://schemas.openxmlformats.org/drawingml/2006/picture"} _
+ ) With {.Uri = "http://schemas.openxmlformats.org/drawingml/2006/picture"} _
) _
) With {.DistanceFromTop = 0UI, _
.DistanceFromBottom = 0UI, _
From 7dc6d5b18ac6736574e61c91135aa3f48e2ae0d7 Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Mon, 28 Jun 2021 11:01:49 -0700
Subject: [PATCH 004/275] Fix broken link
Bad link to open xml sdk 2.5 download
---
docs/how-to-add-tables-to-word-processing-documents.md | 2 +-
...pply-a-style-to-a-paragraph-in-a-word-processing-document.md | 2 +-
...hange-the-print-orientation-of-a-word-processing-document.md | 2 +-
...processing-document-from-the-docm-to-the-docx-file-format.md | 2 +-
...o-create-a-presentation-document-by-providing-a-file-name.md | 2 +-
...e-and-add-a-character-style-to-a-word-processing-document.md | 2 +-
...e-and-add-a-paragraph-style-to-a-word-processing-document.md | 2 +-
...by-all-or-a-specific-author-in-a-word-processing-document.md | 2 +-
docs/how-to-extract-styles-from-a-word-processing-document.md | 2 +-
...e-the-headers-and-footers-from-a-word-processing-document.md | 2 +-
docs/how-to-replace-the-header-in-a-word-processing-document.md | 2 +-
...to-replace-the-styles-parts-in-a-word-processing-document.md | 2 +-
...etrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md | 2 +-
...eve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md | 2 +-
...retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md | 2 +-
...how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md | 2 +-
...plication-property-values-from-a-word-processing-document.md | 2 +-
...-retrieve-the-number-of-slides-in-a-presentation-document.md | 2 +-
docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md | 2 +-
...ow-to-set-a-custom-property-in-a-word-processing-document.md | 2 +-
docs/open-xml-sdk.md | 2 +-
21 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/docs/how-to-add-tables-to-word-processing-documents.md b/docs/how-to-add-tables-to-word-processing-documents.md
index 8d8d5bd5..018b65a0 100644
--- a/docs/how-to-add-tables-to-word-processing-documents.md
+++ b/docs/how-to-add-tables-to-word-processing-documents.md
@@ -21,7 +21,7 @@ This topic shows how to use the classes in the Open XML SDK 2.5 for
Office to programmatically add a table to a word processing document. It
contains an example **AddTable** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md b/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
index ffecf1dc..ff473833 100644
--- a/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
+++ b/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
@@ -19,7 +19,7 @@ localization_priority: Priority
This topic shows how to use the classes in the Open XML SDK 2.5 for Office to programmatically apply a style to a paragraph within a word processing document. It contains an example **ApplyStyleToParagraph** method to illustrate this task, plus several supplemental example methods to check whether a style exists, add a new style, and add the styles part.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You must explicitly reference the following assemblies in your project:
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md b/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
index 97ce414b..9c08aa20 100644
--- a/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
+++ b/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
@@ -23,7 +23,7 @@ Office to programmatically set the print orientation of a Microsoft Word
**SetPrintOrientation** method to illustrate this task.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md b/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
index 27a657a3..c9c443bd 100644
--- a/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
+++ b/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
@@ -24,7 +24,7 @@ a standard document (with a .docx extension). It contains an example
**ConvertDOCMtoDOCX** method to illustrate this task.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md b/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
index dc1d8cec..c29659b2 100644
--- a/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
+++ b/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
@@ -20,7 +20,7 @@ localization_priority: Priority
This topic shows how to use the classes in the Open XML SDK 2.5 to
create a presentation document programmatically.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md b/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
index 931e89a1..353b11b0 100644
--- a/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
+++ b/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
@@ -22,7 +22,7 @@ processing document. It contains an example
**CreateAndAddCharacterStyle** method to illustrate this task, plus a
supplemental example method to add the styles part when it is necessary.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md b/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
index bfa85ea2..0d5bf112 100644
--- a/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
+++ b/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
@@ -23,7 +23,7 @@ processing document. It contains an example
supplemental example method to add the styles part when necessary.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must also explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md b/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
index a2c16094..fd0d3504 100644
--- a/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
+++ b/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
@@ -21,7 +21,7 @@ Office to programmatically delete comments by all or a specific author
in a word processing document, without having to load the document into
Microsoft Word. It contains an example **DeleteComments** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-extract-styles-from-a-word-processing-document.md b/docs/how-to-extract-styles-from-a-word-processing-document.md
index a5bdefcb..e415fd62 100644
--- a/docs/how-to-extract-styles-from-a-word-processing-document.md
+++ b/docs/how-to-extract-styles-from-a-word-processing-document.md
@@ -24,7 +24,7 @@ instance. It contains an example **ExtractStylesPart** method to
illustrate this task.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md b/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
index 4e9a9ad7..d21fcb93 100644
--- a/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
+++ b/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
@@ -21,7 +21,7 @@ Office to programmatically remove all headers and footers in a word
processing document. It contains an example **RemoveHeadersAndFooters** method to illustrate this
task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must then explicitly reference the following assemblies in your project.
- WindowsBase
diff --git a/docs/how-to-replace-the-header-in-a-word-processing-document.md b/docs/how-to-replace-the-header-in-a-word-processing-document.md
index 9926f537..ef31fd33 100644
--- a/docs/how-to-replace-the-header-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-header-in-a-word-processing-document.md
@@ -20,7 +20,7 @@ This topic shows how to use the classes in the Open XML SDK 2.5 for
Office to replace the header in word processing document
programmatically.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md b/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
index 032c7e3f..580bd1cc 100644
--- a/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
@@ -23,7 +23,7 @@ contains an example **ReplaceStyles** method to illustrate this task, as
well as the **ReplaceStylesPart** and **ExtractStylesPart** supporting
methods.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md b/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
index 7385a19d..1f74080d 100644
--- a/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
@@ -22,7 +22,7 @@ and ranges of all defined names in an Microsoft Excel 2010 or Microsoft
Excel 2013 workbook. It contains an example **GetDefinedNames** method
to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
index c622f558..111109d0 100644
--- a/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
@@ -22,7 +22,7 @@ a Microsoft Excel 2010 or Microsoft Excel 2013 worksheet, without
loading the document into Excel. It contains an example **GetHiddenRowsOrCols** method to illustrate this
task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
index a1c748f5..286febe3 100644
--- a/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
@@ -21,7 +21,7 @@ Office to programmatically retrieve a list of hidden worksheets in a
Microsoft Excel 2010 or Microsoft Excel 2010 workbook, without loading
the document into Excel. It contains an example **GetHiddenSheets** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
index 6756bc4e..aeac5079 100644
--- a/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
@@ -21,7 +21,7 @@ Office to programmatically retrieve a list of the worksheets in a
Microsoft Excel 2010 or Microsoft Excel 2013 workbook, without loading
the document into Excel. It contains an example **GetAllWorksheets** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md b/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
index 4420d4b9..430dc1d4 100644
--- a/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
+++ b/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
@@ -21,7 +21,7 @@ Office to programmatically retrieve an application property from a
Microsoft Word 2013 document, without loading the document into Word. It
contains example code to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md b/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
index d30e6987..b5358409 100644
--- a/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
+++ b/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
@@ -23,7 +23,7 @@ loading the document into Microsoft PowerPoint. It contains an example
**RetrieveNumberOfSlides** method to illustrate
this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md b/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
index aeaadd17..e6c7f29e 100644
--- a/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
@@ -21,7 +21,7 @@ Office to programmatically retrieve the values of cells in a spreadsheet
document. It contains an example **GetCellValue** method to illustrate
this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-set-a-custom-property-in-a-word-processing-document.md b/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
index 8991c86a..159f1b9f 100644
--- a/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
+++ b/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
@@ -21,7 +21,7 @@ Office to programmatically set a custom property in a word processing
document. It contains an example **SetCustomProperty** method to
illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/open-xml-sdk.md b/docs/open-xml-sdk.md
index 315ba745..6ec5cc94 100644
--- a/docs/open-xml-sdk.md
+++ b/docs/open-xml-sdk.md
@@ -53,7 +53,7 @@ Portions of ISO/IEC 29500:20081 are referenced in the SDK.
## See also
-- [Open XML SDK 2.5 for Microsoft Office](https://www.microsoft.com/download/details.aspx?id=30425)
+- [Open XML SDK 2.5 for Microsoft Office](https://www.nuget.org/packages/Open-XML-SDK/2.5.0)
- [Microsoft Office Developer Center](https://developer.microsoft.com/office/docs)
- [Samples on GitHub](https://github.com/OfficeDev)
- [Open XML SDK copyright notice](https://msdn.microsoft.com/library/6165f4ad-2e4d-4852-921a-087782af364d(Office.15).aspx)
From f012548f17dbb3e8202b9fc50221d49baeaa8bf8 Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Mon, 28 Jun 2021 11:07:47 -0700
Subject: [PATCH 005/275] Revert "Fix broken link"
This reverts commit 7dc6d5b18ac6736574e61c91135aa3f48e2ae0d7.
---
docs/how-to-add-tables-to-word-processing-documents.md | 2 +-
...pply-a-style-to-a-paragraph-in-a-word-processing-document.md | 2 +-
...hange-the-print-orientation-of-a-word-processing-document.md | 2 +-
...processing-document-from-the-docm-to-the-docx-file-format.md | 2 +-
...o-create-a-presentation-document-by-providing-a-file-name.md | 2 +-
...e-and-add-a-character-style-to-a-word-processing-document.md | 2 +-
...e-and-add-a-paragraph-style-to-a-word-processing-document.md | 2 +-
...by-all-or-a-specific-author-in-a-word-processing-document.md | 2 +-
docs/how-to-extract-styles-from-a-word-processing-document.md | 2 +-
...e-the-headers-and-footers-from-a-word-processing-document.md | 2 +-
docs/how-to-replace-the-header-in-a-word-processing-document.md | 2 +-
...to-replace-the-styles-parts-in-a-word-processing-document.md | 2 +-
...etrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md | 2 +-
...eve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md | 2 +-
...retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md | 2 +-
...how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md | 2 +-
...plication-property-values-from-a-word-processing-document.md | 2 +-
...-retrieve-the-number-of-slides-in-a-presentation-document.md | 2 +-
docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md | 2 +-
...ow-to-set-a-custom-property-in-a-word-processing-document.md | 2 +-
docs/open-xml-sdk.md | 2 +-
21 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/docs/how-to-add-tables-to-word-processing-documents.md b/docs/how-to-add-tables-to-word-processing-documents.md
index 018b65a0..8d8d5bd5 100644
--- a/docs/how-to-add-tables-to-word-processing-documents.md
+++ b/docs/how-to-add-tables-to-word-processing-documents.md
@@ -21,7 +21,7 @@ This topic shows how to use the classes in the Open XML SDK 2.5 for
Office to programmatically add a table to a word processing document. It
contains an example **AddTable** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md b/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
index ff473833..ffecf1dc 100644
--- a/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
+++ b/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
@@ -19,7 +19,7 @@ localization_priority: Priority
This topic shows how to use the classes in the Open XML SDK 2.5 for Office to programmatically apply a style to a paragraph within a word processing document. It contains an example **ApplyStyleToParagraph** method to illustrate this task, plus several supplemental example methods to check whether a style exists, add a new style, and add the styles part.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You must explicitly reference the following assemblies in your project:
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md b/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
index 9c08aa20..97ce414b 100644
--- a/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
+++ b/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
@@ -23,7 +23,7 @@ Office to programmatically set the print orientation of a Microsoft Word
**SetPrintOrientation** method to illustrate this task.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md b/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
index c9c443bd..27a657a3 100644
--- a/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
+++ b/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
@@ -24,7 +24,7 @@ a standard document (with a .docx extension). It contains an example
**ConvertDOCMtoDOCX** method to illustrate this task.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md b/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
index c29659b2..dc1d8cec 100644
--- a/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
+++ b/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
@@ -20,7 +20,7 @@ localization_priority: Priority
This topic shows how to use the classes in the Open XML SDK 2.5 to
create a presentation document programmatically.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md b/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
index 353b11b0..931e89a1 100644
--- a/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
+++ b/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
@@ -22,7 +22,7 @@ processing document. It contains an example
**CreateAndAddCharacterStyle** method to illustrate this task, plus a
supplemental example method to add the styles part when it is necessary.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md b/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
index 0d5bf112..bfa85ea2 100644
--- a/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
+++ b/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
@@ -23,7 +23,7 @@ processing document. It contains an example
supplemental example method to add the styles part when necessary.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must also explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md b/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
index fd0d3504..a2c16094 100644
--- a/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
+++ b/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
@@ -21,7 +21,7 @@ Office to programmatically delete comments by all or a specific author
in a word processing document, without having to load the document into
Microsoft Word. It contains an example **DeleteComments** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-extract-styles-from-a-word-processing-document.md b/docs/how-to-extract-styles-from-a-word-processing-document.md
index e415fd62..a5bdefcb 100644
--- a/docs/how-to-extract-styles-from-a-word-processing-document.md
+++ b/docs/how-to-extract-styles-from-a-word-processing-document.md
@@ -24,7 +24,7 @@ instance. It contains an example **ExtractStylesPart** method to
illustrate this task.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md b/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
index d21fcb93..4e9a9ad7 100644
--- a/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
+++ b/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
@@ -21,7 +21,7 @@ Office to programmatically remove all headers and footers in a word
processing document. It contains an example **RemoveHeadersAndFooters** method to illustrate this
task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must then explicitly reference the following assemblies in your project.
- WindowsBase
diff --git a/docs/how-to-replace-the-header-in-a-word-processing-document.md b/docs/how-to-replace-the-header-in-a-word-processing-document.md
index ef31fd33..9926f537 100644
--- a/docs/how-to-replace-the-header-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-header-in-a-word-processing-document.md
@@ -20,7 +20,7 @@ This topic shows how to use the classes in the Open XML SDK 2.5 for
Office to replace the header in word processing document
programmatically.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md b/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
index 580bd1cc..032c7e3f 100644
--- a/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
@@ -23,7 +23,7 @@ contains an example **ReplaceStyles** method to illustrate this task, as
well as the **ReplaceStylesPart** and **ExtractStylesPart** supporting
methods.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md b/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
index 1f74080d..7385a19d 100644
--- a/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
@@ -22,7 +22,7 @@ and ranges of all defined names in an Microsoft Excel 2010 or Microsoft
Excel 2013 workbook. It contains an example **GetDefinedNames** method
to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
index 111109d0..c622f558 100644
--- a/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
@@ -22,7 +22,7 @@ a Microsoft Excel 2010 or Microsoft Excel 2013 worksheet, without
loading the document into Excel. It contains an example **GetHiddenRowsOrCols** method to illustrate this
task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
index 286febe3..a1c748f5 100644
--- a/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
@@ -21,7 +21,7 @@ Office to programmatically retrieve a list of hidden worksheets in a
Microsoft Excel 2010 or Microsoft Excel 2010 workbook, without loading
the document into Excel. It contains an example **GetHiddenSheets** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
index aeac5079..6756bc4e 100644
--- a/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
@@ -21,7 +21,7 @@ Office to programmatically retrieve a list of the worksheets in a
Microsoft Excel 2010 or Microsoft Excel 2013 workbook, without loading
the document into Excel. It contains an example **GetAllWorksheets** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md b/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
index 430dc1d4..4420d4b9 100644
--- a/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
+++ b/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
@@ -21,7 +21,7 @@ Office to programmatically retrieve an application property from a
Microsoft Word 2013 document, without loading the document into Word. It
contains example code to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md b/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
index b5358409..d30e6987 100644
--- a/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
+++ b/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
@@ -23,7 +23,7 @@ loading the document into Microsoft PowerPoint. It contains an example
**RetrieveNumberOfSlides** method to illustrate
this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md b/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
index e6c7f29e..aeaadd17 100644
--- a/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
@@ -21,7 +21,7 @@ Office to programmatically retrieve the values of cells in a spreadsheet
document. It contains an example **GetCellValue** method to illustrate
this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-set-a-custom-property-in-a-word-processing-document.md b/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
index 159f1b9f..8991c86a 100644
--- a/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
+++ b/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
@@ -21,7 +21,7 @@ Office to programmatically set a custom property in a word processing
document. It contains an example **SetCustomProperty** method to
illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/open-xml-sdk.md b/docs/open-xml-sdk.md
index 6ec5cc94..315ba745 100644
--- a/docs/open-xml-sdk.md
+++ b/docs/open-xml-sdk.md
@@ -53,7 +53,7 @@ Portions of ISO/IEC 29500:20081 are referenced in the SDK.
## See also
-- [Open XML SDK 2.5 for Microsoft Office](https://www.nuget.org/packages/Open-XML-SDK/2.5.0)
+- [Open XML SDK 2.5 for Microsoft Office](https://www.microsoft.com/download/details.aspx?id=30425)
- [Microsoft Office Developer Center](https://developer.microsoft.com/office/docs)
- [Samples on GitHub](https://github.com/OfficeDev)
- [Open XML SDK copyright notice](https://msdn.microsoft.com/library/6165f4ad-2e4d-4852-921a-087782af364d(Office.15).aspx)
From 6e1f5c1fa22276318942078b6d324dcb76db5b02 Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Mon, 28 Jun 2021 11:40:29 -0700
Subject: [PATCH 006/275] Update
how-to-add-tables-to-word-processing-documents.md
---
...add-tables-to-word-processing-documents.md | 89 ++++++-------------
1 file changed, 25 insertions(+), 64 deletions(-)
diff --git a/docs/how-to-add-tables-to-word-processing-documents.md b/docs/how-to-add-tables-to-word-processing-documents.md
index 8d8d5bd5..5675cc8e 100644
--- a/docs/how-to-add-tables-to-word-processing-documents.md
+++ b/docs/how-to-add-tables-to-word-processing-documents.md
@@ -11,17 +11,15 @@ ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Priority
---
# Add tables to word processing documents (Open XML SDK)
-This topic shows how to use the classes in the Open XML SDK 2.5 for
-Office to programmatically add a table to a word processing document. It
-contains an example **AddTable** method to illustrate this task.
+This topic shows how to use the classes in the Open XML SDK 2.5 for Office to programmatically add a table to a word processing document. It contains an example **AddTable** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
@@ -47,9 +45,7 @@ the code in this topic.
-----------------------------------------------------------------------------
## AddTable Method
-You can use the **AddTable** method to add a
-simple table to a word processing document. The **AddTable** method accepts two parameters,
-indicating the following:
+You can use the **AddTable** method to add a simple table to a word processing document. The **AddTable** method accepts two parameters, indicating the following:
- The name of the document to modify (string).
@@ -68,10 +64,7 @@ indicating the following:
-----------------------------------------------------------------------------
## Calling the AddTable Method
-The **AddTable** method modifies the document
-you specify, adding a table that contains the information in the
-two-dimensional array that you provide. To call the method, pass both of
-the parameter values, as shown in the following code.
+The **AddTable** method modifies the document you specify, adding a table that contains the information in the two-dimensional array that you provide. To call the method, pass both of the parameter values, as shown in the following code.
```csharp
const string fileName = @"C:\Users\Public\Documents\AddTable.docx";
@@ -95,11 +88,8 @@ the parameter values, as shown in the following code.
--------------------------------------------------------------------------------
## How the Code Works
-The following code starts by opening the document, using the [WordprocessingDocument.Open](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.wordprocessingdocument.open.aspx) method and
-indicating that the document should be open for read/write access (the
-final **true** parameter value). Next the code
-retrieves a reference to the root element of the main document part,
-using the [Document](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.maindocumentpart.document.aspx) property of the [MainDocumentPart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.wordprocessingdocument.maindocumentpart.aspx) of the word processing
+The following code starts by opening the document, using the [WordprocessingDocument.Open](https://docs.microsoft.com/dotnet/api/documentformat.openxml.packaging.wordprocessingdocument.open?view=openxml-2.8.1) method and
+indicating that the document should be open for read/write access (the final **true** parameter value). Next the code retrieves a reference to the root element of the main document part, using the [Document](https://docs.microsoft.com/dotnet/api/documentformat.openxml.packaging.maindocumentpart.document?view=openxml-2.8.1) property of the [MainDocumentPart](https://docs.microsoft.com/dotnet/api/documentformat.openxml.packaging.wordprocessingdocument.maindocumentpart?view=openxml-2.8.1) of the word processing
document.
```csharp
@@ -120,10 +110,7 @@ document.
-----------------------------------------------------------------------------
## Creating the Table Object and Setting Its Properties
-Before you can insert a table into a document, you must create the [Table](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.table.aspx) object and set its properties. To set
-a table's properties, you create and supply values for a [TableProperties](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.tableproperties.aspx) object. The **TableProperties** class provides many
-table-oriented properties, like [Shading](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.tableproperties.shading.aspx), [TableBorders](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.tableproperties.tableborders.aspx), [TableCaption](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.tableproperties.tablecaption.aspx), [TableCellSpacing](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.tableproperties.tablecellspacing.aspx), [TableJustification](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.tableproperties.tablejustification.aspx), and more. The sample
-method includes the following code.
+Before you can insert a table into a document, you must create the [Table](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.table?view=openxml-2.8.1) object and set its properties. To set a table's properties, you create and supply values for a [TableProperties](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tableproperties?view=openxml-2.8.1) object. The **TableProperties** class provides many table-oriented properties, like [Shading](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.shading?view=openxml-2.8.1), [TableBorders](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.tableborders?view=openxml-2.8.1), [TableCaption](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.tablecaption?view=openxml-2.8.1), [TableCellSpacing](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.tablecellspacing?view=openxml-2.8.1), [TableJustification](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.tablejustification?view=openxml-2.8.1), and more. The sample method includes the following code.
```csharp
Table table = new Table();
@@ -190,33 +177,16 @@ method includes the following code.
table.AppendChild(Of TableProperties)(props)
```
-The constructor for the **TableProperties**
-class allows you to specify as many child elements as you like (much
-like the [XElement](https://msdn2.microsoft.com/library/bb358354)
-constructor). In this case, the code creates [TopBorder](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.topborder.aspx), [BottomBorder](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.bottomborder.aspx), [LeftBorder](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.leftborder.aspx), [RightBorder](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.rightborder.aspx), [InsideHorizontalBorder](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.insidehorizontalborder.aspx), and [InsideVerticalBorder](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.insideverticalborder.aspx) child elements, each
-describing one of the border elements for the table. For each element,
-the code sets the **Val** and **Size** properties as part of calling the
-constructor. Setting the size is simple, but setting the **Val** property requires a bit more effort: this
-property, for this particular object, represents the border style, and
-you must set it to an enumerated value. To do that, you create an
-instance of the [EnumValue\](https://msdn.microsoft.com/library/office/cc801792.aspx) generic type, passing the
-specific border type ([Single](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.bordervalues.aspx)) as a parameter to the constructor.
-Once the code has set all the table border value it needs to set, it
-calls the [AppendChild\](https://msdn.microsoft.com/library/office/cc846487.aspx) method of the table,
-indicating that the generic type is [TableProperties](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.tableproperties.aspx)—that is, it is appending an
-instance of the **TableProperties** class,
-using the variable **props** as the value.
-
+The constructor for the **TableProperties** class allows you to specify as many child elements as you like (much like the [XElement](https://docs.microsoft.com/dotnet/api/system.xml.linq.xelement?view=net-5.0)
+constructor). In this case, the code creates [TopBorder](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.topborder?view=openxml-2.8.1), [BottomBorder](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.bottomborder?view=openxml-2.8.1), [LeftBorder](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.leftborder?view=openxml-2.8.1), [RightBorder](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.rightborder?view=openxml-2.8.1), [InsideHorizontalBorder](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.insidehorizontalborder?view=openxml-2.8.1), and [InsideVerticalBorder](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.insideverticalborder?view=openxml-2.8.1) child elements, each
+describing one of the border elements for the table. For each element, the code sets the **Val** and **Size** properties as part of calling the constructor. Setting the size is simple, but setting the **Val** property requires a bit more effort: this property, for this particular object, represents the border style, and you must set it to an enumerated value. To do that, you create an instance of the [EnumValue\](https://docs.microsoft.com/dotnet/api/documentformat.openxml.enumvalue-1?view=openxml-2.8.1) generic type, passing the specific border type ([Single](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.bordervalues?view=openxml-2.8.1) as a parameter to the constructor.
+Once the code has set all the table border value it needs to set, it calls the [AppendChild\](https://docs.microsoft.com/dotnet/api/documentformat.openxml.openxmlelement.appendchild) method of the table, indicating that the generic type is [TableProperties](https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.wordprocessing.tableproperties?view=openxml-2.8.1)—that is, it is appending an instance of the **TableProperties** class, using the variable **props** as the value.
-----------------------------------------------------------------------------
## Filling the Table with Data
-Given that table and its properties, now it is time to fill the table
-with data. The sample procedure iterates first through all the rows of
-data in the array of strings that you specified, creating a new [TableRow](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.tablerow.aspx) instance for each row of data. The
-following code leaves out the details of filling in the row with data,
-but it shows how you create and append the row to the table:
+Given that table and its properties, now it is time to fill the table with data. The sample procedure iterates first through all the rows of data in the array of strings that you specified, creating a new [TableRow](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tablerow?view=openxml-2.8.1) instance for each row of data. The following code leaves out the details of filling in the row with data, but it shows how you create and append the row to the table:
```csharp
for (var i = 0; i <= data.GetUpperBound(0); i++)
@@ -235,11 +205,7 @@ but it shows how you create and append the row to the table:
Next
```
-For each row, the code iterates through all the columns in the array of
-strings you specified. For each column, the code creates a new [TableCell](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.tablecell.aspx) object, fills it with data, and
-appends it to the row. The following code leaves out the details of
-filling each cell with data, but it shows how you create and append the
-column to the table:
+For each row, the code iterates through all the columns in the array of strings you specified. For each column, the code creates a new [TableCell](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tablecell?view=openxml-2.8.1) object, fills it with data, and appends it to the row. The following code leaves out the details of filling each cell with data, but it shows how you create and append the column to the table:
```csharp
for (var j = 0; j <= data.GetUpperBound(1); j++)
@@ -260,16 +226,16 @@ column to the table:
Next, the code does the following:
-- Creates a new [Text](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.text.aspx) object that contains a value from
+- Creates a new [Text](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.text?view=openxml-2.8.1) object that contains a value from
the array of strings.
-- Passes the [Text](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.text.aspx) object to the constructor for a
- new [Run](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.run.aspx) object.
+- Passes the [Text](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.text?view=openxml-2.8.1) object to the constructor for a
+ new [Run](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.run?redirectedfrom=MSDN&view=openxml-2.8.1) object.
-- Passes the [Run](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.run.aspx) object to the constructor for a new
- [Paragraph](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.paragraph.aspx) object.
+- Passes the [Run](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.run?view=openxml-2.8.1) object to the constructor for a new
+ [Paragraph](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.paragraph?view=openxml-2.8.1) object.
-- Passes the [Paragraph](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.paragraph.aspx) object to the [Append](https://msdn.microsoft.com/library/office/documentformat.openxml.openxmlelement.append.aspx)method of the cell.
+- Passes the [Paragraph](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.paragraph?view=openxml-2.8.1) object to the [Append](https://msdn.microsoft.com/library/office/documentformat.openxml.openxmlelement.append.aspx)method of the cell.
In other words, the following code appends the text to the new **TableCell** object.
@@ -281,11 +247,8 @@ In other words, the following code appends the text to the new **TableCell** obj
tc.Append(New Paragraph(New Run(New Text(data(i, j)))))
```
-The code then appends a new [TableCellProperties](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.tablecellproperties.aspx) object to the cell.
-This **TableCellProperties** object, like the
-**TableProperties** object you already saw, can
-accept as many objects in its constructor as you care to supply. In this
-case, the code passes only a new [TableCellWidth](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.tablecellwidth.aspx) object, with its [Type](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.tablewidthtype.type.aspx) property set to [Auto](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.tablewidthunitvalues.aspx) (so that the table automatically sizes
+The code then appends a new [TableCellProperties](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tablecellproperties?view=openxml-2.8.1) object to the cell. This **TableCellProperties** object, like the **TableProperties** object you already saw, can accept as many objects in its constructor as you care to supply. In this
+case, the code passes only a new [TableCellWidth](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tablecellwidth?view=openxml-2.8.1) object, with its [Type](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tablewidthtype.type?view=openxml-2.8.1) property set to [Auto](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tablewidthunitvalues?view=openxml-2.8.1) (so that the table automatically sizes
the width of each column).
```csharp
@@ -303,8 +266,7 @@ the width of each column).
-----------------------------------------------------------------------------
## Finishing Up
-The following code concludes by appending the table to the body of the
-document, and then saving the document.
+The following code concludes by appending the table to the body of the document, and then saving the document.
```csharp
doc.Body.Append(table);
@@ -319,8 +281,7 @@ document, and then saving the document.
-----------------------------------------------------------------------------
## Sample Code
-The following is the complete **AddTable** code
-sample in C\# and Visual Basic.
+The following is the complete **AddTable** code sample in C\# and Visual Basic.
```csharp
// Take the data from a two-dimensional array and build a table at the
From 6c87e7d276e7342a6d4e6599247fe57053539eaf Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Mon, 28 Jun 2021 12:24:14 -0700
Subject: [PATCH 007/275] Update
how-to-add-tables-to-word-processing-documents.md
fix relative URL
---
...add-tables-to-word-processing-documents.md | 75 +++++++++----------
1 file changed, 37 insertions(+), 38 deletions(-)
diff --git a/docs/how-to-add-tables-to-word-processing-documents.md b/docs/how-to-add-tables-to-word-processing-documents.md
index 5675cc8e..92416001 100644
--- a/docs/how-to-add-tables-to-word-processing-documents.md
+++ b/docs/how-to-add-tables-to-word-processing-documents.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+ms.prod: office365
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -19,16 +19,13 @@ localization_priority: Priority
This topic shows how to use the classes in the Open XML SDK 2.5 for Office to programmatically add a table to a word processing document. It contains an example **AddTable** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
-must explicitly reference the following assemblies in your project:
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
-You must also use the following **using**
-directives or **Imports** statements to compile
-the code in this topic.
+You must also use the following **using** directives or **Imports** statements to compile the code in this topic.
```csharp
using DocumentFormat.OpenXml;
@@ -43,13 +40,14 @@ the code in this topic.
```
-----------------------------------------------------------------------------
-## AddTable Method
+
+## AddTable Method
You can use the **AddTable** method to add a simple table to a word processing document. The **AddTable** method accepts two parameters, indicating the following:
-- The name of the document to modify (string).
+- The name of the document to modify (string).
-- A two-dimensional array of strings to insert into the document as a
+- A two-dimensional array of strings to insert into the document as a
table.
```csharp
@@ -62,7 +60,8 @@ You can use the **AddTable** method to add a simple table to a word processing d
```
-----------------------------------------------------------------------------
-## Calling the AddTable Method
+
+## Calling the AddTable Method
The **AddTable** method modifies the document you specify, adding a table that contains the information in the two-dimensional array that you provide. To call the method, pass both of the parameter values, as shown in the following code.
@@ -85,11 +84,12 @@ The **AddTable** method modifies the document you specify, adding a table that c
{"Massachusetts", "MA"}})
```
---------------------------------------------------------------------------------
+-----------------------------------------------------------------------------
+
## How the Code Works
-The following code starts by opening the document, using the [WordprocessingDocument.Open](https://docs.microsoft.com/dotnet/api/documentformat.openxml.packaging.wordprocessingdocument.open?view=openxml-2.8.1) method and
-indicating that the document should be open for read/write access (the final **true** parameter value). Next the code retrieves a reference to the root element of the main document part, using the [Document](https://docs.microsoft.com/dotnet/api/documentformat.openxml.packaging.maindocumentpart.document?view=openxml-2.8.1) property of the [MainDocumentPart](https://docs.microsoft.com/dotnet/api/documentformat.openxml.packaging.wordprocessingdocument.maindocumentpart?view=openxml-2.8.1) of the word processing
+The following code starts by opening the document, using the [WordprocessingDocument.Open](/dotnet/api/documentformat.openxml.packaging.wordprocessingdocument.open.md) method and
+indicating that the document should be open for read/write access (the final **true** parameter value). Next the code retrieves a reference to the root element of the main document part, using the [Document](/dotnet/api/documentformat.openxml.packaging.maindocumentpart.document.md) property of the [MainDocumentPart](/dotnet/api/documentformat.openxml.packaging.wordprocessingdocument.maindocumentpart.md) of the word processing
document.
```csharp
@@ -108,9 +108,10 @@ document.
```
-----------------------------------------------------------------------------
+
## Creating the Table Object and Setting Its Properties
-Before you can insert a table into a document, you must create the [Table](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.table?view=openxml-2.8.1) object and set its properties. To set a table's properties, you create and supply values for a [TableProperties](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tableproperties?view=openxml-2.8.1) object. The **TableProperties** class provides many table-oriented properties, like [Shading](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.shading?view=openxml-2.8.1), [TableBorders](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.tableborders?view=openxml-2.8.1), [TableCaption](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.tablecaption?view=openxml-2.8.1), [TableCellSpacing](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.tablecellspacing?view=openxml-2.8.1), [TableJustification](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.tablejustification?view=openxml-2.8.1), and more. The sample method includes the following code.
+Before you can insert a table into a document, you must create the [Table](/dotnet/api/documentformat.openxml.wordprocessing.table.md) object and set its properties. To set a table's properties, you create and supply values for a [TableProperties](/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.md) object. The **TableProperties** class provides many table-oriented properties, like [Shading](/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.shading.md), [TableBorders](/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.tableborders.md), [TableCaption](/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.tablecaption.md), [TableCellSpacing](/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.tablecellspacing.md), [TableJustification](/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.tablejustification.md), and more. The sample method includes the following code.
```csharp
Table table = new Table();
@@ -178,15 +179,16 @@ Before you can insert a table into a document, you must create the [Table](https
```
The constructor for the **TableProperties** class allows you to specify as many child elements as you like (much like the [XElement](https://docs.microsoft.com/dotnet/api/system.xml.linq.xelement?view=net-5.0)
-constructor). In this case, the code creates [TopBorder](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.topborder?view=openxml-2.8.1), [BottomBorder](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.bottomborder?view=openxml-2.8.1), [LeftBorder](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.leftborder?view=openxml-2.8.1), [RightBorder](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.rightborder?view=openxml-2.8.1), [InsideHorizontalBorder](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.insidehorizontalborder?view=openxml-2.8.1), and [InsideVerticalBorder](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.insideverticalborder?view=openxml-2.8.1) child elements, each
-describing one of the border elements for the table. For each element, the code sets the **Val** and **Size** properties as part of calling the constructor. Setting the size is simple, but setting the **Val** property requires a bit more effort: this property, for this particular object, represents the border style, and you must set it to an enumerated value. To do that, you create an instance of the [EnumValue\](https://docs.microsoft.com/dotnet/api/documentformat.openxml.enumvalue-1?view=openxml-2.8.1) generic type, passing the specific border type ([Single](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.bordervalues?view=openxml-2.8.1) as a parameter to the constructor.
-Once the code has set all the table border value it needs to set, it calls the [AppendChild\](https://docs.microsoft.com/dotnet/api/documentformat.openxml.openxmlelement.appendchild) method of the table, indicating that the generic type is [TableProperties](https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.wordprocessing.tableproperties?view=openxml-2.8.1)—that is, it is appending an instance of the **TableProperties** class, using the variable **props** as the value.
+target="M:System.Xml.Linq.XElement.#ctor(System.Xml.Linq.XName,System.Object[])">[XElement](/dotnet/api/system.xml.linq.xelement.md)
+constructor). In this case, the code creates [TopBorder](/dotnet/api/documentformat.openxml.wordprocessing.topborder.md), [BottomBorder](/dotnet/api/documentformat.openxml.wordprocessing.bottomborder.md), [LeftBorder](/dotnet/api/documentformat.openxml.wordprocessing.leftborder.md), [RightBorder](/dotnet/api/documentformat.openxml.wordprocessing.rightborder.md), [InsideHorizontalBorder](/dotnet/api/documentformat.openxml.wordprocessing.insidehorizontalborder.md), and [InsideVerticalBorder](/dotnet/api/documentformat.openxml.wordprocessing.insideverticalborder.md) child elements, each
+describing one of the border elements for the table. For each element, the code sets the **Val** and **Size** properties as part of calling the constructor. Setting the size is simple, but setting the **Val** property requires a bit more effort: this property, for this particular object, represents the border style, and you must set it to an enumerated value. To do that, you create an instance of the [EnumValue\](/dotnet/api/documentformat.openxml.enumvalue-1.md) generic type, passing the specific border type ([Single](/dotnet/api/documentformat.openxml.wordprocessing.bordervalues.md) as a parameter to the constructor.
+Once the code has set all the table border value it needs to set, it calls the [AppendChild\](/dotnet/api/documentformat.openxml.openxmlelement.appendchild.md) method of the table, indicating that the generic type is [TableProperties](/dotnet/api/documentformat.openxml.wordprocessing.tableproperties.md)—that is, it is appending an instance of the **TableProperties** class, using the variable **props** as the value.
-----------------------------------------------------------------------------
+
## Filling the Table with Data
-Given that table and its properties, now it is time to fill the table with data. The sample procedure iterates first through all the rows of data in the array of strings that you specified, creating a new [TableRow](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tablerow?view=openxml-2.8.1) instance for each row of data. The following code leaves out the details of filling in the row with data, but it shows how you create and append the row to the table:
+Given that table and its properties, now it is time to fill the table with data. The sample procedure iterates first through all the rows of data in the array of strings that you specified, creating a new [TableRow](/dotnet/api/documentformat.openxml.wordprocessing.tablerow.md) instance for each row of data. The following code leaves out the details of filling in the row with data, but it shows how you create and append the row to the table:
```csharp
for (var i = 0; i <= data.GetUpperBound(0); i++)
@@ -205,7 +207,7 @@ Given that table and its properties, now it is time to fill the table with data.
Next
```
-For each row, the code iterates through all the columns in the array of strings you specified. For each column, the code creates a new [TableCell](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tablecell?view=openxml-2.8.1) object, fills it with data, and appends it to the row. The following code leaves out the details of filling each cell with data, but it shows how you create and append the column to the table:
+For each row, the code iterates through all the columns in the array of strings you specified. For each column, the code creates a new [TableCell](/dotnet/api/documentformat.openxml.wordprocessing.tablecell.md) object, fills it with data, and appends it to the row. The following code leaves out the details of filling each cell with data, but it shows how you create and append the column to the table:
```csharp
for (var j = 0; j <= data.GetUpperBound(1); j++)
@@ -226,16 +228,16 @@ For each row, the code iterates through all the columns in the array of strings
Next, the code does the following:
-- Creates a new [Text](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.text?view=openxml-2.8.1) object that contains a value from
+- Creates a new [Text](/dotnet/api/documentformat.openxml.wordprocessing.text.md) object that contains a value from
the array of strings.
-- Passes the [Text](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.text?view=openxml-2.8.1) object to the constructor for a
- new [Run](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.run?redirectedfrom=MSDN&view=openxml-2.8.1) object.
+- Passes the [Text](/dotnet/api/documentformat.openxml.wordprocessing.text.md) object to the constructor for a
+ new [Run](/dotnet/api/documentformat.openxml.wordprocessing.run.md) object.
-- Passes the [Run](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.run?view=openxml-2.8.1) object to the constructor for a new
- [Paragraph](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.paragraph?view=openxml-2.8.1) object.
+- Passes the [Run](/dotnet/api/documentformat.openxml.wordprocessing.run.md) object to the constructor for a new
+ [Paragraph](/dotnet/api/documentformat.openxml.wordprocessing.paragraph.md) object.
-- Passes the [Paragraph](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.paragraph?view=openxml-2.8.1) object to the [Append](https://msdn.microsoft.com/library/office/documentformat.openxml.openxmlelement.append.aspx)method of the cell.
+- Passes the [Paragraph](/dotnet/api/documentformat.openxml.wordprocessing.paragraph.md) object to the [Append](/dotnet/api/documentformat.openxml.openxmlelement.append.md)method of the cell.
In other words, the following code appends the text to the new **TableCell** object.
@@ -247,8 +249,8 @@ In other words, the following code appends the text to the new **TableCell** obj
tc.Append(New Paragraph(New Run(New Text(data(i, j)))))
```
-The code then appends a new [TableCellProperties](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tablecellproperties?view=openxml-2.8.1) object to the cell. This **TableCellProperties** object, like the **TableProperties** object you already saw, can accept as many objects in its constructor as you care to supply. In this
-case, the code passes only a new [TableCellWidth](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tablecellwidth?view=openxml-2.8.1) object, with its [Type](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tablewidthtype.type?view=openxml-2.8.1) property set to [Auto](https://docs.microsoft.com/dotnet/api/documentformat.openxml.wordprocessing.tablewidthunitvalues?view=openxml-2.8.1) (so that the table automatically sizes
+The code then appends a new [TableCellProperties](/dotnet/api/documentformat.openxml.wordprocessing.tablecellproperties.md) object to the cell. This **TableCellProperties** object, like the **TableProperties** object you already saw, can accept as many objects in its constructor as you care to supply. In this
+case, the code passes only a new [TableCellWidth](/dotnet/api/documentformat.openxml.wordprocessing.tablecellwidth.md) object, with its [Type](/dotnet/api/documentformat.openxml.wordprocessing.tablewidthtype.type.md) property set to [Auto](/dotnet/api/documentformat.openxml.wordprocessing.tablewidthunitvalues.md) (so that the table automatically sizes
the width of each column).
```csharp
@@ -264,6 +266,7 @@ the width of each column).
```
-----------------------------------------------------------------------------
+
## Finishing Up
The following code concludes by appending the table to the body of the document, and then saving the document.
@@ -279,7 +282,8 @@ The following code concludes by appending the table to the body of the document,
```
-----------------------------------------------------------------------------
-## Sample Code
+
+## Sample Code
The following is the complete **AddTable** code sample in C\# and Visual Basic.
@@ -406,12 +410,7 @@ The following is the complete **AddTable** code sample in C\# and Visual Basic.
```
-----------------------------------------------------------------------------
-## See also
-
-
-
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
-
-
+## See also
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
\ No newline at end of file
From 69bfc95c99642ebd05e5643b9a7fe371955a2eaf Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Mon, 28 Jun 2021 12:39:30 -0700
Subject: [PATCH 008/275] add desc to metadata
---
docs/how-to-add-tables-to-word-processing-documents.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/how-to-add-tables-to-word-processing-documents.md b/docs/how-to-add-tables-to-word-processing-documents.md
index 92416001..20722d9f 100644
--- a/docs/how-to-add-tables-to-word-processing-documents.md
+++ b/docs/how-to-add-tables-to-word-processing-documents.md
@@ -1,11 +1,12 @@
---
-ms.prod: office365
+ms.prod: MULTIPLEPRODUCTS
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
- schema
ms.assetid: 65c377d2-1763-4bb6-8915-bc6839ccf62d
title: 'How to: Add tables to word processing documents (Open XML SDK)'
+description: 'Learn how to add tables to word processing documents using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
From 18d69cd7915f85da51ffd1f1d057de56e01bc1b9 Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Mon, 28 Jun 2021 12:44:16 -0700
Subject: [PATCH 009/275] Add desc to metadata
---
...picture-into-a-word-processing-document.md | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
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 5e8955b0..4048d2ff 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
@@ -6,21 +6,20 @@ api_type:
- schema
ms.assetid: ae8c98d9-dd11-4b75-804c-165095d60ffd
title: 'How to: Insert a picture into a word processing document (Open XML SDK)'
+description: 'Learn how to insert a picture into a word processing document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Priority
---
# Insert a picture into a word processing document (Open XML SDK)
-This topic shows how to use the classes in the Open XML SDK 2.5 for
-Office to programmatically add a picture to a word processing document.
+This topic shows how to use the classes in the Open XML SDK 2.5 for Office to programmatically add a picture to a word processing document.
-The following assembly directives are required to compile the code in
-this topic.
+The following assembly directives are required to compile the code in this topic.
```csharp
using System.IO;
@@ -43,7 +42,9 @@ this topic.
```
--------------------------------------------------------------------------------
+
## Opening an Existing Document for Editing
+
To open an existing document, instantiate the [WordprocessingDocument](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.wordprocessingdocument.aspx) class as shown in
the following **using** statement. In the same
statement, open the word processing file at the specified **filepath** by using the [Open(String, Boolean)](https://msdn.microsoft.com/library/office/cc562234.aspx) method, with the
@@ -77,7 +78,6 @@ automatically saves and closes the object as part of its **System.IDisposable**
exit the block, you do not have to explicitly call **Save** and **Close**─as
long as you use **using**.
-
--------------------------------------------------------------------------------
## The XML Representation of the Graphic Object
The following text from the [ISO/IEC
@@ -106,7 +106,9 @@ The following XML Schema fragment defines the contents of this element
```
--------------------------------------------------------------------------------
+
## How the Sample Code Works
+
After you have opened the document, add the [ImagePart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.imagepart.aspx) object to the [MainDocumentPart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.maindocumentpart.aspx) object by using a file
stream as shown in the following code segment.
@@ -248,6 +250,7 @@ Then, append the reference to the body. The element should be in a [Run](https:/
```
--------------------------------------------------------------------------------
+
## Sample Code
The following code example adds a picture to an existing word document.
In your code, you can call the **InsertAPicture** method by passing in the path of
@@ -405,7 +408,7 @@ The following is the complete sample code in both C\# and Visual Basic.
```
--------------------------------------------------------------------------------
-## See also
+## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
From a4008b571431dd367ce0047a4895a26bc80cd28a Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Mon, 28 Jun 2021 15:06:58 -0700
Subject: [PATCH 010/275] add desc to metadata
fix relative link, run linter
---
...paragraph-in-a-word-processing-document.md | 11 +-
...ientation-of-a-word-processing-document.md | 49 ++++----
...t-from-the-docm-to-the-docx-file-format.md | 22 ++--
...ation-document-by-providing-a-file-name.md | 23 ++--
...ter-style-to-a-word-processing-document.md | 45 +++----
...aph-style-to-a-word-processing-document.md | 76 ++++++------
...ic-author-in-a-word-processing-document.md | 25 +++-
...-styles-from-a-word-processing-document.md | 37 ++++--
...footers-from-a-word-processing-document.md | 14 +--
...he-header-in-a-word-processing-document.md | 49 +++-----
...les-parts-in-a-word-processing-document.md | 56 +++++----
...ry-of-all-named-ranges-in-a-spreadsheet.md | 43 ++-----
...hidden-rows-or-columns-in-a-spreadsheet.md | 111 ++++++------------
...-the-hidden-worksheets-in-a-spreadsheet.md | 104 ++++------------
...list-of-the-worksheets-in-a-spreadsheet.md | 23 ++--
...-values-from-a-word-processing-document.md | 9 +-
...er-of-slides-in-a-presentation-document.md | 51 ++++----
...ve-the-values-of-cells-in-a-spreadsheet.md | 41 ++++---
...-property-in-a-word-processing-document.md | 18 ++-
docs/open-xml-sdk.md | 8 +-
20 files changed, 360 insertions(+), 455 deletions(-)
diff --git a/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md b/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
index ffecf1dc..24ca3963 100644
--- a/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
+++ b/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
@@ -6,12 +6,13 @@ api_type:
- schema
ms.assetid: 8d465a77-6c1b-453a-8375-ecf80d2f1bdc
title: 'How to: Apply a style to a paragraph in a word processing document'
+description: 'Learn how to apply a style to a paragraph in a word processing document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Priority
---
@@ -19,11 +20,11 @@ localization_priority: Priority
This topic shows how to use the classes in the Open XML SDK 2.5 for Office to programmatically apply a style to a paragraph within a word processing document. It contains an example **ApplyStyleToParagraph** method to illustrate this task, plus several supplemental example methods to check whether a style exists, add a new style, and add the styles part.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You must explicitly reference the following assemblies in your project:
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
You must also use the following **using** directives or **Imports** statements to compile the code in this topic.
@@ -54,7 +55,6 @@ The **ApplyStyleToParagraph** example method can be used to apply a style to a p
The following sections in this topic explain the implementation of this method and the supporting code, as well as how to call it. The complete sample code listing can be found in the [Sample Code](#sample-code) section at the end of this topic.
-
## Getting a WordprocessingDocument Object
The Sample Code section also shows the code required to set up for
@@ -925,4 +925,3 @@ The following is the complete code sample in both C\# and Visual Basic.
## See also
- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
-
diff --git a/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md b/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
index 97ce414b..5828d091 100644
--- a/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
+++ b/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
@@ -5,13 +5,14 @@ api_name:
api_type:
- schema
ms.assetid: bb5319c8-ee99-4862-937b-94dcae8deaca
-title: 'How to: Change the print orientation of a word processing document'
+title: 'How to: Change the print orientation of a word processing document (Open XML SDK)'
+description: 'Learn how to change the print orientation of a word processing document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Normal
---
@@ -23,12 +24,12 @@ Office to programmatically set the print orientation of a Microsoft Word
**SetPrintOrientation** method to illustrate this task.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
@@ -48,7 +49,9 @@ the code in this topic.
```
-----------------------------------------------------------------------------
+
## SetPrintOrientation Method
+
You can use the **SetPrintOrientation** method
to change the print orientation of a word processing document. The
method accepts two parameters that indicate the name of the document to
@@ -72,9 +75,10 @@ the section's current print orientation, the code modifies the print
orientation for the section. In addition, the code must manually update
the width, height, and margins for each section.
-
-----------------------------------------------------------------------------
+
## Calling the Sample SetPrintOrientation Method
+
To call the sample **SetPrintOrientation**
method, pass a string that contains the name of the file to convert. The
following code shows an example method call.
@@ -90,7 +94,9 @@ following code shows an example method call.
```
-----------------------------------------------------------------------------
+
## How the Code Works
+
The following code first opens the document by using the [Open](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.wordprocessingdocument.open.aspx) method and sets the **isEditable** parameter to
**true** to indicate that the document should
be read/write. The code maintains a Boolean variable that tracks whether
@@ -125,15 +131,10 @@ each section in turn.
```
-----------------------------------------------------------------------------
+
## Iterating Through All the Sections
-The next block of code iterates through all the sections in the
-collection of **SectionProperties** elements.
-For each section, the code initializes a variable that tracks whether
-the page orientation for the section was changed so the code can update
-the page size and margins. (If the new orientation matches the original
-orientation, the code will not update the page.) The code continues by
-retrieving a reference to the first [PageSize](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.pagesize.aspx) descendant of the **SectionProperties** element. If the reference is
-not null, the code updates the orientation as required.
+
+The next block of code iterates through all the sections in the collection of **SectionProperties** elements. For each section, the code initializes a variable that tracks whether the page orientation for the section was changed so the code can update the page size and margins. (If the new orientation matches the original orientation, the code will not update the page.) The code continues by retrieving a reference to the first [PageSize](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.pagesize.aspx) descendant of the **SectionProperties** element. If the reference is not null, the code updates the orientation as required.
```csharp
foreach (SectionProperties sectPr in sections)
@@ -162,7 +163,9 @@ not null, the code updates the orientation as required.
```
-----------------------------------------------------------------------------
+
## Setting the Orientation for the Section
+
The next block of code first checks whether the [Orient](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.pagesize.orient.aspx) property of the **PageSize** element exists. As with many properties
of Open XML elements, the property or attribute might not exist yet. In
that case, retrieving the property returns a null reference. By default,
@@ -218,7 +221,9 @@ save the document at the end.)
```
-----------------------------------------------------------------------------
+
## Updating the Page Size
+
At this point in the code, the page orientation may have changed. If so,
the code must complete two more tasks. It must update the page size, and
update the page margins for the section. The first task is easy—the
@@ -251,7 +256,9 @@ in the **PageSize** element.
```
-----------------------------------------------------------------------------
+
## Updating the Margins
+
The next step in the sample procedure handles margins for the section.
If the page orientation has changed, the code must rotate the margins to
match. To do so, the code retrieves a reference to the [PageMargin](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.pagemargin.aspx) element for the section. If the
@@ -301,7 +308,9 @@ margin settings, as shown in the following code.
```
-----------------------------------------------------------------------------
+
## Saving the Document
+
After all the modifications, the code determines whether the document
has changed. If the document has changed, the code saves it.
@@ -318,8 +327,10 @@ has changed. If the document has changed, the code saves it.
End If
```
---------------------------------------------------------------------------------
+-----------------------------------------------------------------------------
+
## Sample Code
+
The following is the complete **SetPrintOrientation** code sample in C\# and Visual
Basic.
@@ -513,10 +524,8 @@ Basic.
End Sub
```
---------------------------------------------------------------------------------
-## See also
-
-
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+-----------------------------------------------------------------------------
+## See also
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md b/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
index 27a657a3..5be34cbc 100644
--- a/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
+++ b/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
@@ -5,13 +5,15 @@ api_name:
api_type:
- schema
ms.assetid: 80cdc1e8-d023-4886-b8d6-ee26327df739
-title: 'How to: Convert a word processing document from the DOCM to the DOCX file format'
+title: 'How to: Convert a word processing document from the DOCM to the DOCX file format (Open XML SDK)'
+description: 'Learn how to convert a word processing document from the DOCM to the DOCX file format using the Open XML SDK.'
+
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Priority
---
@@ -24,12 +26,12 @@ a standard document (with a .docx extension). It contains an example
**ConvertDOCMtoDOCX** method to illustrate this task.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (Installed by the Open XML SDK)
+- DocumentFormat.OpenXml (Installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
@@ -66,7 +68,6 @@ parameter that indicates the file name of the file to convert.
The complete code listing for the method can be found in the [Sample Code](#sample-code) section.
-
## Calling the Sample Method
To call the sample method, pass a string that contains the name of the
@@ -101,14 +102,12 @@ document parts in a sample document that contains a macro. The
vbaProject part is highlighted.
Figure 1. The vbaProject part
-

The task of converting a macro enabled document to one that is not macro
enabled therefore consists largely of removing the vbaProject part from
the document package.
-
## How the Code Works
The sample code modifies the document that you specify, verifying that
@@ -359,9 +358,4 @@ Basic.
## See also
-
-
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
-
-
-
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md b/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
index dc1d8cec..99e316ec 100644
--- a/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
+++ b/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
@@ -6,12 +6,13 @@ api_type:
- schema
ms.assetid: 3d4a800e-64f0-4715-919f-a8f7d92a5c37
title: 'How to: Create a presentation document by providing a file name (Open XML SDK)'
+description: 'Learn how to create a presentation document by providing a file name using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Priority
---
@@ -20,12 +21,12 @@ localization_priority: Priority
This topic shows how to use the classes in the Open XML SDK 2.5 to
create a presentation document programmatically.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (Installed by the Open XML SDK)
+- DocumentFormat.OpenXml (Installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
@@ -50,7 +51,9 @@ the code in this topic.
```
--------------------------------------------------------------------------------
-## Create a Presentation
+
+## Create a Presentation
+
A presentation file, like all files defined by the Open XML standard,
consists of a package file container. This is the file that users see in
their file explorer; it usually has a .pptx extension. The package file
@@ -143,7 +146,9 @@ two slides.
```
--------------------------------------------------------------------------------
-## Sample Code
+
+## Sample Code
+
Following is the complete sample C\# and VB code to create a
presentation, given a file path.
@@ -767,8 +772,8 @@ presentation, given a file path.
```
--------------------------------------------------------------------------------
-## See also
+## See also
[About the Open XML SDK 2.5 for Office](about-the-open-xml-sdk.md)
@@ -782,6 +787,4 @@ presentation, given a file path.
[How to: Apply a theme to a presentation (Open XML SDK)](how-to-apply-a-theme-to-a-presentation.md)
-
-
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md b/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
index 931e89a1..cd875f4e 100644
--- a/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
+++ b/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
@@ -6,12 +6,13 @@ api_type:
- schema
ms.assetid: c38f2c94-f0b5-4bb5-8c95-02e556d4e9f1
title: 'Create and add a character style to a word processing document'
+description: 'Learn how to create and add a character style to a word processing document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Normal
---
# Create and add a character style to a word processing document
@@ -22,12 +23,12 @@ processing document. It contains an example
**CreateAndAddCharacterStyle** method to illustrate this task, plus a
supplemental example method to add the styles part when it is necessary.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
@@ -72,8 +73,7 @@ in the user interface).
The complete code listing for the method can be found in the [Sample Code](#sample-code) section.
-
-## About Style IDs, Style Names, and Aliases
+## About Style IDs, Style Names, and Aliases
The style ID is used by the document to refer to the style, and can be
thought of as its primary identifier. Typically, you use the style ID to
@@ -102,7 +102,6 @@ are comma separated. Each name must be separated by one or more commas.
Finally, the name element specifies the primary style name, which is the
one typically shown in an application's user interface.
-
## Calling the Sample Method
You can use the **CreateAndAddCharacterStyle**
@@ -248,18 +247,18 @@ of style created with this style definition. WordprocessingML supports
six types of style definitions by the values for the style definition's
type attribute:
-- Paragraph styles
+- Paragraph styles
-- Character styles
+- Character styles
-- Linked styles (paragraph + character) [*Note*: Accomplished via the
+- Linked styles (paragraph + character) [*Note*: Accomplished via the
link element (§17.7.4.6). *end note*]
-- Table styles
+- Table styles
-- Numbering styles
+- Numbering styles
-- Default paragraph + character properties
+- Default paragraph + character properties
*Example*: Consider a style called Heading 1 in a document as shown in
the following code example.
@@ -286,7 +285,6 @@ You can set the paragraph, character, table and numbering styles types
by specifying the corresponding value in the style element's type
attribute.
-
## Character Style Type
You specify character as the style type by setting the value of the type
@@ -296,7 +294,7 @@ The following information from section 17.7.9 of the ISO/IEC 29500
specification discusses character styles. Be aware that section numbers
preceded by § indicate sections in the ISO specification.
-**17.7.9 Run (Character) Styles**
+### 17.7.9 Run (Character) Styles
*Character styles* are styles which apply to the contents of one or more
runs of text within a document's contents. This definition implies that
@@ -308,12 +306,9 @@ propertieselement.
A character style has two defining style type-specific characteristics:
-- The type attribute on the style has a value of character, which
- indicates that the following style definition is a character style.
+- The type attribute on the style has a value of character, which indicates that the following style definition is a character style.
-- The style specifies only character-level properties using the rPr
- element. In this case, the run properties are the set of properties
- applied to each run which is of this style.
+- The style specifies only character-level properties using the rPr element. In this case, the run properties are the set of properties applied to each run which is of this style.
The character style is then applied to runs by referencing the styleId
attribute value for this style in the run properties' rStyle element.
@@ -326,9 +321,7 @@ range of text.
Figure 1. Text with a character style applied
-
- 
-
+
## How the Code Works
@@ -654,10 +647,6 @@ C\# and Visual Basic.
## See also
-
-
[How to: Apply a style to a paragraph in a word processing document (Open XML SDK)](how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md)
-
-
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md b/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
index bfa85ea2..a7892ec6 100644
--- a/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
+++ b/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
@@ -5,13 +5,14 @@ api_name:
api_type:
- schema
ms.assetid: 73cbca2d-3603-45a5-8a73-c2e718376b01
-title: 'Create and add a paragraph style to a word processing document'
+title: 'How to: Create and add a paragraph style to a word processing document (Open XML SDK)'
+description: 'Learn how to create and add a paragraph style to a word processing document using hte Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Priority
---
# Create and add a paragraph style to a word processing document
@@ -23,12 +24,12 @@ processing document. It contains an example
supplemental example method to add the styles part when necessary.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must also explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
@@ -47,7 +48,8 @@ the code in this topic.
```
---------------------------------------------------------------------------------
-## CreateAndAddParagraphStyle Method
+
+## CreateAndAddParagraphStyle Method
The **CreateAndAddParagraphStyle** sample method can be used to add a
style to a word processing document. You must first obtain a reference
@@ -74,8 +76,8 @@ in the user interface).
The complete code listing for the method can be found in the [Sample Code](#sample-code) section.
-
---------------------------------------------------------------------------------
+
## About Style IDs, Style Names, and Aliases
The style ID is used by the document to refer to the style, and can be
@@ -106,9 +108,9 @@ commas. Finally, the name element specifies the primary style name,
which is the one typically shown in the user interface of an
application.
+---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
-## Calling the Sample Method
+## Calling the Sample Method
Use the **CreateAndAddParagraphStyle** example
method to create and add a named style to a word processing document
@@ -228,8 +230,9 @@ applies the style to the paragraph.
End Using
```
---------------------------------------------------------------------------------
-## Style Types
+---------------------------------------------------------------------------------
+
+## Style Types
WordprocessingML supports six style types, four of which you can specify
using the type attribute on the style element. The following
@@ -241,18 +244,18 @@ of style created with this style definition. WordprocessingML supports
six types of style definitions by the values for the style definition's
type attribute:
-- Paragraph styles
+- Paragraph styles
-- Character styles
+- Character styles
-- Linked styles (paragraph + character) [*Note*: Accomplished via the
+- Linked styles (paragraph + character) [*Note*: Accomplished via the
link element (§17.7.4.6). *end note*]
-- Table styles
+- Table styles
-- Numbering styles
+- Numbering styles
-- Default paragraph + character properties
+- Default paragraph + character properties
*Example*: Consider a style called Heading 1 in a document as follows:
@@ -278,9 +281,9 @@ You can set the paragraph, character, table and numbering styles types
by specifying the corresponding value in the type attribute of the style
element.
-
---------------------------------------------------------------------------------
-## Paragraph Style Type
+
+## Paragraph Style Type
You specify paragraph as the style type by setting the value of the type
attribute on the style element to "paragraph".
@@ -289,7 +292,7 @@ The following information from section 17.7.8 of the ISO/IEC 29500
specification discusses paragraph styles. Note that section numbers
preceded by § indicate sections in the ISO specification.
-**17.7.8 Paragraph Styles**
+## 17.7.8 Paragraph Styles
*Paragraph styles* are styles which apply to the contents of an entire
paragraph as well as the paragraph mark. This definition implies that
@@ -322,9 +325,9 @@ styleId attribute value for this style in the paragraph properties'
© ISO/IEC29500: 2008.
+---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
-## How the Code Works
+## How the Code Works
The **CreateAndAddParagraphStyle** method
begins by retrieving a reference to the styles element in the styles
@@ -351,8 +354,9 @@ styles element is created and saved to the part.
End If
```
---------------------------------------------------------------------------------
-## Creating the Style
+---------------------------------------------------------------------------------
+
+## Creating the Style
To create the style, the code instantiates the **[Style](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.style.aspx)** class and sets certain properties,
such as the **[Type](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.style.type.aspx)** of style (paragraph), the **[StyleId](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.style.styleid.aspx)**, whether the style is a **[CustomStyle](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.style.customstyle.aspx)**, and whether the style is the
@@ -452,12 +456,9 @@ specification.
style.Append(unhidewhenused1)
```
-Next, the code instantiates a **[StyleRunProperties](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.stylerunproperties.aspx)** object to create a **rPr** (Run Properties) element. You specify the
-character properties that apply to the style, such as font and color, in
-this element. The properties are then appended as children of the **rPr** element.
+Next, the code instantiates a **[StyleRunProperties](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.stylerunproperties.aspx)** object to create a **rPr** (Run Properties) element. You specify the character properties that apply to the style, such as font and color, in this element. The properties are then appended as children of the **rPr** element.
-When the run properties are created, the code appends the **rPr** element to the style, and the style element
-to the styles root element in the styles part.
+When the run properties are created, the code appends the **rPr** element to the style, and the style element to the styles root element in the styles part.
```csharp
// Create the StyleRunProperties object and specify some of the run properties.
@@ -506,8 +507,9 @@ to the styles root element in the styles part.
styles.Append(style)
```
---------------------------------------------------------------------------------
-## Applying the Paragraph Style
+---------------------------------------------------------------------------------
+
+## Applying the Paragraph Style
When you have the style created, you can apply it to a paragraph by
referencing the styleId attribute value for this style in the paragraph
@@ -552,8 +554,9 @@ ParagraphStyleId property represents the paragraph properties' **pStyle** elemen
pPr.ParagraphStyleId.Val = parastyleid
```
---------------------------------------------------------------------------------
-## Sample Code
+---------------------------------------------------------------------------------
+
+## Sample Code
The following is the complete **CreateAndAddParagraphStyle** code sample in both
C\# and Visual Basic.
@@ -723,8 +726,9 @@ C\# and Visual Basic.
End Function
```
---------------------------------------------------------------------------------
-## See also
+---------------------------------------------------------------------------------
+
+## See also
- [Apply a style to a paragraph in a word processing document (Open XML SDK)](how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md)
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md b/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
index a2c16094..6b161245 100644
--- a/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
+++ b/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
@@ -6,12 +6,13 @@ api_type:
- schema
ms.assetid: c66a64ca-cb0d-4acc-9d05-535b5bbb8c96
title: 'How to: Delete comments by all or a specific author in a word processing document (Open XML SDK)'
+description: 'Learn how to delete comments by all or a specific author in a word processing document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Normal
---
# Delete comments by all or a specific author in a word processing document (Open XML SDK)
@@ -21,12 +22,12 @@ Office to programmatically delete comments by all or a specific author
in a word processing document, without having to load the document into
Microsoft Word. It contains an example **DeleteComments** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
@@ -46,7 +47,9 @@ the code in this topic.
```
--------------------------------------------------------------------------------
+
## DeleteComments Method
+
You can use the **DeleteComments** method to
delete all of the comments from a word processing document, or only
those written by a specific author. As shown in the following code, the
@@ -71,7 +74,9 @@ an author name, the code deletes all comments.
```
--------------------------------------------------------------------------------
+
## Calling the DeleteComments Method
+
To call the **DeleteComments** method, provide
the required parameters as shown in the following code.
@@ -135,7 +140,9 @@ in proceeding, as there cannot be any comments to delete.
```
--------------------------------------------------------------------------------
+
## Creating the List of Comments
+
The code next performs two tasks: creating a list of all the comments to
delete, and creating a list of comment IDs that correspond to the
comments to delete. Given these lists, the code can both delete the
@@ -191,7 +198,9 @@ of strings that contain all the comment ID values.
```
--------------------------------------------------------------------------------
+
## Deleting Comments and Saving the Part
+
Given the **commentsToDelete** collection, to
the following code loops through all the comments that require deleting
and performs the deletion. The code then saves the comments part.
@@ -220,7 +229,9 @@ and performs the deletion. The code then saves the comments part.
```
--------------------------------------------------------------------------------
+
## Deleting Comment References in the Document
+
Although the code has successfully removed all the comments by this
point, that is not enough. The code must also remove references to the
comments from the document part. This action requires three steps
@@ -310,7 +321,9 @@ saving the document.
```
--------------------------------------------------------------------------------
+
## Sample Code
+
The following is the complete code sample in both C\# and Visual Basic.
```csharp
@@ -467,7 +480,7 @@ The following is the complete code sample in both C\# and Visual Basic.
```
--------------------------------------------------------------------------------
-## See also
+## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-extract-styles-from-a-word-processing-document.md b/docs/how-to-extract-styles-from-a-word-processing-document.md
index a5bdefcb..21864166 100644
--- a/docs/how-to-extract-styles-from-a-word-processing-document.md
+++ b/docs/how-to-extract-styles-from-a-word-processing-document.md
@@ -6,12 +6,13 @@ api_type:
- schema
ms.assetid: 20258c39-9411-41f2-8463-e94a4b0fa326
title: 'How to: Extract styles from a word processing document (Open XML SDK)'
+description: 'Learn how to extract styles from a word processing document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Normal
---
# Extract styles from a word processing document (Open XML SDK)
@@ -24,12 +25,12 @@ instance. It contains an example **ExtractStylesPart** method to
illustrate this task.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
@@ -50,7 +51,9 @@ the code in this topic.
```
---------------------------------------------------------------------------------
+
## ExtractStylesPart Method
+
You can use the **ExtractStylesPart** sample method to retrieve an **XDocument** instance that contains the styles or
stylesWithEffects part for a Microsoft Word 2010 or Microsoft Word 2013
document. Be aware that in a document created in Word 2010, there will
@@ -88,9 +91,10 @@ requested does not exist).
The complete code listing for the method can be found in the [Sample Code](#sample-code) section.
+---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
## Calling the Sample Method
+
To call the sample method, pass a string for the first parameter that
contains the file name of the document from which to extract the styles,
and a Boolean for the second parameter that specifies whether the type
@@ -125,8 +129,10 @@ the console.
End If
```
---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
## How the Code Works
+
The code starts by creating a variable named **styles** that the method returns before it exits.
```csharp
@@ -179,8 +185,10 @@ the main document part, and then prepares a variable named **stylesPart** to hol
End Using
```
---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
## Find the Correct Styles Part
+
The code next retrieves a reference to the requested styles part by
using the **getStylesWithEffectsPart** Boolean
parameter. Based on this value, the code retrieves a specific property
@@ -203,7 +211,9 @@ of the **docPart** variable, and stores it in the
```
---------------------------------------------------------------------------------
+
## Retrieve the Part Contents
+
If the requested styles part exists, the code must return the contents
of the part in an **XDocument** instance. Each
part provides a [GetStream](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.openxmlpart.getstream.aspx) method, which returns a Stream.
@@ -238,10 +248,11 @@ parameter.
End If
```
---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
## Sample Code
-The following is the complete **ExtractStylesPart** code sample in C\# and Visual
-Basic.
+
+The following is the complete **ExtractStylesPart** code sample in C\# and Visual Basic.
```csharp
// Extract the styles or stylesWithEffects part from a
@@ -323,8 +334,8 @@ Basic.
End Function
```
---------------------------------------------------------------------------------
-## See also
+---------------------------------------------------------------------------------
+## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md b/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
index 4e9a9ad7..db6bff4c 100644
--- a/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
+++ b/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
@@ -6,12 +6,13 @@ api_type:
- schema
ms.assetid: 22f973f4-58d1-4dd4-943e-a15ac2571b7c
title: 'How to: Remove the headers and footers from a word processing document (Open XML SDK)'
+description: 'Learn how to remove the headers and footers from a word processing document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Normal
---
# Remove the headers and footers from a word processing document (Open XML SDK)
@@ -21,12 +22,12 @@ Office to programmatically remove all headers and footers in a word
processing document. It contains an example **RemoveHeadersAndFooters** method to illustrate this
task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must then explicitly reference the following assemblies in your project.
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
@@ -66,7 +67,6 @@ modify.
The complete code listing for the method can be found in the [Sample Code](#sample-code) section.
-
## Calling the Sample Method
To call the sample method, pass a string for the first parameter that
@@ -366,6 +366,4 @@ Visual Basic.
## See also
-
-
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-replace-the-header-in-a-word-processing-document.md b/docs/how-to-replace-the-header-in-a-word-processing-document.md
index 9926f537..3b8211dd 100644
--- a/docs/how-to-replace-the-header-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-header-in-a-word-processing-document.md
@@ -6,12 +6,13 @@ api_type:
- schema
ms.assetid: d57e9b7d-b271-4c8d-998f-b7ca3eb6c850
title: 'How to: Replace the header in a word processing document (Open XML SDK)'
+description: 'Learn how to replace the header in a word processing document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Priority
---
# Replace the header in a word processing document (Open XML SDK)
@@ -20,12 +21,12 @@ This topic shows how to use the classes in the Open XML SDK 2.5 for
Office to replace the header in word processing document
programmatically.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
@@ -55,7 +56,7 @@ the header reference element. The following information from the
[ISO/IEC 29500](https://www.iso.org/standard/71691.html)
specification introduces the header reference element.
-**headerReference (Header Reference)**
+## headerReference (Header Reference)
This element specifies a single header which shall be associated with
the current section in the document. This header shall be referenced via
@@ -71,11 +72,11 @@ considered non-conformant.
Within each section of a document there may be up to three different
types of headers:
-- First page header
+- First page header
-- Odd page header
+- Odd page header
-- Even page header
+- Even page header
The header type specified by the current **headerReference** is
specified via the **type** attribute.
@@ -83,26 +84,11 @@ specified via the **type** attribute.
If any type of header is omitted for a given section, then the following
rules shall apply.
-- If no **headerReference** for the first page header is specified and
- the **titlePg** element is specified, then the first page header
- shall be inherited from the previous section or, if this is the
- first section in the document, a new blank header shall be created.
- If the **titlePg** element is not specified, then no first page
- header shall be shown, and the odd page header shall be used in its
- place.
-
-- If no **headerReference** for the even page header is specified and
- the **evenAndOddHeaders** element is specified, then the even page
- header shall be inherited from the previous section or, if this is
- the first section in the document, a new blank header shall be
- created. If the **evenAndOddHeaders** element is not specified, then
- no even page header shall be shown, and the odd page header shall be
- used in its place.
-
-- If no **headerReference** for the odd page header is specified then
- the even page header shall be inherited from the previous section
- or, if this is the first section in the document, a new blank header
- shall be created.
+- If no **headerReference** for the first page header is specified and the **titlePg** element is specified, then the first page header shall be inherited from the previous section or, if this is the first section in the document, a new blank header shall be created. If the **titlePg** element is not specified, then no first page header shall be shown, and the odd page header shall be used in its place.
+
+- If no **headerReference** for the even page header is specified and the **evenAndOddHeaders** element is specified, then the even page header shall be inherited from the previous section or, if this is the first section in the document, a new blank header shall be created. If the **evenAndOddHeaders** element is not specified, then no even page header shall be shown, and the odd page header shall be used in its place.
+
+- If no **headerReference** for the odd page header is specified then the even page header shall be inherited from the previous section or, if this is the first section in the document, a new blank header shall be created.
*Example*: Consider a three page document with different first, odd,
and even page header defined as follows:
@@ -126,8 +112,6 @@ following packaging markup:
These relationships are then referenced in the section's properties
using the following WordprocessingML:
- **
-
```xml
…
@@ -145,7 +129,6 @@ pages, and the header part with relationship id **rId5** for all subsequent odd
© ISO/IEC29500: 2008.
-
## Sample Code
The following code example shows how to replace the header in a word
@@ -257,6 +240,4 @@ Following is the complete sample code in both C\# and Visual Basic.
## See also
-
-
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference]/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md b/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
index 032c7e3f..9027e20d 100644
--- a/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
@@ -6,12 +6,13 @@ api_type:
- schema
ms.assetid: 67edb37c-cfec-461c-b616-5a8b7d074c91
title: 'How to: Replace the styles parts in a word processing document (Open XML SDK)'
+description: 'Learn how to replace the styles parts in a word processing document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Normal
---
# Replace the styles parts in a word processing document (Open XML SDK)
@@ -23,12 +24,12 @@ contains an example **ReplaceStyles** method to illustrate this task, as
well as the **ReplaceStylesPart** and **ExtractStylesPart** supporting
methods.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
@@ -48,7 +49,8 @@ the code in this topic.
```
---------------------------------------------------------------------------------
-## About Styles Storage
+
+## About Styles Storage
A word processing document package, such as a file that has a .docx
extension, is in fact a .zip file that consists of several parts. You
@@ -68,8 +70,7 @@ document that contains styles.
Figure 1. Styles parts in a word processing document
-
- 
+
In order to provide for "round-tripping" a document from Word 2013 to
Word 2010 and back, Word 2013 maintains both the original styles part
and the new styles part. (The Office Open XML File Formats specification
@@ -80,9 +81,9 @@ Word 2013 adds to the document.)
The code example provided in this topic can be used to replace these
styles parts.
-
---------------------------------------------------------------------------------
-## ReplaceStyles Method
+
+## ReplaceStyles Method
You can use the **ReplaceStyles** sample method to replace the styles in
a word processing document with the styles in another word processing
@@ -103,9 +104,9 @@ effectively completely replacing the styles.
The complete code listing for the **ReplaceStyles** method and its supporting methods
can be found in the [Sample Code](#sample-code) section.
+---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
-## Calling the Sample Method
+## Calling the Sample Method
To call the sample method, you pass a string for the first parameter
that indicates the path of the file with the styles to extract, and a
@@ -127,8 +128,9 @@ document will reflect the new styles.
ReplaceStyles(fromDoc, toDoc)
```
---------------------------------------------------------------------------------
-## How the Code Works
+---------------------------------------------------------------------------------
+
+## How the Code Works
The code extracts and replaces the styles part first, and then the
stylesWithEffects part second, and relies on two supporting methods to
@@ -155,6 +157,7 @@ target document.
ReplaceStylesPart(toDoc, node, False)
End If
```
+
The final parameter in the signature for either the **ExtractStylesPart** or the **ReplaceStylesPart** method determines whether the
styles part or the stylesWithEffects part is employed. A value of false
indicates that you want to extract and replace the styles part. The
@@ -186,9 +189,9 @@ sdata="link">[How to: Extract styles from a word processing document
(Open XML SDK)](how-to-extract-styles-from-a-word-processing-document.md). The
following section explains the **ReplaceStylesPart** method.
-
---------------------------------------------------------------------------------
-## ReplaceStylesPart Method
+
+## ReplaceStylesPart Method
The **ReplaceStylesPart** method can be used to
replace the styles or styleWithEffects part in a document, given an
@@ -217,8 +220,9 @@ from a source document).
Optional ByVal setStylesWithEffectsPart As Boolean = True)
```
---------------------------------------------------------------------------------
-## How the ReplaceStylesPart Code Works
+---------------------------------------------------------------------------------
+
+## How the ReplaceStylesPart Code Works
The **ReplaceStylesPart** method examines the
document you specify, looking for the styles or stylesWithEffects part.
@@ -254,8 +258,9 @@ the main document part, and then prepares a variable named **stylesPart** to hol
Dim stylesPart As StylesPart = Nothing
```
---------------------------------------------------------------------------------
-## Find the Correct Styles Part
+---------------------------------------------------------------------------------
+
+## Find the Correct Styles Part
The code next retrieves a reference to the requested styles part, using
the **setStylesWithEffectsPart** Boolean
@@ -278,7 +283,8 @@ requested styles part, and stores it in the **stylesPart** variable.
```
---------------------------------------------------------------------------------
-## Save the Part Contents
+
+## Save the Part Contents
Assuming that the requested part exists, the code must save the entire
contents of the **XDocument** passed to the
@@ -307,7 +313,8 @@ the XDocument, saving its contents into the styles part.
End If
```
---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
## Sample Code
The following is the complete **ReplaceStyles**, **ReplaceStylesPart**, and **ExtractStylesPart** methods in C\# and Visual
@@ -489,9 +496,8 @@ Basic.
End Function
```
---------------------------------------------------------------------------------
-## See also
-
+---------------------------------------------------------------------------------
+## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md b/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
index 7385a19d..f6a295a3 100644
--- a/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
@@ -6,12 +6,13 @@ api_type:
- schema
ms.assetid: 0aa2aef3-b329-4ccc-8f25-9660c083e14e
title: 'How to: Retrieve a dictionary of all named ranges in a spreadsheet document (Open XML SDK)'
+description: 'Learn how to retrieve a dictionary of all named ranges in a spreadsheet document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Normal
---
# Retrieve a dictionary of all named ranges in a spreadsheet document (Open XML SDK)
@@ -22,12 +23,12 @@ and ranges of all defined names in an Microsoft Excel 2010 or Microsoft
Excel 2013 workbook. It contains an example **GetDefinedNames** method
to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (Installed by the Open XML SDK)
+- DocumentFormat.OpenXml (Installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
@@ -69,7 +70,6 @@ that contains defined names. If it exists, the code iterates through all
the contents of the part, adding the name and value for each defined
name to the returned dictionary.
-
## Calling the Sample Method
To call the sample method, pass a string that contains the name of the
@@ -94,8 +94,7 @@ and displays the key and value from each item.
## How the Code Works
-The code starts by creating a variable named **returnValue** that the method will return before it
-exits.
+The code starts by creating a variable named **returnValue** that the method will return before it exits.
```csharp
// Given a workbook name, return a dictionary of defined names.
@@ -113,14 +112,9 @@ exits.
Return returnValue
```
-The code continues by opening the spreadsheet document, using the **Open**** method and indicating that the
-document should be open for read-only access (the final false
-parameter). Given the open workbook, the code uses the **WorkbookPart**** property to navigate to the
-main workbook part. The code stores this reference in a variable named
-**wbPart**.
+The code continues by opening the spreadsheet document, using the **Open** method and indicating that the
+document should be open for read-only access (the final false parameter). Given the open workbook, the code uses the **WorkbookPart** property to navigate to the main workbook part. The code stores this reference in a variable named **wbPart**.
```csharp
// Open the spreadsheet document for read-only access.
@@ -147,16 +141,8 @@ main workbook part. The code stores this reference in a variable named
## Retrieving the Defined Names
Given the workbook part, the next step is simple. The code uses the
-**Workbook**** property of the workbook part to
-retrieve a reference to the content of the workbook, and then retrieves
-the **DefinedNames**** collection provided by the
-Open XML SDK 2.5. This property returns a collection of all of the
-defined names that are contained within the workbook. If the property
-returns a non-null value, the code then iterates through the collection,
-retrieving information about each named part and adding the key (name)
-and value (range description) to the dictionary for each defined name.
+**Workbook** property of the workbook part to retrieve a reference to the content of the workbook, and then retrieves the **DefinedNames** collection provided by the Open XML SDK 2.5. This property returns a collection of all of the
+defined names that are contained within the workbook. If the property returns a non-null value, the code then iterates through the collection, retrieving information about each named part and adding the key name) and value (range description) to the dictionary for each defined name.
```csharp
// Retrieve a reference to the defined names collection.
@@ -184,8 +170,7 @@ and value (range description) to the dictionary for each defined name.
## Sample Code
-The following is the complete **GetDefinedNames** code sample in C\# and Visual
-Basic.
+The following is the complete **GetDefinedNames** code sample in C\# and Visual Basic.
```csharp
public static Dictionary
@@ -247,6 +232,4 @@ Basic.
## See also
-
-
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
index c622f558..3bfaba55 100644
--- a/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
@@ -6,32 +6,27 @@ api_type:
- schema
ms.assetid: 5adddb6e-545e-4fba-ae35-cc4682e3eda7
title: 'How to: Retrieve a list of the hidden rows or columns in a spreadsheet document (Open XML SDK)'
+description: 'Learn how to retrieve a list of the hidden rows or columns in a spreadsheet document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Priority
---
# Retrieve a list of the hidden rows or columns in a spreadsheet document (Open XML SDK)
-This topic shows how to use the classes in the Open XML SDK 2.5 for
-Office to programmatically retrieve a list of hidden rows or columns in
-a Microsoft Excel 2010 or Microsoft Excel 2013 worksheet, without
-loading the document into Excel. It contains an example **GetHiddenRowsOrCols** method to illustrate this
-task.
+This topic shows how to use the classes in the Open XML SDK 2.5 for Office to programmatically retrieve a list of hidden rows or columns in a Microsoft Excel 2010 or Microsoft Excel 2013 worksheet, without
+loading the document into Excel. It contains an example **GetHiddenRowsOrCols** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
-must explicitly reference the following assemblies in your project:
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
-You must also use the following **using**
-directives or **Imports** statements to compile
-the code in this topic.
+You must also use the following **using** directives or **Imports** statements to compile the code in this topic.
```csharp
using System;
@@ -49,17 +44,19 @@ the code in this topic.
```
---------------------------------------------------------------------------------
+
## GetHiddenRowsOrCols Method
+
You can use the **GetHiddenRowsOrCols** method
to retrieve a list of the hidden rows or columns in a worksheet. The
**GetHiddenRowsOrCols** method accepts three
parameters, indicating the following:
-- The name of the document to examine (string).
+- The name of the document to examine (string).
-- The name of the sheet to examine (string).
+- The name of the sheet to examine (string).
-- Whether to detect rows (true) or columns (false) (Boolean).
+- Whether to detect rows (true) or columns (false) (Boolean).
```csharp
public static List GetHiddenRowsOrCols(
@@ -72,13 +69,11 @@ parameters, indicating the following:
ByVal detectRows As Boolean) As List(Of UInteger)
```
---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
## Calling the GetHiddenRowsOrCols Method
-The method returns a list of unsigned integers that contain each index
-for the hidden rows or columns, if the specified worksheet contains any
-hidden rows or columns (rows and columns are numbered starting at 1,
-rather than 0.) To call the method, pass all the parameter values, as
-shown in the following example code.
+
+The method returns a list of unsigned integers that contain each index for the hidden rows or columns, if the specified worksheet contains any hidden rows or columns (rows and columns are numbered starting at 1, rather than 0.) To call the method, pass all the parameter values, as shown in the following example code.
```csharp
const string fileName = @"C:\users\public\documents\RetrieveHiddenRowsCols.xlsx";
@@ -100,8 +95,10 @@ shown in the following example code.
Console.WriteLine(sw.ToString())
```
---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
## How the Code Works
+
The code starts by creating a variable, **itemList**, that will contain the return value.
```csharp
@@ -112,10 +109,7 @@ The code starts by creating a variable, **itemList**, that will contain the retu
Dim itemList As New List(Of UInteger)
```
-Next, the code opens the document, by using the [SpreadsheetDocument.Open](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.spreadsheetdocument.open.aspx) method and
-indicating that the document should be open for read-only access (the
-final **false** parameter value). Next the code
-retrieves a reference to the workbook part, by using the [WorkbookPart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.spreadsheetdocument.workbookpart.aspx) property of the document.
+Next, the code opens the document, by using the [SpreadsheetDocument.Open](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.spreadsheetdocument.open.aspx) method and indicating that the document should be open for read-only access (the final **false** parameter value). Next the code retrieves a reference to the workbook part, by using the [WorkbookPart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.spreadsheetdocument.workbookpart.aspx) property of the document.
```csharp
using (SpreadsheetDocument document =
@@ -135,15 +129,8 @@ retrieves a reference to the workbook part, by using the [WorkbookPart](https://
End Using
```
-To find the hidden rows or columns, the code must first retrieve a
-reference to the specified sheet, given its name. This is not as easy as
-you might think. The code must look through all the sheet-type
-descendants of the workbook part's [Workbook](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.workbookpart.workbook.aspx) property, examining the [Name](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.sheet.name.aspx) property of each sheet that it finds.
-Note that this search simply looks through the relations of the
-workbook, and does not actually find a worksheet part. It simply finds a
-reference to a [Sheet](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.sheet.aspx) object, which contains information
-such as the name and [Id](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.sheet.id.aspx) property of the sheet. The simplest way
-to accomplish this is to use a LINQ query.
+To find the hidden rows or columns, the code must first retrieve a reference to the specified sheet, given its name. This is not as easy as you might think. The code must look through all the sheet-type descendants of the workbook part's [Workbook](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.workbookpart.workbook.aspx) property, examining the [Name](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.sheet.name.aspx) property of each sheet that it finds.
+Note that this search simply looks through the relations of the workbook, and does not actually find a worksheet part. It simply finds a reference to a [Sheet](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.sheet.aspx) object, which contains information such as the name and [Id](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.sheet.id.aspx) property of the sheet. The simplest way to accomplish this is to use a LINQ query.
```csharp
Sheet theSheet = wbPart.Workbook.Descendants().
@@ -161,14 +148,9 @@ to accomplish this is to use a LINQ query.
Throw New ArgumentException("sheetName")
```
-The [FirstOrDefault](https://msdn2.microsoft.com/library/bb358452)
-method returns either the first matching reference (a sheet, in this
-case) or a null reference if no match was found. The code checks for the
-null reference, and throws an exception if you passed in an invalid
-sheet name. Now that you have information about the sheet, the code must
-retrieve a reference to the corresponding worksheet part. The sheet
-information you already retrieved provides an **Id** property, and given that **Id** property, the code can retrieve a reference to
-the corresponding [WorksheetPart](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.worksheet.worksheetpart.aspx) property by calling the [GetPartById](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.openxmlpartcontainer.getpartbyid.aspx) method of the [WorkbookPart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.workbookpart.aspx) object.
+The [FirstOrDefault](https://msdn2.microsoft.com/library/bb358452) method returns either the first matching reference (a sheet, in this case) or a null reference if no match was found. The code checks for the
+null reference, and throws an exception if you passed in an invalid sheet name. Now that you have information about the sheet, the code must retrieve a reference to the corresponding worksheet part. The sheet
+information you already retrieved provides an **Id** property, and given that **Id** property, the code can retrieve a reference to the corresponding [WorksheetPart](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.worksheet.worksheetpart.aspx) property by calling the [GetPartById](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.openxmlpartcontainer.getpartbyid.aspx) method of the [WorkbookPart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.workbookpart.aspx) object.
```csharp
else
@@ -191,8 +173,10 @@ the corresponding [WorksheetPart](https://msdn.microsoft.com/library/office/docu
End If
```
---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
## Retrieving the List of Hidden Row or Column Index Values
+
The code uses the **detectRows** parameter that
you specified when you called the method to determine whether to
retrieve information about rows or columns.
@@ -220,8 +204,7 @@ retrieve information about rows or columns.
End If
```
-The code that actually retrieves the list of hidden rows requires only a
-single line of code.
+The code that actually retrieves the list of hidden rows requires only a single line of code.
```csharp
itemList = ws.Descendants().
@@ -236,26 +219,9 @@ single line of code.
Select(Function(r) r.RowIndex.Value).ToList()
```
-This single line accomplishes a lot, however. It starts by calling the
-[Descendants](https://msdn.microsoft.com/library/office/documentformat.openxml.openxmlelement.descendants.aspx) method of the worksheet,
-retrieving a list of all the rows. The [Where](https://msdn2.microsoft.com/library/bb301979)
-method limits the results to only those rows where the [Hidden](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.row.hidden.aspx) property of the item is not null and
-the value of the **Hidden** property is **True**. The [Select](https://msdn2.microsoft.com/library/bb357126)
-method projects the return value for each row, returning the value of
-the [RowIndex](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.row.rowindex.aspx) property. Finally, the [ToList\](https://msdn2.microsoft.com/library/bb342261)**
-method converts the resulting [IEnumerable\](https://msdn2.microsoft.com/library/9eekhta0)
-interface into a [List\](https://msdn2.microsoft.com/library/6sh2ey19)
-object of unsigned integers. If there are no hidden rows, the returned
-list is empty.
-
-Retrieving the list of hidden columns is a bit trickier, because Excel
-collapses groups of hidden columns into a single element, and provides
-[Min](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.column.min.aspx) and [Max](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.column.max.aspx) properties that describe the first and
-last columns in the group. Therefore, the code that retrieves the list
-of hidden columns starts the same as the code that retrieves hidden
-rows. However, it must iterate through the index values (looping through
-each item in the collection of hidden columns, adding each index from
-the **Min** to the **Max** value, inclusively).
+This single line accomplishes a lot, however. It starts by calling the [Descendants](https://msdn.microsoft.com/library/office/documentformat.openxml.openxmlelement.descendants.aspx) method of the worksheet, retrieving a list of all the rows. The [Where](https://msdn2.microsoft.com/library/bb301979) method limits the results to only those rows where the [Hidden](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.row.hidden.aspx) property of the item is not null and the value of the **Hidden** property is **True**. The [Select](https://msdn2.microsoft.com/library/bb357126) method projects the return value for each row, returning the value of the [RowIndex](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.row.rowindex.aspx) property. Finally, the [ToList\](https://msdn2.microsoft.com/library/bb342261) method converts the resulting [IEnumerable\](https://msdn2.microsoft.com/library/9eekhta0) interface into a [List\](https://msdn2.microsoft.com/library/6sh2ey19) object of unsigned integers. If there are no hidden rows, the returned list is empty.
+
+Retrieving the list of hidden columns is a bit trickier, because Excel collapses groups of hidden columns into a single element, and provides [Min](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.column.min.aspx) and [Max](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.column.max.aspx) properties that describe the first and last columns in the group. Therefore, the code that retrieves the list of hidden columns starts the same as the code that retrieves hidden rows. However, it must iterate through the index values (looping each item in the collection of hidden columns, adding each index from the **Min** to the **Max** value, inclusively).
```csharp
var cols = ws.Descendants().
@@ -280,10 +246,11 @@ the **Min** to the **Max** value, inclusively).
Next
```
---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
## Sample Code
-The following is the complete **GetHiddenRowsOrCols** code sample in C\# and Visual
-Basic.
+
+The following is the complete **GetHiddenRowsOrCols** code sample in C\# and Visual Basic.
```csharp
public static List GetHiddenRowsOrCols(
@@ -392,8 +359,8 @@ Basic.
End Function
```
---------------------------------------------------------------------------------
-## See also
+---------------------------------------------------------------------------------
+## See also
- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
diff --git a/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
index a1c748f5..3b5fddb9 100644
--- a/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
@@ -6,31 +6,26 @@ api_type:
- schema
ms.assetid: a6d35b76-d12a-460c-9d9d-2334abde759e
title: 'How to: Retrieve a list of the hidden worksheets in a spreadsheet document (Open XML SDK)'
+description: 'Learn how to retrieve a list of the hidden worksheets in a spreadsheet document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Normal
---
# Retrieve a list of the hidden worksheets in a spreadsheet document (Open XML SDK)
-This topic shows how to use the classes in the Open XML SDK 2.5 for
-Office to programmatically retrieve a list of hidden worksheets in a
-Microsoft Excel 2010 or Microsoft Excel 2010 workbook, without loading
-the document into Excel. It contains an example **GetHiddenSheets** method to illustrate this task.
+This topic shows how to use the classes in the Open XML SDK 2.5 for Office to programmatically retrieve a list of hidden worksheets in a Microsoft Excel 2010 or Microsoft Excel 2010 workbook, without loading the document into Excel. It contains an example **GetHiddenSheets** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
-must explicitly reference the following assemblies in your project:
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
-You must also use the following **using**
-directives or **Imports** statements to compile
-the code in this topic.
+You must also use the following **using** directives or **Imports** statements to compile the code in this topic.
```csharp
using System;
@@ -47,11 +42,7 @@ the code in this topic.
## GetHiddenSheets Method
-You can use the **GetHiddenSheets** method,
-which is shown in the following code, to retrieve a list of the hidden
-worksheets in a workbook. The **GetHiddenSheets** method accepts a single
-parameter, a string that indicates the path of the file that you want to
-examine.
+You can use the **GetHiddenSheets** method, which is shown in the following code, to retrieve a list of the hidden worksheets in a workbook. The **GetHiddenSheets** method accepts a single parameter, a string that indicates the path of the file that you want to examine.
```csharp
public static List GetHiddenSheets(string fileName)
@@ -61,19 +52,11 @@ examine.
Public Function GetHiddenSheets(ByVal fileName As String) As List(Of Sheet)
```
-The method works with the workbook you specify, filling a [List\](https://msdn2.microsoft.com/library/6sh2ey19)**
-instance with a reference to each hidden **Sheet**** object.
-
+The method works with the workbook you specify, filling a **[List\](https://msdn2.microsoft.com/library/6sh2ey19)** instance with a reference to each hidden **Sheet** object.
## Calling the GetHiddenSheets Method
-The method returns a generic list that contains information about the
-individual hidden **Sheet** objects. To call
-the **GetHiddenWorksheets** method, pass the
-required parameter value, as shown in the following code.
+The method returns a generic list that contains information about the individual hidden **Sheet** objects. To call the **GetHiddenWorksheets** method, pass the required parameter value, as shown in the following code.
```csharp
// Revise this path to the location of a file that contains hidden worksheets.
@@ -98,8 +81,7 @@ required parameter value, as shown in the following code.
## How the Code Works
-The following code starts by creating a generic list that will contain
-information about the hidden worksheets.
+The following code starts by creating a generic list that will contain information about the hidden worksheets.
```csharp
List returnVal = new List();
@@ -109,14 +91,7 @@ information about the hidden worksheets.
Dim returnVal As New List(Of Sheet)
```
-Next, the following code opens the specified workbook by using the **SpreadsheetDocument.Open**** method and
-indicating that the document should be open for read-only access (the
-final **false** parameter value). Given the
-open workbook, the code uses the **WorkbookPart**** property to navigate to the
-main workbook part, storing the reference in a variable named **wbPart**.
+Next, the following code opens the specified workbook by using the **SpreadsheetDocument.Open** method and indicating that the document should be open for read-only access (the final **false** parameter value). Given the open workbook, the code uses the **WorkbookPart** property to navigate to the main workbook part, storing the reference in a variable named **wbPart**.
```csharp
using (SpreadsheetDocument document =
@@ -138,19 +113,8 @@ main workbook part, storing the reference in a variable named **wbPart**.
## Retrieving the Collection of Worksheets
-The **WorkbookPart**** class provides a **Workbook**** property, which in turn contains
-the XML content of the workbook. Although the Open XML SDK 2.5 provides
-the **Sheets**** property, which returns a collection
-of the **Sheet** parts, all the information
-that you need is provided by the **Sheet**
-elements within the **Workbook** XML content.
-The following code uses the **Descendants**** generic method of the **Workbook** object to retrieve a collection of **Sheet** objects that contain information about all
-the sheet child elements of the workbook's XML content.
+The **WorkbookPart** class provides a **Workbook** property, which in turn contains the XML content of the workbook. Although the Open XML SDK 2.5 provides the **Sheets** property, which returns a collection of the **Sheet** parts, all the information that you need is provided by the **Sheet** elements within the **Workbook** XML content.
+The following code uses the **Descendants** generic method of the **Workbook** object to retrieve a collection of **Sheet** objects that contain information about all the sheet child elements of the workbook's XML content.
```csharp
var sheets = wbPart.Workbook.Descendants();
@@ -162,31 +126,10 @@ the sheet child elements of the workbook's XML content.
## Retrieving Hidden Sheets
-It is important to be aware that Excel supports two levels of hiding
-worksheets. You can hide a worksheet by using the Excel user interface
-by right-clicking the worksheets tab and opting to hide the worksheet.
-For these worksheets, the **State**** property of the **Sheet** object contains an enumerated value of
-**Hidden**. You can also make a worksheet very
-hidden by writing code (either in VBA or in another language) that sets
-the sheet's **Visible property to the
-enumerated value **xlSheetVeryHidden**. For
-worksheets hidden in this manner, the **State**
-property of the **Sheet** object contains the
-enumerated value **VeryHidden****.
-
-Given the collection that contains information about all the sheets, the
-following code uses the [Where](https://msdn2.microsoft.com/library/bb301979)**
-function to filter the collection so that it contains only the sheets in
-which the **State** property is not null. If
-the **State** property is not null, the code
-looks for the **Sheet** objects in which the
-**State** property has a value, and where the
-value is either **SheetStateValues.Hidden** or
-**SheetStateValues.VeryHidden**.
+It's important to be aware that Excel supports two levels of worksheets. You can hide a worksheet by using the Excel user interface by right-clicking the worksheets tab and opting to hide the worksheet.
+For these worksheets, the **State** property of the **Sheet** object contains an enumerated value of **Hidden**. You can also make a worksheet very hidden by writing code (either in VBA or in another language) that sets the sheet's **Visible** property to the enumerated value **xlSheetVeryHidden**. For worksheets hidden in this manner, the **State** property of the **Sheet** object contains the enumerated value **VeryHidden**.
+
+Given the collection that contains information about all the sheets, the following code uses the **[Where](https://msdn2.microsoft.com/library/bb301979)** function to filter the collection so that it contains only the sheets in which the **State** property is not null. If the **State** property is not null, the code looks for the **Sheet** objects in which the **State** property as a value, and where the value is either **SheetStateValues.Hidden** or **SheetStateValues.VeryHidden**.
```csharp
var hiddenSheets = sheets.Where((item) => item.State != null &&
@@ -201,10 +144,8 @@ value is either **SheetStateValues.Hidden** or
AndAlso (item.State.Value = SheetStateValues.Hidden Or _
item.State.Value = SheetStateValues.VeryHidden))
```
-Finally, the following code calls the [ToList\](https://msdn2.microsoft.com/library/bb342261)**
-method to execute the LINQ query that retrieves the list of hidden
-sheets, placing the result into the return value for the function.
+
+Finally, the following code calls the **[ToList\](https://msdn2.microsoft.com/library/bb342261)** method to execute the LINQ query that retrieves the list of hidden sheets, placing the result into the return value for the function.
```csharp
returnVal = hiddenSheets.ToList();
@@ -216,8 +157,7 @@ sheets, placing the result into the return value for the function.
## Sample Code
-The following is the complete **GetHiddenSheets** code sample in C\# and Visual
-Basic.
+The following is the complete **GetHiddenSheets** code sample in C\# and Visual Basic.
```csharp
public static List GetHiddenSheets(string fileName)
@@ -270,6 +210,4 @@ Basic.
## See also
-
-
- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
diff --git a/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
index 6756bc4e..e7e9a63a 100644
--- a/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
@@ -6,12 +6,13 @@ api_type:
- schema
ms.assetid: a0c1e144-2080-4470-bd4b-ed98f1399374
title: 'How to: Retrieve a list of the worksheets in a spreadsheet document (Open XML SDK)'
+description: 'Learn how to retrieve a list of the worksheets in a spreadsheet document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Priority
---
# Retrieve a list of the worksheets in a spreadsheet document (Open XML SDK)
@@ -21,12 +22,12 @@ Office to programmatically retrieve a list of the worksheets in a
Microsoft Excel 2010 or Microsoft Excel 2013 workbook, without loading
the document into Excel. It contains an example **GetAllWorksheets** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
@@ -44,7 +45,9 @@ the code in this topic.
```
--------------------------------------------------------------------------------
-## GetAllWorksheets Method
+
+## GetAllWorksheets Method
+
You can use the **GetAllWorksheets** method,
which is shown in the following code, to retrieve a list of the
worksheets in a workbook. The **GetAllWorksheets** method accepts a single
@@ -63,9 +66,9 @@ The method works with the workbook you specify, returning an instance of
the **[Sheets](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.sheets.aspx)** object, from which you can retrieve
a reference to each **[Sheet](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.sheet.aspx)** object.
-
--------------------------------------------------------------------------------
-## Calling the GetAllWorksheets Method
+## Calling the GetAllWorksheets Method
+
To call the **GetAllWorksheets** method, pass
the required value, as shown in the following code.
@@ -97,7 +100,9 @@ the required value, as shown in the following code.
```
--------------------------------------------------------------------------------
-## How the Code Works
+
+## How the Code Works
+
The sample method, **GetAllWorksheets**,
creates a variable that will contain a reference to the **Sheets** collection of the workbook. At the end of
its work, the method returns the variable, which contains either a
@@ -233,7 +238,7 @@ Basic.
```
--------------------------------------------------------------------------------
-## See also
+## See also
- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
diff --git a/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md b/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
index 4420d4b9..ab052059 100644
--- a/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
+++ b/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
@@ -6,12 +6,13 @@ api_type:
- schema
ms.assetid: 3e9ca812-460e-442e-8257-38f523a53dc6
title: 'How to: Retrieve application property values from a word processing document (Open XML SDK)'
+description: 'Learn how to retrieve application property values from a word processing document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Normal
---
# Retrieve application property values from a word processing document (Open XML SDK)
@@ -21,12 +22,12 @@ Office to programmatically retrieve an application property from a
Microsoft Word 2013 document, without loading the document into Word. It
contains example code to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
diff --git a/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md b/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
index d30e6987..a6ce212d 100644
--- a/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
+++ b/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
@@ -6,12 +6,13 @@ api_type:
- schema
ms.assetid: b6f429a7-4489-4155-b713-2139f3add8c2
title: 'How to: Retrieve the number of slides in a presentation document (Open XML SDK)'
+description: 'Learn how to retrieve the number of slides in a presentation document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Normal
---
# Retrieve the number of slides in a presentation document (Open XML SDK)
@@ -23,12 +24,12 @@ loading the document into Microsoft PowerPoint. It contains an example
**RetrieveNumberOfSlides** method to illustrate
this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
@@ -45,7 +46,9 @@ the code in this topic.
```
---------------------------------------------------------------------------------
+
## RetrieveNumberOfSlides Method
+
You can use the **RetrieveNumberOfSlides**
method to get the number of slides in a presentation document,
optionally including the hidden slides. The **RetrieveNumberOfSlides** method accepts two
@@ -65,6 +68,7 @@ include hidden slides in the count.
---------------------------------------------------------------------------------
## Calling the RetrieveNumberOfSlides Method
+
The method returns an integer that indicates the number of slides,
counting either all the slides or only visible slides, depending on the
second parameter value. To call the method, pass all the parameter
@@ -84,15 +88,12 @@ values, as shown in the following code.
Console.WriteLine(RetrieveNumberOfSlides(DEMOPATH))
```
---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
## How the Code Works
-The code starts by creating an integer variable, **slidesCount**, to hold the number of slides. The code
-then opens the specified presentation by using the [PresentationDocument.Open](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.presentationdocument.open.aspx) method and
-indicating that the document should be open for read-only access (the
-final **false** parameter value). Given the
-open presentation, the code uses the [PresentationPart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.presentationdocument.presentationpart.aspx) property to navigate to
-the main presentation part, storing the reference in a variable named
-**presentationPart**.
+
+The code starts by creating an integer variable, **slidesCount**, to hold the number of slides. The code then opens the specified presentation by using the [PresentationDocument.Open](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.presentationdocument.open.aspx) method and indicating that the document should be open for read-only access (the
+final **false** parameter value). Given the open presentation, the code uses the [PresentationPart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.presentationdocument.presentationpart.aspx) property to navigate to the main presentation part, storing the reference in a variable named **presentationPart**.
```csharp
using (PresentationDocument doc =
@@ -115,15 +116,11 @@ the main presentation part, storing the reference in a variable named
Return slidesCount
```
---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
## Retrieving the Count of All Slides
-If the presentation part reference is not null (and it will not be, for
-any valid presentation that loads correctly into PowerPoint), the code
-next calls the **Count** method on the value of
-the [SlideParts](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.presentationpart.slideparts.aspx) property of the presentation
-part. If you requested all slides, including hidden slides, that is all
-there is to do. There is slightly more work to be done if you want to
-exclude hidden slides, as shown in the following code.
+
+If the presentation part reference is not null (and it will not be, for any valid presentation that loads correctly into PowerPoint), the code next calls the **Count** method on the value of the [SlideParts](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.presentationpart.slideparts.aspx) property of the presentation part. If you requested all slides, including hidden slides, that is all there is to do. There is slightly more work to be done if you want to exclude hidden slides, as shown in the following code.
```csharp
if (includeHidden)
@@ -144,8 +141,10 @@ exclude hidden slides, as shown in the following code.
End If
```
---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
## Retrieving the Count of Visible Slides
+
If you requested that the code should limit the return value to include
only visible slides, the code must filter its collection of slides to
include only those slides that have a [Show](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slide.show.aspx) property that contains a value, and
@@ -175,8 +174,10 @@ function with a lambda expression to do the work.
slidesCount = slides.Count()
```
---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
## Sample Code
+
The following is the complete **RetrieveNumberOfSlides** code sample in C\# and
Visual Basic.
@@ -243,8 +244,8 @@ Visual Basic.
End Function
```
---------------------------------------------------------------------------------
-## See also
+---------------------------------------------------------------------------------
+## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md b/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
index aeaadd17..8febc22d 100644
--- a/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
@@ -6,12 +6,13 @@ api_type:
- schema
ms.assetid: 15e26fbd-fc23-466a-a7cc-b7584ba8f821
title: 'How to: Retrieve the values of cells in a spreadsheet document (Open XML SDK)'
+description: 'Learn how to retrieve the values of cells in a spreadsheet document using the Open XML SDK.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Priority
---
# Retrieve the values of cells in a spreadsheet document (Open XML SDK)
@@ -21,12 +22,12 @@ Office to programmatically retrieve the values of cells in a spreadsheet
document. It contains an example **GetCellValue** method to illustrate
this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (Installed by the Open XML SDK)
+- DocumentFormat.OpenXml (Installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
@@ -43,17 +44,18 @@ the code in this topic.
```
--------------------------------------------------------------------------------
-## GetCellValue Method
+
+## GetCellValue Method
You can use the **GetCellValue** method to
retrieve the value of a cell in a workbook. The method requires the
following three parameters:
-- A string that contains the name of the document to examine.
+- A string that contains the name of the document to examine.
-- A string that contains the name of the sheet to examine.
+- A string that contains the name of the sheet to examine.
-- A string that contains the cell address (such as A1, B12) from which
+- A string that contains the cell address (such as A1, B12) from which
to retrieve a value.
The method returns the value of the specified cell, if it could be
@@ -72,7 +74,8 @@ found. The following code example shows the method signature.
```
--------------------------------------------------------------------------------
-## Calling the GetCellValue Sample Method
+
+## Calling the GetCellValue Sample Method
To call the **GetCellValue** method, pass the
file name, sheet name, and cell address, as shown in the following code
@@ -106,7 +109,8 @@ example.
```
--------------------------------------------------------------------------------
-## How the Code Works
+
+## How the Code Works
The code starts by creating a variable to hold the return value, and
initializes it to null.
@@ -120,7 +124,8 @@ initializes it to null.
```
--------------------------------------------------------------------------------
-## Accessing the Cell
+
+## Accessing the Cell
Next, the code opens the document by using the **[Open](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.spreadsheetdocument.open.aspx)** method, indicating that the document
should be open for read-only access (the final **false** parameter). Next, the code retrieves a
@@ -222,8 +227,9 @@ or will contain a null reference.
Where(Function(c) c.CellReference = addressName).FirstOrDefault
```
----------------------------------------------------------------------------------
-## Retrieving the Value
+--------------------------------------------------------------------------------
+
+## Retrieving the Value
At this point, the variable named **theCell**
contains either a null reference, or a reference to the cell that you
@@ -372,9 +378,9 @@ it finds in the cell value into the appropriate text string.
Finally, the procedure returns the variable **value**, which contains the requested information.
-
--------------------------------------------------------------------------------
-## Sample Code
+
+## Sample Code
The following is the complete **GetCellValue**
code sample in C\# and Visual Basic.
@@ -548,8 +554,7 @@ code sample in C\# and Visual Basic.
```
--------------------------------------------------------------------------------
-## See also
-
+## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-set-a-custom-property-in-a-word-processing-document.md b/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
index 8991c86a..adfcc7a1 100644
--- a/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
+++ b/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
@@ -6,27 +6,24 @@ api_type:
- schema
ms.assetid: how-to-set-a-custom-property-in-a-word-processing-document
title: 'How to: Set a custom property in a word processing document (Open XML SDK)'
+description: 'Learn how to use the classes in the Open XML SDK 2.5 for Office to programmatically set a custom property in a word processing document.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Priority
---
# Set a custom property in a word processing document (Open XML SDK)
-This topic shows how to use the classes in the Open XML SDK 2.5 for
-Office to programmatically set a custom property in a word processing
-document. It contains an example **SetCustomProperty** method to
-illustrate this task.
+This topic shows how to use the classes in the Open XML SDK 2.5 for Office to programmatically set a custom property in a word processing document. It contains an example **SetCustomProperty** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.microsoft.com/download/details.aspx?id=30425). You
-must explicitly reference the following assemblies in your project:
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You must explicitly reference the following assemblies in your project:
-- WindowsBase
+- WindowsBase
-- DocumentFormat.OpenXml (installed by the Open XML SDK)
+- DocumentFormat.OpenXml (installed by the Open XML SDK)
You must also use the following **using**
directives or **Imports** statements to compile
@@ -47,6 +44,7 @@ the code in this topic.
Imports DocumentFormat.OpenXml.Packaging
Imports DocumentFormat.OpenXml.VariantTypes
```
+
The sample code also includes an enumeration that defines the possible
types of custom properties. The **SetCustomProperty** method requires that you supply
one of these values when you call the method.
@@ -774,4 +772,4 @@ Basic.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/open-xml-sdk.md b/docs/open-xml-sdk.md
index 315ba745..6e83ffb9 100644
--- a/docs/open-xml-sdk.md
+++ b/docs/open-xml-sdk.md
@@ -9,12 +9,13 @@ api_type:
- schema
ms.assetid: f6a9ae68-7989-4208-97f5-3c945137a0ab
title: Welcome to the Open XML SDK 2.5 for Office
+description: 'Documentation and guidance for the strongly-typed classes in the Open XML SDK 2.5 for Office.'
ms.suite: office
ms.technology: open-xml
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/28/2021
localization_priority: Priority
---
@@ -43,17 +44,16 @@ Portions of ISO/IEC 29500:20081 are referenced in the SDK.
[!include[Add-ins note](./includes/addinsnote.md)]
-## In this section
+## In this section
- [Getting started with the Open XML SDK 2.5 for Office](getting-started.md)
- [Understanding the Open XML file formats](understanding-the-open-xml-file-formats.md)
- [How do I... (Open XML SDK)](how-do-i.md)
- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/dotnet/api/overview/openxml/)
-
## See also
-- [Open XML SDK 2.5 for Microsoft Office](https://www.microsoft.com/download/details.aspx?id=30425)
+- [Open XML SDK 2.5 for Microsoft Office](https://www.nuget.org/packages/Open-XML-SDK/2.5.0)
- [Microsoft Office Developer Center](https://developer.microsoft.com/office/docs)
- [Samples on GitHub](https://github.com/OfficeDev)
- [Open XML SDK copyright notice](https://msdn.microsoft.com/library/6165f4ad-2e4d-4852-921a-087782af364d(Office.15).aspx)
From a2a3919917dffede8e120b52893f3eb3b2e77781 Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Mon, 28 Jun 2021 15:16:45 -0700
Subject: [PATCH 011/275] fix relative links
---
...ly-a-style-to-a-paragraph-in-a-word-processing-document.md | 4 +---
...e-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md | 2 +-
...trieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md | 2 +-
...ication-property-values-from-a-word-processing-document.md | 4 +---
docs/open-xml-sdk.md | 2 +-
5 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md b/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
index 24ca3963..84d559b6 100644
--- a/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
+++ b/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
@@ -139,7 +139,6 @@ correspond to the **document**, **body**, **p**, **r**, and **t** elements.
For more information about the overall structure of the parts and
elements of a WordprocessingML document, see [Structure of a WordprocessingML document (Open XML SDK)](structure-of-a-wordprocessingml-document.md).
-
## Getting the Paragraph to Style
After opening the file, the sample code retrieves a reference to the
@@ -189,7 +188,6 @@ style to apply as the second parameter, the name of the style as the
third parameter, and the reference to the paragraph to which to apply
the style, as the fourth parameter.
-
## Adding the Paragraph Properties Element
The first step of the example method is to ensure that the paragraph has
@@ -924,4 +922,4 @@ The following is the complete code sample in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](\/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
index 3bfaba55..86e9cd3f 100644
--- a/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
@@ -363,4 +363,4 @@ The following is the complete **GetHiddenRowsOrCols** code sample in C\# and Vis
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
index 3b5fddb9..a5997be7 100644
--- a/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
@@ -210,4 +210,4 @@ The following is the complete **GetHiddenSheets** code sample in C\# and Visual
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md b/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
index ab052059..fe9bce75 100644
--- a/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
+++ b/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
@@ -187,6 +187,4 @@ The following is the complete code sample in C\# and Visual Basic.
## See also
-
-
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/open-xml-sdk.md b/docs/open-xml-sdk.md
index 6e83ffb9..adac7273 100644
--- a/docs/open-xml-sdk.md
+++ b/docs/open-xml-sdk.md
@@ -49,7 +49,7 @@ Portions of ISO/IEC 29500:20081 are referenced in the SDK.
- [Getting started with the Open XML SDK 2.5 for Office](getting-started.md)
- [Understanding the Open XML file formats](understanding-the-open-xml-file-formats.md)
- [How do I... (Open XML SDK)](how-do-i.md)
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/dotnet/api/overview/openxml/)
+- [Open XML SDK 2.5 class library reference](/dotnet/api/overview/openxml/)
## See also
From 617e18e89bb252fef732202ee26fe079dfb8a52b Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Mon, 28 Jun 2021 18:31:12 -0700
Subject: [PATCH 012/275] Update Nuget download URL
---
docs/how-to-add-tables-to-word-processing-documents.md | 2 +-
...pply-a-style-to-a-paragraph-in-a-word-processing-document.md | 2 +-
...hange-the-print-orientation-of-a-word-processing-document.md | 2 +-
...processing-document-from-the-docm-to-the-docx-file-format.md | 2 +-
...o-create-a-presentation-document-by-providing-a-file-name.md | 2 +-
...e-and-add-a-character-style-to-a-word-processing-document.md | 2 +-
...e-and-add-a-paragraph-style-to-a-word-processing-document.md | 2 +-
...by-all-or-a-specific-author-in-a-word-processing-document.md | 2 +-
docs/how-to-extract-styles-from-a-word-processing-document.md | 2 +-
...e-the-headers-and-footers-from-a-word-processing-document.md | 2 +-
docs/how-to-replace-the-header-in-a-word-processing-document.md | 2 +-
...to-replace-the-styles-parts-in-a-word-processing-document.md | 2 +-
...etrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md | 2 +-
...eve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md | 2 +-
...retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md | 2 +-
...how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md | 2 +-
...plication-property-values-from-a-word-processing-document.md | 2 +-
...-retrieve-the-number-of-slides-in-a-presentation-document.md | 2 +-
docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md | 2 +-
...ow-to-set-a-custom-property-in-a-word-processing-document.md | 2 +-
docs/open-xml-sdk.md | 2 +-
21 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/docs/how-to-add-tables-to-word-processing-documents.md b/docs/how-to-add-tables-to-word-processing-documents.md
index 20722d9f..10bd2e5d 100644
--- a/docs/how-to-add-tables-to-word-processing-documents.md
+++ b/docs/how-to-add-tables-to-word-processing-documents.md
@@ -20,7 +20,7 @@ localization_priority: Priority
This topic shows how to use the classes in the Open XML SDK 2.5 for Office to programmatically add a table to a word processing document. It contains an example **AddTable** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You must explicitly reference the following assemblies in your project:
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md b/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
index 84d559b6..758cfdac 100644
--- a/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
+++ b/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
@@ -20,7 +20,7 @@ localization_priority: Priority
This topic shows how to use the classes in the Open XML SDK 2.5 for Office to programmatically apply a style to a paragraph within a word processing document. It contains an example **ApplyStyleToParagraph** method to illustrate this task, plus several supplemental example methods to check whether a style exists, add a new style, and add the styles part.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You must explicitly reference the following assemblies in your project:
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md b/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
index 5828d091..f2fb7781 100644
--- a/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
+++ b/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
@@ -24,7 +24,7 @@ Office to programmatically set the print orientation of a Microsoft Word
**SetPrintOrientation** method to illustrate this task.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md b/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
index 5be34cbc..b979115c 100644
--- a/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
+++ b/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
@@ -26,7 +26,7 @@ a standard document (with a .docx extension). It contains an example
**ConvertDOCMtoDOCX** method to illustrate this task.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md b/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
index 99e316ec..707a9185 100644
--- a/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
+++ b/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
@@ -21,7 +21,7 @@ localization_priority: Priority
This topic shows how to use the classes in the Open XML SDK 2.5 to
create a presentation document programmatically.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md b/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
index cd875f4e..82ea07aa 100644
--- a/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
+++ b/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
@@ -23,7 +23,7 @@ processing document. It contains an example
**CreateAndAddCharacterStyle** method to illustrate this task, plus a
supplemental example method to add the styles part when it is necessary.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md b/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
index a7892ec6..1184483c 100644
--- a/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
+++ b/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
@@ -24,7 +24,7 @@ processing document. It contains an example
supplemental example method to add the styles part when necessary.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You
must also explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md b/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
index 6b161245..b2255f52 100644
--- a/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
+++ b/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
@@ -22,7 +22,7 @@ Office to programmatically delete comments by all or a specific author
in a word processing document, without having to load the document into
Microsoft Word. It contains an example **DeleteComments** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-extract-styles-from-a-word-processing-document.md b/docs/how-to-extract-styles-from-a-word-processing-document.md
index 21864166..dd820b49 100644
--- a/docs/how-to-extract-styles-from-a-word-processing-document.md
+++ b/docs/how-to-extract-styles-from-a-word-processing-document.md
@@ -25,7 +25,7 @@ instance. It contains an example **ExtractStylesPart** method to
illustrate this task.
To use the sample code in this topic, you must install the [Open XML SDK
-2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md b/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
index db6bff4c..7478a990 100644
--- a/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
+++ b/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
@@ -22,7 +22,7 @@ Office to programmatically remove all headers and footers in a word
processing document. It contains an example **RemoveHeadersAndFooters** method to illustrate this
task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You
must then explicitly reference the following assemblies in your project.
- WindowsBase
diff --git a/docs/how-to-replace-the-header-in-a-word-processing-document.md b/docs/how-to-replace-the-header-in-a-word-processing-document.md
index 3b8211dd..84ffd49e 100644
--- a/docs/how-to-replace-the-header-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-header-in-a-word-processing-document.md
@@ -21,7 +21,7 @@ This topic shows how to use the classes in the Open XML SDK 2.5 for
Office to replace the header in word processing document
programmatically.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md b/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
index 9027e20d..420a9572 100644
--- a/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
@@ -24,7 +24,7 @@ contains an example **ReplaceStyles** method to illustrate this task, as
well as the **ReplaceStylesPart** and **ExtractStylesPart** supporting
methods.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md b/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
index f6a295a3..9a8d1e58 100644
--- a/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
@@ -23,7 +23,7 @@ and ranges of all defined names in an Microsoft Excel 2010 or Microsoft
Excel 2013 workbook. It contains an example **GetDefinedNames** method
to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
index 86e9cd3f..cb251268 100644
--- a/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
@@ -20,7 +20,7 @@ localization_priority: Priority
This topic shows how to use the classes in the Open XML SDK 2.5 for Office to programmatically retrieve a list of hidden rows or columns in a Microsoft Excel 2010 or Microsoft Excel 2013 worksheet, without
loading the document into Excel. It contains an example **GetHiddenRowsOrCols** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You must explicitly reference the following assemblies in your project:
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
index a5997be7..26fd6eba 100644
--- a/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
@@ -19,7 +19,7 @@ localization_priority: Normal
This topic shows how to use the classes in the Open XML SDK 2.5 for Office to programmatically retrieve a list of hidden worksheets in a Microsoft Excel 2010 or Microsoft Excel 2010 workbook, without loading the document into Excel. It contains an example **GetHiddenSheets** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You must explicitly reference the following assemblies in your project:
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
index e7e9a63a..665693a9 100644
--- a/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
@@ -22,7 +22,7 @@ Office to programmatically retrieve a list of the worksheets in a
Microsoft Excel 2010 or Microsoft Excel 2013 workbook, without loading
the document into Excel. It contains an example **GetAllWorksheets** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md b/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
index fe9bce75..c7283af5 100644
--- a/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
+++ b/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
@@ -22,7 +22,7 @@ Office to programmatically retrieve an application property from a
Microsoft Word 2013 document, without loading the document into Word. It
contains example code to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md b/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
index a6ce212d..2576acbc 100644
--- a/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
+++ b/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
@@ -24,7 +24,7 @@ loading the document into Microsoft PowerPoint. It contains an example
**RetrieveNumberOfSlides** method to illustrate
this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md b/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
index 8febc22d..d1ac86c7 100644
--- a/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
@@ -22,7 +22,7 @@ Office to programmatically retrieve the values of cells in a spreadsheet
document. It contains an example **GetCellValue** method to illustrate
this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You
must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/how-to-set-a-custom-property-in-a-word-processing-document.md b/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
index adfcc7a1..b2c30db3 100644
--- a/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
+++ b/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
@@ -19,7 +19,7 @@ localization_priority: Priority
This topic shows how to use the classes in the Open XML SDK 2.5 for Office to programmatically set a custom property in a word processing document. It contains an example **SetCustomProperty** method to illustrate this task.
-To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/Open-XML-SDK/2.5.0). You must explicitly reference the following assemblies in your project:
+To use the sample code in this topic, you must install the [Open XML SDK 2.5](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0). You must explicitly reference the following assemblies in your project:
- WindowsBase
diff --git a/docs/open-xml-sdk.md b/docs/open-xml-sdk.md
index adac7273..9684f53e 100644
--- a/docs/open-xml-sdk.md
+++ b/docs/open-xml-sdk.md
@@ -53,7 +53,7 @@ Portions of ISO/IEC 29500:20081 are referenced in the SDK.
## See also
-- [Open XML SDK 2.5 for Microsoft Office](https://www.nuget.org/packages/Open-XML-SDK/2.5.0)
+- [Open XML SDK 2.5 for Microsoft Office](https://www.nuget.org/packages/DocumentFormat.OpenXml/2.5.0)
- [Microsoft Office Developer Center](https://developer.microsoft.com/office/docs)
- [Samples on GitHub](https://github.com/OfficeDev)
- [Open XML SDK copyright notice](https://msdn.microsoft.com/library/6165f4ad-2e4d-4852-921a-087782af364d(Office.15).aspx)
From 9c8cb8a054f7e94f0d76814174dcfe8d911ad60f Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Tue, 29 Jun 2021 16:04:18 -0700
Subject: [PATCH 013/275] fix relative link
---
...ve-a-list-of-the-worksheets-in-a-spreadsheet.md | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
index 665693a9..3f9219f6 100644
--- a/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
@@ -67,6 +67,7 @@ the **[Sheets](https://msdn.microsoft.com/library/office/documentformat.openxml.
a reference to each **[Sheet](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.sheet.aspx)** object.
--------------------------------------------------------------------------------
+
## Calling the GetAllWorksheets Method
To call the **GetAllWorksheets** method, pass
@@ -142,12 +143,7 @@ retrieving a reference to the **[WorkbookPart](https://msdn.microsoft.com/librar
End Using
```
-To get access to the **[Workbook](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.workbook.aspx)** object, the code retrieves the
-value of the **[Workbook](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.workbookpart.workbook.aspx)** property from the **WorkbookPart**, and then retrieves a reference to
-the **Sheets** object from the **[Sheets](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.workbook.sheets.aspx)** property of the **Workbook**. The **Sheets**
-object contains the collection of **[Sheet](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.sheet.aspx)** objects that provide the method's
-return value.
+To get access to the **[Workbook](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.workbook.aspx)** object, the code retrieves the value of the **[Workbook](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.workbookpart.workbook.aspx)** property from the **WorkbookPart**, and then retrieves a reference to the **Sheets** object from the **[Sheets](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.workbook.sheets.aspx)** property of the **Workbook**. The **Sheets** object contains the collection of **[Sheet](https://msdn.microsoft.com/library/office/documentformat.openxml.spreadsheet.sheet.aspx)** objects that provide the method's return value.
```csharp
theSheets = wbPart.Workbook.Sheets;
@@ -158,7 +154,9 @@ return value.
```
--------------------------------------------------------------------------------
-## Sample Code
+
+## Sample Code
+
The following is the complete **GetAllWorksheets** code sample in C\# and Visual
Basic.
@@ -241,4 +239,4 @@ Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
From de7d19c8f8ced61f01a24abc6cd9a2ba1403fd1a Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Wed, 30 Jun 2021 10:03:19 -0700
Subject: [PATCH 014/275] rem metadata from topics
---
docs/about-the-open-xml-sdk.md | 4 ++--
docs/getting-started.md | 4 ++--
docs/how-do-i.md | 4 ++--
...w-to-accept-all-revisions-in-a-word-processing-document.md | 4 ++--
docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md | 4 ++--
...ument-part-that-receives-a-relationship-id-to-a-package.md | 4 ++--
docs/how-to-add-a-new-document-part-to-a-package.md | 4 ++--
docs/how-to-add-custom-ui-to-a-spreadsheet-document.md | 4 ++--
docs/how-to-add-tables-to-word-processing-documents.md | 4 ++--
...ly-a-style-to-a-paragraph-in-a-word-processing-document.md | 4 ++--
docs/how-to-apply-a-theme-to-a-presentation.md | 4 ++--
...e-the-sum-of-a-range-of-cells-in-a-spreadsheet-document.md | 4 ++--
...to-change-text-in-a-table-in-a-word-processing-document.md | 4 ++--
...w-to-change-the-fill-color-of-a-shape-in-a-presentation.md | 4 ++--
...nge-the-print-orientation-of-a-word-processing-document.md | 4 ++--
...ocessing-document-from-the-docm-to-the-docx-file-format.md | 4 ++--
...of-an-open-xml-package-part-to-a-document-part-in-a-dif.md | 4 ++--
docs/how-to-create-a-package.md | 4 ++--
...create-a-presentation-document-by-providing-a-file-name.md | 4 ++--
...-create-a-spreadsheet-document-by-providing-a-file-name.md | 4 ++--
...ate-a-word-processing-document-by-providing-a-file-name.md | 4 ++--
...and-add-a-character-style-to-a-word-processing-document.md | 4 ++--
...and-add-a-paragraph-style-to-a-word-processing-document.md | 4 ++--
docs/how-to-delete-a-slide-from-a-presentation.md | 4 ++--
...ments-by-an-author-from-all-the-slides-in-a-presentatio.md | 4 ++--
...-all-or-a-specific-author-in-a-word-processing-document.md | 4 ++--
docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md | 4 ++--
docs/how-to-extract-styles-from-a-word-processing-document.md | 4 ++--
docs/how-to-get-a-column-heading-in-a-spreadsheet.md | 4 ++--
...ow-to-get-all-the-external-hyperlinks-in-a-presentation.md | 4 ++--
docs/how-to-get-all-the-text-in-a-slide-in-a-presentation.md | 4 ++--
...how-to-get-all-the-text-in-all-slides-in-a-presentation.md | 4 ++--
...w-to-get-the-contents-of-a-document-part-from-a-package.md | 4 ++--
...w-to-get-the-titles-of-all-the-slides-in-a-presentation.md | 4 ++--
docs/how-to-get-worksheet-information-from-a-package.md | 4 ++--
docs/how-to-insert-a-chart-into-a-spreadsheet.md | 4 ++--
...how-to-insert-a-comment-into-a-word-processing-document.md | 4 ++--
docs/how-to-insert-a-new-slide-into-a-presentation.md | 4 ++--
docs/how-to-insert-a-new-worksheet-into-a-spreadsheet.md | 4 ++--
...how-to-insert-a-picture-into-a-word-processing-document.md | 4 ++--
docs/how-to-insert-a-table-into-a-word-processing-document.md | 4 ++--
docs/how-to-insert-text-into-a-cell-in-a-spreadsheet.md | 4 ++--
docs/how-to-merge-two-adjacent-cells-in-a-spreadsheet.md | 4 ++--
...ow-to-move-a-paragraph-from-one-presentation-to-another.md | 4 ++--
...how-to-move-a-slide-to-a-new-position-in-a-presentation.md | 4 ++--
...ow-to-open-a-presentation-document-for-read-only-access.md | 4 ++--
...how-to-open-a-spreadsheet-document-for-read-only-access.md | 4 ++--
docs/how-to-open-a-spreadsheet-document-from-a-stream.md | 4 ++--
...to-open-a-word-processing-document-for-read-only-access.md | 4 ++--
docs/how-to-open-a-word-processing-document-from-a-stream.md | 4 ++--
.../how-to-open-and-add-text-to-a-word-processing-document.md | 4 ++--
docs/how-to-parse-and-read-a-large-spreadsheet.md | 4 ++--
docs/how-to-remove-a-document-part-from-a-package.md | 4 ++--
...w-to-remove-hidden-text-from-a-word-processing-document.md | 4 ++--
...the-headers-and-footers-from-a-word-processing-document.md | 4 ++--
...how-to-replace-the-header-in-a-word-processing-document.md | 4 ++--
...-replace-the-styles-parts-in-a-word-processing-document.md | 4 ++--
...to-replace-the-theme-part-in-a-word-processing-document.md | 4 ++--
...rieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md | 4 ++--
...e-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md | 4 ++--
...trieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md | 4 ++--
...w-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md | 4 ++--
...ication-property-values-from-a-word-processing-document.md | 4 ++--
...ow-to-retrieve-comments-from-a-word-processing-document.md | 4 ++--
...etrieve-the-number-of-slides-in-a-presentation-document.md | 4 ++--
docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md | 4 ++--
docs/how-to-search-and-replace-text-in-a-document-part.md | 4 ++--
...-to-set-a-custom-property-in-a-word-processing-document.md | 4 ++--
docs/how-to-set-the-font-for-a-text-run.md | 4 ++--
docs/how-to-validate-a-word-processing-document.md | 4 ++--
docs/introduction-to-markup-compatibility.md | 4 ++--
docs/open-xml-sdk-design-considerations.md | 4 ++--
docs/open-xml-sdk.md | 4 ++--
docs/packages-and-general.md | 4 ++--
docs/presentations.md | 4 ++--
docs/spreadsheets.md | 4 ++--
docs/structure-of-a-presentationml-document.md | 4 ++--
docs/structure-of-a-spreadsheetml-document.md | 4 ++--
docs/structure-of-a-wordprocessingml-document.md | 4 ++--
docs/understanding-the-open-xml-file-formats.md | 4 ++--
docs/what-s-new-in-the-open-xml-sdk.md | 4 ++--
docs/word-processing.md | 4 ++--
docs/working-with-animation.md | 4 ++--
docs/working-with-comments.md | 4 ++--
docs/working-with-conditional-formatting.md | 4 ++--
docs/working-with-formulas.md | 4 ++--
docs/working-with-handout-master-slides.md | 4 ++--
docs/working-with-notes-slides.md | 4 ++--
docs/working-with-paragraphs.md | 4 ++--
docs/working-with-pivottables.md | 4 ++--
docs/working-with-presentation-slides.md | 4 ++--
docs/working-with-presentationml-documents.md | 4 ++--
docs/working-with-presentations.md | 4 ++--
docs/working-with-runs.md | 4 ++--
docs/working-with-sheets.md | 4 ++--
docs/working-with-slide-layouts.md | 4 ++--
docs/working-with-slide-masters.md | 4 ++--
docs/working-with-spreadsheetml-documents.md | 4 ++--
docs/working-with-tables.md | 4 ++--
docs/working-with-the-calculation-chain.md | 4 ++--
docs/working-with-the-shared-string-table.md | 4 ++--
docs/working-with-wordprocessingml-documents.md | 4 ++--
docs/working-with-wordprocessingml-tables.md | 4 ++--
103 files changed, 206 insertions(+), 206 deletions(-)
diff --git a/docs/about-the-open-xml-sdk.md b/docs/about-the-open-xml-sdk.md
index 92271c5f..d48d2fc3 100644
--- a/docs/about-the-open-xml-sdk.md
+++ b/docs/about-the-open-xml-sdk.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 620e86b5-49f2-43dc-85d4-9c7456c09552
title: About the Open XML SDK 2.5 for Office
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 19be0eb6..c2800020 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 7b729dda-bbb6-437e-93d6-7bfe7b8183fa
title: Getting started with the Open XML SDK 2.5 for Office
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-do-i.md b/docs/how-do-i.md
index 3c5c0f18..5d4997c8 100644
--- a/docs/how-do-i.md
+++ b/docs/how-do-i.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: b5cc0e8d-da79-482a-81fa-f18c18d29f6c
title: How do I... (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-accept-all-revisions-in-a-word-processing-document.md b/docs/how-to-accept-all-revisions-in-a-word-processing-document.md
index 285b304c..f7760233 100644
--- a/docs/how-to-accept-all-revisions-in-a-word-processing-document.md
+++ b/docs/how-to-accept-all-revisions-in-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: b3406fcc-f10b-4075-a18f-116400f35faf
title: 'How to: Accept all revisions in a word processing document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md b/docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md
index 538bff65..3e3d5cb1 100644
--- a/docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md
+++ b/docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 403abe97-7ab2-40ba-92c0-d6312a6d10c8
title: 'How to: Add a comment to a slide in a presentation (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-add-a-new-document-part-that-receives-a-relationship-id-to-a-package.md b/docs/how-to-add-a-new-document-part-that-receives-a-relationship-id-to-a-package.md
index e827dad6..91dcc37c 100644
--- a/docs/how-to-add-a-new-document-part-that-receives-a-relationship-id-to-a-package.md
+++ b/docs/how-to-add-a-new-document-part-that-receives-a-relationship-id-to-a-package.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: c9b2ce55-548c-4443-8d2e-08fe1f06b7d7
title: 'How to: Add a new document part that receives a relationship ID to a package'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-add-a-new-document-part-to-a-package.md b/docs/how-to-add-a-new-document-part-to-a-package.md
index adb4ba20..35ddc1dc 100644
--- a/docs/how-to-add-a-new-document-part-to-a-package.md
+++ b/docs/how-to-add-a-new-document-part-to-a-package.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: ec83a076-9d71-49d1-915f-e7090f74c13a
title: 'How to: Add a new document part to a package (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-add-custom-ui-to-a-spreadsheet-document.md b/docs/how-to-add-custom-ui-to-a-spreadsheet-document.md
index e42b66be..fb0877eb 100644
--- a/docs/how-to-add-custom-ui-to-a-spreadsheet-document.md
+++ b/docs/how-to-add-custom-ui-to-a-spreadsheet-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: fdb29547-c295-4e7d-9fc5-d86d8d8c2967
title: 'How to: Add custom UI to a spreadsheet document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-add-tables-to-word-processing-documents.md b/docs/how-to-add-tables-to-word-processing-documents.md
index 10bd2e5d..738b67bf 100644
--- a/docs/how-to-add-tables-to-word-processing-documents.md
+++ b/docs/how-to-add-tables-to-word-processing-documents.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: 65c377d2-1763-4bb6-8915-bc6839ccf62d
title: 'How to: Add tables to word processing documents (Open XML SDK)'
description: 'Learn how to add tables to word processing documents using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md b/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
index 758cfdac..38e52274 100644
--- a/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
+++ b/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: 8d465a77-6c1b-453a-8375-ecf80d2f1bdc
title: 'How to: Apply a style to a paragraph in a word processing document'
description: 'Learn how to apply a style to a paragraph in a word processing document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-apply-a-theme-to-a-presentation.md b/docs/how-to-apply-a-theme-to-a-presentation.md
index d050c0e6..4a5ea4cc 100644
--- a/docs/how-to-apply-a-theme-to-a-presentation.md
+++ b/docs/how-to-apply-a-theme-to-a-presentation.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: d7575014-8187-4e55-bafa-15bc317bf8c8
title: 'How to: Apply a theme to a presentation (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-calculate-the-sum-of-a-range-of-cells-in-a-spreadsheet-document.md b/docs/how-to-calculate-the-sum-of-a-range-of-cells-in-a-spreadsheet-document.md
index 4b09b5ea..b30319f0 100644
--- a/docs/how-to-calculate-the-sum-of-a-range-of-cells-in-a-spreadsheet-document.md
+++ b/docs/how-to-calculate-the-sum-of-a-range-of-cells-in-a-spreadsheet-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 41c001da-204e-4669-a722-76c9f7928281
title: 'How to: Calculate the sum of a range of cells in a spreadsheet document'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-change-text-in-a-table-in-a-word-processing-document.md b/docs/how-to-change-text-in-a-table-in-a-word-processing-document.md
index f2873686..75148da9 100644
--- a/docs/how-to-change-text-in-a-table-in-a-word-processing-document.md
+++ b/docs/how-to-change-text-in-a-table-in-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 69f7c94e-2b8c-4bec-be8c-31933e2ee042
title: 'How to: Change text in a table in a word processing document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-change-the-fill-color-of-a-shape-in-a-presentation.md b/docs/how-to-change-the-fill-color-of-a-shape-in-a-presentation.md
index 397e48dc..541380ab 100644
--- a/docs/how-to-change-the-fill-color-of-a-shape-in-a-presentation.md
+++ b/docs/how-to-change-the-fill-color-of-a-shape-in-a-presentation.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: e3adae2b-c7e8-45f4-b1fc-93d937f4b3b1
title: 'How to: Change the fill color of a shape in a presentation (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md b/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
index f2fb7781..0c17eef3 100644
--- a/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
+++ b/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: bb5319c8-ee99-4862-937b-94dcae8deaca
title: 'How to: Change the print orientation of a word processing document (Open XML SDK)'
description: 'Learn how to change the print orientation of a word processing document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md b/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
index b979115c..c9e47d26 100644
--- a/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
+++ b/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -9,7 +9,7 @@ title: 'How to: Convert a word processing document from the DOCM to the DOCX fil
description: 'Learn how to convert a word processing document from the DOCM to the DOCX file format using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-copy-the-contents-of-an-open-xml-package-part-to-a-document-part-in-a-dif.md b/docs/how-to-copy-the-contents-of-an-open-xml-package-part-to-a-document-part-in-a-dif.md
index 5cc918ea..a06ffe79 100644
--- a/docs/how-to-copy-the-contents-of-an-open-xml-package-part-to-a-document-part-in-a-dif.md
+++ b/docs/how-to-copy-the-contents-of-an-open-xml-package-part-to-a-document-part-in-a-dif.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 7dbfd93c-a9e3-4465-9b57-4a043b07b807
title: 'Copy contents of an Open XML package part to a document part in a different package'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-create-a-package.md b/docs/how-to-create-a-package.md
index d16713a3..f9f885dc 100644
--- a/docs/how-to-create-a-package.md
+++ b/docs/how-to-create-a-package.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: fe261589-7b04-47df-8ee9-26b444e587b0
title: 'How to: Create a package (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md b/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
index 707a9185..4ccbad48 100644
--- a/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
+++ b/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: 3d4a800e-64f0-4715-919f-a8f7d92a5c37
title: 'How to: Create a presentation document by providing a file name (Open XML SDK)'
description: 'Learn how to create a presentation document by providing a file name using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-create-a-spreadsheet-document-by-providing-a-file-name.md b/docs/how-to-create-a-spreadsheet-document-by-providing-a-file-name.md
index df04ae06..012d583b 100644
--- a/docs/how-to-create-a-spreadsheet-document-by-providing-a-file-name.md
+++ b/docs/how-to-create-a-spreadsheet-document-by-providing-a-file-name.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 03ac59c4-49a6-4721-8931-d045c4c9ddde
title: 'How to: Create a spreadsheet document by providing a file name (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-create-a-word-processing-document-by-providing-a-file-name.md b/docs/how-to-create-a-word-processing-document-by-providing-a-file-name.md
index 93431a8a..5f0f9ee6 100644
--- a/docs/how-to-create-a-word-processing-document-by-providing-a-file-name.md
+++ b/docs/how-to-create-a-word-processing-document-by-providing-a-file-name.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 1771fc05-dd94-40e3-a788-6a13809d64f3
title: 'Create a word processing document by providing a file name'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md b/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
index 82ea07aa..e4707745 100644
--- a/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
+++ b/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: c38f2c94-f0b5-4bb5-8c95-02e556d4e9f1
title: 'Create and add a character style to a word processing document'
description: 'Learn how to create and add a character style to a word processing document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md b/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
index 1184483c..39ff5291 100644
--- a/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
+++ b/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: 73cbca2d-3603-45a5-8a73-c2e718376b01
title: 'How to: Create and add a paragraph style to a word processing document (Open XML SDK)'
description: 'Learn how to create and add a paragraph style to a word processing document using hte Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-delete-a-slide-from-a-presentation.md b/docs/how-to-delete-a-slide-from-a-presentation.md
index b2d461d2..644a7516 100644
--- a/docs/how-to-delete-a-slide-from-a-presentation.md
+++ b/docs/how-to-delete-a-slide-from-a-presentation.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 98781b17-8de4-46e9-b29a-5b4033665491
title: 'How to: Delete a slide from a presentation (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-delete-all-the-comments-by-an-author-from-all-the-slides-in-a-presentatio.md b/docs/how-to-delete-all-the-comments-by-an-author-from-all-the-slides-in-a-presentatio.md
index c6e2969b..b031e9d4 100644
--- a/docs/how-to-delete-all-the-comments-by-an-author-from-all-the-slides-in-a-presentatio.md
+++ b/docs/how-to-delete-all-the-comments-by-an-author-from-all-the-slides-in-a-presentatio.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 3b892a6a-2972-461e-94a9-0a1ede854bda
title: 'Delete all the comments by an author from all the slides in a presentation'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md b/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
index b2255f52..fe63de04 100644
--- a/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
+++ b/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: c66a64ca-cb0d-4acc-9d05-535b5bbb8c96
title: 'How to: Delete comments by all or a specific author in a word processing document (Open XML SDK)'
description: 'Learn how to delete comments by all or a specific author in a word processing document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md b/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md
index b7990711..cde67500 100644
--- a/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md
+++ b/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 4b395c48-b469-4d69-b229-d4bad3f3dd8b
title: 'How to: Delete text from a cell in a spreadsheet document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-extract-styles-from-a-word-processing-document.md b/docs/how-to-extract-styles-from-a-word-processing-document.md
index dd820b49..7214936b 100644
--- a/docs/how-to-extract-styles-from-a-word-processing-document.md
+++ b/docs/how-to-extract-styles-from-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: 20258c39-9411-41f2-8463-e94a4b0fa326
title: 'How to: Extract styles from a word processing document (Open XML SDK)'
description: 'Learn how to extract styles from a word processing document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-get-a-column-heading-in-a-spreadsheet.md b/docs/how-to-get-a-column-heading-in-a-spreadsheet.md
index e35372d2..93556537 100644
--- a/docs/how-to-get-a-column-heading-in-a-spreadsheet.md
+++ b/docs/how-to-get-a-column-heading-in-a-spreadsheet.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 56ba8cee-d789-4a03-b8ff-b161af0788ff
title: 'How to: Get a column heading in a spreadsheet document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-get-all-the-external-hyperlinks-in-a-presentation.md b/docs/how-to-get-all-the-external-hyperlinks-in-a-presentation.md
index bd4501c5..477b5343 100644
--- a/docs/how-to-get-all-the-external-hyperlinks-in-a-presentation.md
+++ b/docs/how-to-get-all-the-external-hyperlinks-in-a-presentation.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: d6daf04e-3e45-4570-a184-8f0449c7ab91
title: 'How to: Get all the external hyperlinks in a presentation (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-get-all-the-text-in-a-slide-in-a-presentation.md b/docs/how-to-get-all-the-text-in-a-slide-in-a-presentation.md
index b08fed83..5858b11a 100644
--- a/docs/how-to-get-all-the-text-in-a-slide-in-a-presentation.md
+++ b/docs/how-to-get-all-the-text-in-a-slide-in-a-presentation.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 6de46612-f864-413f-a504-11ea85f1f88f
title: 'How to: Get all the text in a slide in a presentation (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-get-all-the-text-in-all-slides-in-a-presentation.md b/docs/how-to-get-all-the-text-in-all-slides-in-a-presentation.md
index d11963da..66044228 100644
--- a/docs/how-to-get-all-the-text-in-all-slides-in-a-presentation.md
+++ b/docs/how-to-get-all-the-text-in-all-slides-in-a-presentation.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: debad542-5915-45ad-a71c-eeb95b40ec1a
title: 'How to: Get all the text in all slides in a presentation (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-get-the-contents-of-a-document-part-from-a-package.md b/docs/how-to-get-the-contents-of-a-document-part-from-a-package.md
index 912e5bc0..2584b3f9 100644
--- a/docs/how-to-get-the-contents-of-a-document-part-from-a-package.md
+++ b/docs/how-to-get-the-contents-of-a-document-part-from-a-package.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: b0d3d890-431a-4838-89dc-1f0dccd5dcd0
title: 'How to: Get the contents of a document part from a package (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-get-the-titles-of-all-the-slides-in-a-presentation.md b/docs/how-to-get-the-titles-of-all-the-slides-in-a-presentation.md
index 5a588d0e..931b08c7 100644
--- a/docs/how-to-get-the-titles-of-all-the-slides-in-a-presentation.md
+++ b/docs/how-to-get-the-titles-of-all-the-slides-in-a-presentation.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: b7d5d1fd-dcdf-4f88-9d57-884562c8144f
title: 'How to: Get the titles of all the slides in a presentation (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-get-worksheet-information-from-a-package.md b/docs/how-to-get-worksheet-information-from-a-package.md
index f39ae2c9..57fd744c 100644
--- a/docs/how-to-get-worksheet-information-from-a-package.md
+++ b/docs/how-to-get-worksheet-information-from-a-package.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 124cb0a0-cc47-433f-bad0-06b793890650
title: 'How to: Get worksheet information from an Open XML package (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-insert-a-chart-into-a-spreadsheet.md b/docs/how-to-insert-a-chart-into-a-spreadsheet.md
index 3048a4db..a644af16 100644
--- a/docs/how-to-insert-a-chart-into-a-spreadsheet.md
+++ b/docs/how-to-insert-a-chart-into-a-spreadsheet.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 281776d0-be75-46eb-8fdc-a1f656291175
title: 'How to: Insert a chart into a spreadsheet document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-insert-a-comment-into-a-word-processing-document.md b/docs/how-to-insert-a-comment-into-a-word-processing-document.md
index 803db0e2..bf110d22 100644
--- a/docs/how-to-insert-a-comment-into-a-word-processing-document.md
+++ b/docs/how-to-insert-a-comment-into-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 474f0a6c-62c8-4f04-b3f9-cd613a6e48d0
title: 'How to: Insert a comment into a word processing document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-insert-a-new-slide-into-a-presentation.md b/docs/how-to-insert-a-new-slide-into-a-presentation.md
index 5ff047ee..20aeb8a3 100644
--- a/docs/how-to-insert-a-new-slide-into-a-presentation.md
+++ b/docs/how-to-insert-a-new-slide-into-a-presentation.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 6079a1ae-4567-4d99-b350-b819fd06fe5c
title: 'How to: Insert a new slide into a presentation (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-insert-a-new-worksheet-into-a-spreadsheet.md b/docs/how-to-insert-a-new-worksheet-into-a-spreadsheet.md
index 937ab186..19cec629 100644
--- a/docs/how-to-insert-a-new-worksheet-into-a-spreadsheet.md
+++ b/docs/how-to-insert-a-new-worksheet-into-a-spreadsheet.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 944036fa-9251-408f-86cb-2351a5f8cd48
title: 'How to: Insert a new worksheet into a spreadsheet document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
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 4048d2ff..fbec2c5b 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
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: ae8c98d9-dd11-4b75-804c-165095d60ffd
title: 'How to: Insert a picture into a word processing document (Open XML SDK)'
description: 'Learn how to insert a picture into a word processing document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-insert-a-table-into-a-word-processing-document.md b/docs/how-to-insert-a-table-into-a-word-processing-document.md
index eb12b0fb..cb0b5dd1 100644
--- a/docs/how-to-insert-a-table-into-a-word-processing-document.md
+++ b/docs/how-to-insert-a-table-into-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 9d390cf8-1654-4a75-b3b8-4aba86ed1476
title: 'How to: Insert a table into a word processing document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-insert-text-into-a-cell-in-a-spreadsheet.md b/docs/how-to-insert-text-into-a-cell-in-a-spreadsheet.md
index e51b17d5..f38d466b 100644
--- a/docs/how-to-insert-text-into-a-cell-in-a-spreadsheet.md
+++ b/docs/how-to-insert-text-into-a-cell-in-a-spreadsheet.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 5ded6212-e8d4-4206-9025-cb5991bd2f80
title: 'How to: Insert text into a cell in a spreadsheet document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-merge-two-adjacent-cells-in-a-spreadsheet.md b/docs/how-to-merge-two-adjacent-cells-in-a-spreadsheet.md
index bbdb9942..9aacd01b 100644
--- a/docs/how-to-merge-two-adjacent-cells-in-a-spreadsheet.md
+++ b/docs/how-to-merge-two-adjacent-cells-in-a-spreadsheet.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 73747a65-0857-4fd4-8362-3613f4169203
title: 'How to: Merge two adjacent cells in a spreadsheet document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-move-a-paragraph-from-one-presentation-to-another.md b/docs/how-to-move-a-paragraph-from-one-presentation-to-another.md
index eb3b9fd6..bd8bdfc3 100644
--- a/docs/how-to-move-a-paragraph-from-one-presentation-to-another.md
+++ b/docs/how-to-move-a-paragraph-from-one-presentation-to-another.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: ef817bef-27cd-4c2a-acf3-b7bba17e6e1e
title: 'How to: Move a paragraph from one presentation to another (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-move-a-slide-to-a-new-position-in-a-presentation.md b/docs/how-to-move-a-slide-to-a-new-position-in-a-presentation.md
index 7ee9de1e..66d2cb9a 100644
--- a/docs/how-to-move-a-slide-to-a-new-position-in-a-presentation.md
+++ b/docs/how-to-move-a-slide-to-a-new-position-in-a-presentation.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 95fd9dcd-41e9-4e83-9191-2f3110ae73d5
title: 'How to: Move a slide to a new position in a presentation (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-open-a-presentation-document-for-read-only-access.md b/docs/how-to-open-a-presentation-document-for-read-only-access.md
index 022310ee..990aceff 100644
--- a/docs/how-to-open-a-presentation-document-for-read-only-access.md
+++ b/docs/how-to-open-a-presentation-document-for-read-only-access.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 8dc8a6ac-aa9e-47cc-b45e-e128fcec3c57
title: 'How to: Open a presentation document for read-only access (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-open-a-spreadsheet-document-for-read-only-access.md b/docs/how-to-open-a-spreadsheet-document-for-read-only-access.md
index a11ac0b1..3f20a4cc 100644
--- a/docs/how-to-open-a-spreadsheet-document-for-read-only-access.md
+++ b/docs/how-to-open-a-spreadsheet-document-for-read-only-access.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 625bf571-5630-47f8-953f-e9e1a93e3229
title: 'How to: Open a spreadsheet document for read-only access (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-open-a-spreadsheet-document-from-a-stream.md b/docs/how-to-open-a-spreadsheet-document-from-a-stream.md
index aaa13439..0f2dde64 100644
--- a/docs/how-to-open-a-spreadsheet-document-from-a-stream.md
+++ b/docs/how-to-open-a-spreadsheet-document-from-a-stream.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 7fde676b-81b6-4210-82bf-f74d0d925dec
title: 'How to: Open a spreadsheet document from a stream (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-open-a-word-processing-document-for-read-only-access.md b/docs/how-to-open-a-word-processing-document-for-read-only-access.md
index 8e2eed1b..1e190e49 100644
--- a/docs/how-to-open-a-word-processing-document-for-read-only-access.md
+++ b/docs/how-to-open-a-word-processing-document-for-read-only-access.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: c811c2c7-1066-45a5-a724-33d0fbfd5284
title: 'How to: Open a word processing document for read-only access (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-open-a-word-processing-document-from-a-stream.md b/docs/how-to-open-a-word-processing-document-from-a-stream.md
index d34e2468..78745da4 100644
--- a/docs/how-to-open-a-word-processing-document-from-a-stream.md
+++ b/docs/how-to-open-a-word-processing-document-from-a-stream.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 75cff172-b29d-475a-8eb5-d8e90642f015
title: 'How to: Open a word processing document from a stream (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-open-and-add-text-to-a-word-processing-document.md b/docs/how-to-open-and-add-text-to-a-word-processing-document.md
index f20764e1..744760d1 100644
--- a/docs/how-to-open-and-add-text-to-a-word-processing-document.md
+++ b/docs/how-to-open-and-add-text-to-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 360318b5-9d17-42a1-b707-c3ccd1a89c97
title: 'How to: Open and add text to a word processing document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-parse-and-read-a-large-spreadsheet.md b/docs/how-to-parse-and-read-a-large-spreadsheet.md
index 2412a205..070b5d72 100644
--- a/docs/how-to-parse-and-read-a-large-spreadsheet.md
+++ b/docs/how-to-parse-and-read-a-large-spreadsheet.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: dd28d239-42be-42a9-893e-b65338fe184e
title: 'How to: Parse and read a large spreadsheet document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-remove-a-document-part-from-a-package.md b/docs/how-to-remove-a-document-part-from-a-package.md
index 03f1cba6..53d18b61 100644
--- a/docs/how-to-remove-a-document-part-from-a-package.md
+++ b/docs/how-to-remove-a-document-part-from-a-package.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: b3890e64-51d1-4643-8d07-2c9d8e060000
title: 'How to: Remove a document part from a package (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-remove-hidden-text-from-a-word-processing-document.md b/docs/how-to-remove-hidden-text-from-a-word-processing-document.md
index d2fc0ad4..685c10a6 100644
--- a/docs/how-to-remove-hidden-text-from-a-word-processing-document.md
+++ b/docs/how-to-remove-hidden-text-from-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: e5e9c6ba-b422-4639-bb8c-6da521307f13
title: 'How to: Remove hidden text from a word processing document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md b/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
index 7478a990..33dbf700 100644
--- a/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
+++ b/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: 22f973f4-58d1-4dd4-943e-a15ac2571b7c
title: 'How to: Remove the headers and footers from a word processing document (Open XML SDK)'
description: 'Learn how to remove the headers and footers from a word processing document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-replace-the-header-in-a-word-processing-document.md b/docs/how-to-replace-the-header-in-a-word-processing-document.md
index 84ffd49e..b429abed 100644
--- a/docs/how-to-replace-the-header-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-header-in-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: d57e9b7d-b271-4c8d-998f-b7ca3eb6c850
title: 'How to: Replace the header in a word processing document (Open XML SDK)'
description: 'Learn how to replace the header in a word processing document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md b/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
index 420a9572..c057c32b 100644
--- a/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: 67edb37c-cfec-461c-b616-5a8b7d074c91
title: 'How to: Replace the styles parts in a word processing document (Open XML SDK)'
description: 'Learn how to replace the styles parts in a word processing document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-replace-the-theme-part-in-a-word-processing-document.md b/docs/how-to-replace-the-theme-part-in-a-word-processing-document.md
index 129255d4..ba720bf8 100644
--- a/docs/how-to-replace-the-theme-part-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-theme-part-in-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: cfb75725-f3a7-43c0-85f4-7bb4c3f448ca
title: 'How to: Replace the theme part in a word processing document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md b/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
index 9a8d1e58..2aab1dde 100644
--- a/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: 0aa2aef3-b329-4ccc-8f25-9660c083e14e
title: 'How to: Retrieve a dictionary of all named ranges in a spreadsheet document (Open XML SDK)'
description: 'Learn how to retrieve a dictionary of all named ranges in a spreadsheet document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
index cb251268..882feccb 100644
--- a/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: 5adddb6e-545e-4fba-ae35-cc4682e3eda7
title: 'How to: Retrieve a list of the hidden rows or columns in a spreadsheet document (Open XML SDK)'
description: 'Learn how to retrieve a list of the hidden rows or columns in a spreadsheet document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
index 26fd6eba..5d7bb306 100644
--- a/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: a6d35b76-d12a-460c-9d9d-2334abde759e
title: 'How to: Retrieve a list of the hidden worksheets in a spreadsheet document (Open XML SDK)'
description: 'Learn how to retrieve a list of the hidden worksheets in a spreadsheet document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
index 3f9219f6..5f84bc68 100644
--- a/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: a0c1e144-2080-4470-bd4b-ed98f1399374
title: 'How to: Retrieve a list of the worksheets in a spreadsheet document (Open XML SDK)'
description: 'Learn how to retrieve a list of the worksheets in a spreadsheet document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md b/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
index c7283af5..2de3097a 100644
--- a/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
+++ b/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: 3e9ca812-460e-442e-8257-38f523a53dc6
title: 'How to: Retrieve application property values from a word processing document (Open XML SDK)'
description: 'Learn how to retrieve application property values from a word processing document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-retrieve-comments-from-a-word-processing-document.md b/docs/how-to-retrieve-comments-from-a-word-processing-document.md
index f101678a..73690597 100644
--- a/docs/how-to-retrieve-comments-from-a-word-processing-document.md
+++ b/docs/how-to-retrieve-comments-from-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 70839c86-36ef-4b67-a682-abd5114b2bfe
title: 'How to: Retrieve comments from a word processing document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md b/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
index 2576acbc..f009b9e7 100644
--- a/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
+++ b/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: b6f429a7-4489-4155-b713-2139f3add8c2
title: 'How to: Retrieve the number of slides in a presentation document (Open XML SDK)'
description: 'Learn how to retrieve the number of slides in a presentation document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md b/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
index d1ac86c7..70b9c67a 100644
--- a/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: 15e26fbd-fc23-466a-a7cc-b7584ba8f821
title: 'How to: Retrieve the values of cells in a spreadsheet document (Open XML SDK)'
description: 'Learn how to retrieve the values of cells in a spreadsheet document using the Open XML SDK.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-search-and-replace-text-in-a-document-part.md b/docs/how-to-search-and-replace-text-in-a-document-part.md
index 0830f4af..230787d6 100644
--- a/docs/how-to-search-and-replace-text-in-a-document-part.md
+++ b/docs/how-to-search-and-replace-text-in-a-document-part.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: cbb4547e-45fa-48ee-872e-8727beec6dfa
title: 'How to: Search and replace text in a document part (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-set-a-custom-property-in-a-word-processing-document.md b/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
index b2c30db3..8e6dfbb0 100644
--- a/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
+++ b/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -8,7 +8,7 @@ ms.assetid: how-to-set-a-custom-property-in-a-word-processing-document
title: 'How to: Set a custom property in a word processing document (Open XML SDK)'
description: 'Learn how to use the classes in the Open XML SDK 2.5 for Office to programmatically set a custom property in a word processing document.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-set-the-font-for-a-text-run.md b/docs/how-to-set-the-font-for-a-text-run.md
index c2a7305b..c99c0465 100644
--- a/docs/how-to-set-the-font-for-a-text-run.md
+++ b/docs/how-to-set-the-font-for-a-text-run.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: e4e5a2e5-a97e-47b9-a263-6723bd4230a1
title: 'How to: Set the font for a text run (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/how-to-validate-a-word-processing-document.md b/docs/how-to-validate-a-word-processing-document.md
index 552b4a35..55fba7e3 100644
--- a/docs/how-to-validate-a-word-processing-document.md
+++ b/docs/how-to-validate-a-word-processing-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: a20bf30b-204e-4c57-8ca3-badf4b0b3e03
title: 'How to: Validate a word processing document (Open XML SDK)'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/introduction-to-markup-compatibility.md b/docs/introduction-to-markup-compatibility.md
index d82b15e2..c6a1b83b 100644
--- a/docs/introduction-to-markup-compatibility.md
+++ b/docs/introduction-to-markup-compatibility.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: dd42a9a3-5c16-4cab-ad6d-506cf822ec7a
title: Introduction to markup compatibility (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/open-xml-sdk-design-considerations.md b/docs/open-xml-sdk-design-considerations.md
index bac9d9e2..501ed6bb 100644
--- a/docs/open-xml-sdk-design-considerations.md
+++ b/docs/open-xml-sdk-design-considerations.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 43c49a6d-96b5-4e87-a5bf-01629d61aad4
title: Open XML SDK 2.5 for Office design considerations
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/open-xml-sdk.md b/docs/open-xml-sdk.md
index 9684f53e..2198b751 100644
--- a/docs/open-xml-sdk.md
+++ b/docs/open-xml-sdk.md
@@ -2,7 +2,7 @@
keywords: system.io.packaging
f1_keywords:
- system.io.packaging
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -11,7 +11,7 @@ ms.assetid: f6a9ae68-7989-4208-97f5-3c945137a0ab
title: Welcome to the Open XML SDK 2.5 for Office
description: 'Documentation and guidance for the strongly-typed classes in the Open XML SDK 2.5 for Office.'
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/packages-and-general.md b/docs/packages-and-general.md
index be3bed2d..3cb36d38 100644
--- a/docs/packages-and-general.md
+++ b/docs/packages-and-general.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: edbe267a-ced9-43fd-a702-fd0165cb3438
title: Packages and general (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/presentations.md b/docs/presentations.md
index ebd31007..014c2145 100644
--- a/docs/presentations.md
+++ b/docs/presentations.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 0a81a7fb-c431-4f53-a199-e72eea91f360
title: Presentations (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/spreadsheets.md b/docs/spreadsheets.md
index a8703fe9..c3aabab4 100644
--- a/docs/spreadsheets.md
+++ b/docs/spreadsheets.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 7808dcc4-8f50-42c4-bad1-d69fe5f045fe
title: Spreadsheets (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/structure-of-a-presentationml-document.md b/docs/structure-of-a-presentationml-document.md
index e79122b1..8318e308 100644
--- a/docs/structure-of-a-presentationml-document.md
+++ b/docs/structure-of-a-presentationml-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: fe780fcd-ed8f-4ee1-938e-cf3bb358ccae
title: Structure of a PresentationML document (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/structure-of-a-spreadsheetml-document.md b/docs/structure-of-a-spreadsheetml-document.md
index f1871825..57422020 100644
--- a/docs/structure-of-a-spreadsheetml-document.md
+++ b/docs/structure-of-a-spreadsheetml-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 3b35a153-c8ff-4dc7-96d5-02c515f31770
title: Structure of a SpreadsheetML document (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/structure-of-a-wordprocessingml-document.md b/docs/structure-of-a-wordprocessingml-document.md
index 89b05f68..89305617 100644
--- a/docs/structure-of-a-wordprocessingml-document.md
+++ b/docs/structure-of-a-wordprocessingml-document.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 03636fa2-be44-4e8d-9c26-7d38415bb459
title: Structure of a WordprocessingML document (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/understanding-the-open-xml-file-formats.md b/docs/understanding-the-open-xml-file-formats.md
index 8b61d9e6..b4b8bf86 100644
--- a/docs/understanding-the-open-xml-file-formats.md
+++ b/docs/understanding-the-open-xml-file-formats.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: ada81388-9ed2-43f4-ab2c-2bb82f711e90
title: Understanding the Open XML file formats
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/what-s-new-in-the-open-xml-sdk.md b/docs/what-s-new-in-the-open-xml-sdk.md
index 7b943e05..78dfa90f 100644
--- a/docs/what-s-new-in-the-open-xml-sdk.md
+++ b/docs/what-s-new-in-the-open-xml-sdk.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 4fbda0e3-5676-4a8f-ba62-3fba59fa418b
title: What's new in the Open XML SDK 2.5 for Office
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/word-processing.md b/docs/word-processing.md
index 1920441e..d0154cd4 100644
--- a/docs/word-processing.md
+++ b/docs/word-processing.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 4fcb7fbb-0796-4737-8f05-acbcfa9e1a06
title: Word processing (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-animation.md b/docs/working-with-animation.md
index d9134379..a3607751 100644
--- a/docs/working-with-animation.md
+++ b/docs/working-with-animation.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: d4ef73a6-888a-4476-9e21-4df76782127f
title: Working with animation (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-comments.md b/docs/working-with-comments.md
index 8abb0343..883b6e7b 100644
--- a/docs/working-with-comments.md
+++ b/docs/working-with-comments.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: d7f0f1d3-bcf9-40b5-aaa4-4a08d862ac8e
title: Working with comments (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-conditional-formatting.md b/docs/working-with-conditional-formatting.md
index 5e610e38..a6dcfe5b 100644
--- a/docs/working-with-conditional-formatting.md
+++ b/docs/working-with-conditional-formatting.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: b6f5afca-5feb-4003-b803-55dd2f9bf6d2
title: Working with conditional formatting (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-formulas.md b/docs/working-with-formulas.md
index 1fd09115..3cc45d15 100644
--- a/docs/working-with-formulas.md
+++ b/docs/working-with-formulas.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 17abd341-abe9-4eee-9bb3-27fded0b04d2
title: Working with formulas (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-handout-master-slides.md b/docs/working-with-handout-master-slides.md
index 4c4db59e..b23666ea 100644
--- a/docs/working-with-handout-master-slides.md
+++ b/docs/working-with-handout-master-slides.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: fb4b293c-9a23-44b7-8af6-afe5fac6611a
title: Working with handout master slides (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-notes-slides.md b/docs/working-with-notes-slides.md
index c68cd2a4..bee2ff0b 100644
--- a/docs/working-with-notes-slides.md
+++ b/docs/working-with-notes-slides.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 56d28bc5-c9ea-4c0e-b2f5-20be9c16d290
title: Working with notes slides (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-paragraphs.md b/docs/working-with-paragraphs.md
index 18e7aa25..6761d56e 100644
--- a/docs/working-with-paragraphs.md
+++ b/docs/working-with-paragraphs.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 8a9117f7-066e-409c-8681-a26610c0eede
title: Working with paragraphs (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-pivottables.md b/docs/working-with-pivottables.md
index ebc5bcad..a1e8ef5e 100644
--- a/docs/working-with-pivottables.md
+++ b/docs/working-with-pivottables.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 96697c37-3fa7-4814-85b6-657439435ce1
title: Working with PivotTables (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-presentation-slides.md b/docs/working-with-presentation-slides.md
index 6dc7da8c..0b7236b3 100644
--- a/docs/working-with-presentation-slides.md
+++ b/docs/working-with-presentation-slides.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: ee6c905b-26c5-4aed-a414-9aa826364a23
title: Working with presentation slides (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-presentationml-documents.md b/docs/working-with-presentationml-documents.md
index 94c213e5..252aabf9 100644
--- a/docs/working-with-presentationml-documents.md
+++ b/docs/working-with-presentationml-documents.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 56aeeed4-24ce-42ba-a236-6fec6785dd93
title: Working with PresentationML documents (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-presentations.md b/docs/working-with-presentations.md
index c0d7b3df..5c9e9630 100644
--- a/docs/working-with-presentations.md
+++ b/docs/working-with-presentations.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 82deb499-7479-474d-9d89-c4847e6f3649
title: Working with presentations (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-runs.md b/docs/working-with-runs.md
index 6a7e4553..909df2b7 100644
--- a/docs/working-with-runs.md
+++ b/docs/working-with-runs.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 1fbc6d30-bfe4-4b2b-8fd8-0c5a400d1e03
title: Working with runs (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-sheets.md b/docs/working-with-sheets.md
index f67b1182..27bb6d21 100644
--- a/docs/working-with-sheets.md
+++ b/docs/working-with-sheets.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 119a7eb6-9a02-4914-b651-9ba090bf7994
title: Working with sheets (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-slide-layouts.md b/docs/working-with-slide-layouts.md
index d5b636d2..fb066574 100644
--- a/docs/working-with-slide-layouts.md
+++ b/docs/working-with-slide-layouts.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 1ec087c3-8b9e-46a9-9c3c-14586908eb0e
title: Working with slide layouts (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-slide-masters.md b/docs/working-with-slide-masters.md
index d80fcf76..a28fa52e 100644
--- a/docs/working-with-slide-masters.md
+++ b/docs/working-with-slide-masters.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 7dfd78a3-e233-4abd-8c17-1e384780d3ec
title: Working with slide masters (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-spreadsheetml-documents.md b/docs/working-with-spreadsheetml-documents.md
index 332f8943..28f21af0 100644
--- a/docs/working-with-spreadsheetml-documents.md
+++ b/docs/working-with-spreadsheetml-documents.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: c984c74e-2f06-4aba-a64b-2bb928b2929e
title: Working with SpreadsheetML documents (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-tables.md b/docs/working-with-tables.md
index 1170826e..5997c581 100644
--- a/docs/working-with-tables.md
+++ b/docs/working-with-tables.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 7b72277f-3c5e-43ba-bbd8-7467cf532c95
title: Working with SpreadsheetML tables (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-the-calculation-chain.md b/docs/working-with-the-calculation-chain.md
index 30214248..0f761dbd 100644
--- a/docs/working-with-the-calculation-chain.md
+++ b/docs/working-with-the-calculation-chain.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: ffdf5bd3-53f5-4f48-8946-11a0287fb107
title: Working with the calculation chain (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-the-shared-string-table.md b/docs/working-with-the-shared-string-table.md
index 78568d12..01a66bee 100644
--- a/docs/working-with-the-shared-string-table.md
+++ b/docs/working-with-the-shared-string-table.md
@@ -1,5 +1,5 @@
---
-ms.prod: OPENXML
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 36664cc7-30ef-4e9b-b569-846a9e404219
title: Working with the shared string table (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-wordprocessingml-documents.md b/docs/working-with-wordprocessingml-documents.md
index 1a5cdf0a..5eac5421 100644
--- a/docs/working-with-wordprocessingml-documents.md
+++ b/docs/working-with-wordprocessingml-documents.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: bead244f-b551-477f-a296-41ead7bfcf5c
title: Working with WordprocessingML documents (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
diff --git a/docs/working-with-wordprocessingml-tables.md b/docs/working-with-wordprocessingml-tables.md
index f828c2ce..85e1460b 100644
--- a/docs/working-with-wordprocessingml-tables.md
+++ b/docs/working-with-wordprocessingml-tables.md
@@ -1,5 +1,5 @@
---
-ms.prod: MULTIPLEPRODUCTS
+
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +7,7 @@ api_type:
ms.assetid: 7b72277f-3c5e-43ba-bbd8-7467cf532c95
title: Working with WordprocessingML tables (Open XML SDK)
ms.suite: office
-ms.technology: open-xml
+
ms.author: o365devx
author: o365devx
ms.topic: conceptual
From a8ceb77fe76f8086329c187b06af2e8a895f9e7a Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Wed, 30 Jun 2021 10:07:27 -0700
Subject: [PATCH 015/275] fix relative link
---
README.md | 2 +-
...how-to-accept-all-revisions-in-a-word-processing-document.md | 2 +-
docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md | 2 +-
...ocument-part-that-receives-a-relationship-id-to-a-package.md | 2 +-
docs/how-to-add-a-new-document-part-to-a-package.md | 2 +-
docs/how-to-add-custom-ui-to-a-spreadsheet-document.md | 2 +-
docs/how-to-apply-a-theme-to-a-presentation.md | 2 +-
...ate-the-sum-of-a-range-of-cells-in-a-spreadsheet-document.md | 2 +-
...w-to-change-text-in-a-table-in-a-word-processing-document.md | 2 +-
...how-to-change-the-fill-color-of-a-shape-in-a-presentation.md | 2 +-
...s-of-an-open-xml-package-part-to-a-document-part-in-a-dif.md | 2 +-
docs/how-to-create-a-package.md | 2 +-
...to-create-a-spreadsheet-document-by-providing-a-file-name.md | 2 +-
...reate-a-word-processing-document-by-providing-a-file-name.md | 2 +-
docs/how-to-delete-a-slide-from-a-presentation.md | 2 +-
...omments-by-an-author-from-all-the-slides-in-a-presentatio.md | 2 +-
docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md | 2 +-
docs/how-to-get-a-column-heading-in-a-spreadsheet.md | 2 +-
.../how-to-get-all-the-external-hyperlinks-in-a-presentation.md | 2 +-
docs/how-to-get-all-the-text-in-a-slide-in-a-presentation.md | 2 +-
docs/how-to-insert-a-chart-into-a-spreadsheet.md | 2 +-
docs/how-to-insert-a-comment-into-a-word-processing-document.md | 2 +-
docs/how-to-insert-a-new-slide-into-a-presentation.md | 2 +-
docs/how-to-insert-a-new-worksheet-into-a-spreadsheet.md | 2 +-
docs/how-to-insert-a-table-into-a-word-processing-document.md | 2 +-
docs/how-to-insert-text-into-a-cell-in-a-spreadsheet.md | 2 +-
docs/how-to-merge-two-adjacent-cells-in-a-spreadsheet.md | 2 +-
.../how-to-move-a-paragraph-from-one-presentation-to-another.md | 2 +-
docs/how-to-move-a-slide-to-a-new-position-in-a-presentation.md | 2 +-
.../how-to-open-a-presentation-document-for-read-only-access.md | 2 +-
docs/how-to-open-a-spreadsheet-document-for-read-only-access.md | 2 +-
docs/how-to-open-a-spreadsheet-document-from-a-stream.md | 2 +-
...w-to-open-a-word-processing-document-for-read-only-access.md | 2 +-
docs/how-to-open-a-word-processing-document-from-a-stream.md | 2 +-
docs/how-to-open-and-add-text-to-a-word-processing-document.md | 2 +-
docs/how-to-parse-and-read-a-large-spreadsheet.md | 2 +-
docs/how-to-remove-a-document-part-from-a-package.md | 2 +-
...how-to-remove-hidden-text-from-a-word-processing-document.md | 2 +-
...w-to-replace-the-theme-part-in-a-word-processing-document.md | 2 +-
.../how-to-retrieve-comments-from-a-word-processing-document.md | 2 +-
docs/how-to-search-and-replace-text-in-a-document-part.md | 2 +-
docs/how-to-set-the-font-for-a-text-run.md | 2 +-
docs/how-to-validate-a-word-processing-document.md | 2 +-
43 files changed, 43 insertions(+), 43 deletions(-)
diff --git a/README.md b/README.md
index ec583ce2..b61851c0 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Open XML documentation
-This repo is the source markdown for documentation published at https://docs.microsoft.com/office/open-xml/open-xml-sdk.
+This repo is the source markdown for documentation published at /office/open-xml/open-xml-sdk.md.
## Contributing
diff --git a/docs/how-to-accept-all-revisions-in-a-word-processing-document.md b/docs/how-to-accept-all-revisions-in-a-word-processing-document.md
index f7760233..90cd3ec7 100644
--- a/docs/how-to-accept-all-revisions-in-a-word-processing-document.md
+++ b/docs/how-to-accept-all-revisions-in-a-word-processing-document.md
@@ -511,6 +511,6 @@ The following is the complete sample code in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
- [Accepting Revisions in Open XML Word-Processing Documents](https://docs.microsoft.com/previous-versions/office/developer/office-2007/ee836138(v=office.12))
diff --git a/docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md b/docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md
index 3e3d5cb1..c2c6b601 100644
--- a/docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md
+++ b/docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md
@@ -760,6 +760,6 @@ comment string to the first slide in the presentation file Myppt1.pptx.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-add-a-new-document-part-that-receives-a-relationship-id-to-a-package.md b/docs/how-to-add-a-new-document-part-that-receives-a-relationship-id-to-a-package.md
index 91dcc37c..a2cae60a 100644
--- a/docs/how-to-add-a-new-document-part-that-receives-a-relationship-id-to-a-package.md
+++ b/docs/how-to-add-a-new-document-part-that-receives-a-relationship-id-to-a-package.md
@@ -301,6 +301,6 @@ The following is the complete code example in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-add-a-new-document-part-to-a-package.md b/docs/how-to-add-a-new-document-part-to-a-package.md
index 35ddc1dc..0edf0346 100644
--- a/docs/how-to-add-a-new-document-part-to-a-package.md
+++ b/docs/how-to-add-a-new-document-part-to-a-package.md
@@ -210,7 +210,7 @@ Following is the complete code example in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-add-custom-ui-to-a-spreadsheet-document.md b/docs/how-to-add-custom-ui-to-a-spreadsheet-document.md
index fb0877eb..723f20f8 100644
--- a/docs/how-to-add-custom-ui-to-a-spreadsheet-document.md
+++ b/docs/how-to-add-custom-ui-to-a-spreadsheet-document.md
@@ -306,7 +306,7 @@ code sample in C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
- [Ribbon Designer](https://msdn.microsoft.com/library/26617206-f4da-416f-a18a-d817b2d4872d(Office.15).aspx)
- [Walkthrough: Creating a Custom Tab by Using the Ribbon Designer](https://msdn.microsoft.com/library/312865e6-950f-46ab-88de-fe7eb8036bfe(Office.15).aspx)
diff --git a/docs/how-to-apply-a-theme-to-a-presentation.md b/docs/how-to-apply-a-theme-to-a-presentation.md
index 4a5ea4cc..e9c7f814 100644
--- a/docs/how-to-apply-a-theme-to-a-presentation.md
+++ b/docs/how-to-apply-a-theme-to-a-presentation.md
@@ -674,7 +674,7 @@ would see the same theme of the file Myppt9-theme.pptx.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-calculate-the-sum-of-a-range-of-cells-in-a-spreadsheet-document.md b/docs/how-to-calculate-the-sum-of-a-range-of-cells-in-a-spreadsheet-document.md
index b30319f0..245dc9e9 100644
--- a/docs/how-to-calculate-the-sum-of-a-range-of-cells-in-a-spreadsheet-document.md
+++ b/docs/how-to-calculate-the-sum-of-a-range-of-cells-in-a-spreadsheet-document.md
@@ -928,7 +928,7 @@ The following is the complete sample code in both C\# and Visual Basic.
-----------------------------------------------------------------------------
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
- [Language-Integrated Query (LINQ)](https://msdn.microsoft.com/library/bb397926.aspx)
- [Lambda Expressions](https://msdn.microsoft.com/library/bb531253.aspx)
- [Lambda Expressions (C\# Programming Guide)](https://msdn.microsoft.com/library/bb397687.aspx)
diff --git a/docs/how-to-change-text-in-a-table-in-a-word-processing-document.md b/docs/how-to-change-text-in-a-table-in-a-word-processing-document.md
index 75148da9..bad3eb33 100644
--- a/docs/how-to-change-text-in-a-table-in-a-word-processing-document.md
+++ b/docs/how-to-change-text-in-a-table-in-a-word-processing-document.md
@@ -275,7 +275,7 @@ Following is the complete code example.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
[How to: Change Text in a Table in a Word Processing Document](https://msdn.microsoft.com/library/documentformat.openxml.wordprocessing.table(office.14).aspx)
diff --git a/docs/how-to-change-the-fill-color-of-a-shape-in-a-presentation.md b/docs/how-to-change-the-fill-color-of-a-shape-in-a-presentation.md
index 541380ab..f9d1e9b4 100644
--- a/docs/how-to-change-the-fill-color-of-a-shape-in-a-presentation.md
+++ b/docs/how-to-change-the-fill-color-of-a-shape-in-a-presentation.md
@@ -347,7 +347,7 @@ change in the fill color.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-copy-the-contents-of-an-open-xml-package-part-to-a-document-part-in-a-dif.md b/docs/how-to-copy-the-contents-of-an-open-xml-package-part-to-a-document-part-in-a-dif.md
index a06ffe79..7d9be570 100644
--- a/docs/how-to-copy-the-contents-of-an-open-xml-package-part-to-a-document-part-in-a-dif.md
+++ b/docs/how-to-copy-the-contents-of-an-open-xml-package-part-to-a-document-part-in-a-dif.md
@@ -276,7 +276,7 @@ Following is the complete sample code in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-create-a-package.md b/docs/how-to-create-a-package.md
index f9f885dc..a983d22b 100644
--- a/docs/how-to-create-a-package.md
+++ b/docs/how-to-create-a-package.md
@@ -311,7 +311,7 @@ Following is the complete sample code in both C\# and Visual Basic.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-create-a-spreadsheet-document-by-providing-a-file-name.md b/docs/how-to-create-a-spreadsheet-document-by-providing-a-file-name.md
index 012d583b..1afdf02a 100644
--- a/docs/how-to-create-a-spreadsheet-document-by-providing-a-file-name.md
+++ b/docs/how-to-create-a-spreadsheet-document-by-providing-a-file-name.md
@@ -237,4 +237,4 @@ Following is the complete sample code in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-create-a-word-processing-document-by-providing-a-file-name.md b/docs/how-to-create-a-word-processing-document-by-providing-a-file-name.md
index 5f0f9ee6..3b88d58c 100644
--- a/docs/how-to-create-a-word-processing-document-by-providing-a-file-name.md
+++ b/docs/how-to-create-a-word-processing-document-by-providing-a-file-name.md
@@ -223,4 +223,4 @@ Following is the complete code example in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-delete-a-slide-from-a-presentation.md b/docs/how-to-delete-a-slide-from-a-presentation.md
index 644a7516..911d7289 100644
--- a/docs/how-to-delete-a-slide-from-a-presentation.md
+++ b/docs/how-to-delete-a-slide-from-a-presentation.md
@@ -755,4 +755,4 @@ Following is the complete sample code in both C\# and Visual Basic.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-delete-all-the-comments-by-an-author-from-all-the-slides-in-a-presentatio.md b/docs/how-to-delete-all-the-comments-by-an-author-from-all-the-slides-in-a-presentatio.md
index b031e9d4..4d382e84 100644
--- a/docs/how-to-delete-all-the-comments-by-an-author-from-all-the-slides-in-a-presentatio.md
+++ b/docs/how-to-delete-all-the-comments-by-an-author-from-all-the-slides-in-a-presentatio.md
@@ -443,4 +443,4 @@ The following is the complete sample code in both C\# and Visual Basic.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md b/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md
index cde67500..bf7bccfd 100644
--- a/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md
+++ b/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md
@@ -631,7 +631,7 @@ The following is the complete code sample in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
[Language-Integrated Query (LINQ)](https://msdn.microsoft.com/library/bb397926.aspx)
diff --git a/docs/how-to-get-a-column-heading-in-a-spreadsheet.md b/docs/how-to-get-a-column-heading-in-a-spreadsheet.md
index 93556537..8bb02626 100644
--- a/docs/how-to-get-a-column-heading-in-a-spreadsheet.md
+++ b/docs/how-to-get-a-column-heading-in-a-spreadsheet.md
@@ -410,7 +410,7 @@ Following is the complete sample code in both C\# and Visual Basic.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
[Language-Integrated Query (LINQ)](https://msdn.microsoft.com/library/bb397926.aspx)
diff --git a/docs/how-to-get-all-the-external-hyperlinks-in-a-presentation.md b/docs/how-to-get-all-the-external-hyperlinks-in-a-presentation.md
index 477b5343..f113efde 100644
--- a/docs/how-to-get-all-the-external-hyperlinks-in-a-presentation.md
+++ b/docs/how-to-get-all-the-external-hyperlinks-in-a-presentation.md
@@ -356,4 +356,4 @@ get the list of URIs in your presentation.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-get-all-the-text-in-a-slide-in-a-presentation.md b/docs/how-to-get-all-the-text-in-a-slide-in-a-presentation.md
index 5858b11a..fd97fa54 100644
--- a/docs/how-to-get-all-the-text-in-a-slide-in-a-presentation.md
+++ b/docs/how-to-get-all-the-text-in-a-slide-in-a-presentation.md
@@ -631,4 +631,4 @@ Following is the complete sample code in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-insert-a-chart-into-a-spreadsheet.md b/docs/how-to-insert-a-chart-into-a-spreadsheet.md
index a644af16..d7967055 100644
--- a/docs/how-to-insert-a-chart-into-a-spreadsheet.md
+++ b/docs/how-to-insert-a-chart-into-a-spreadsheet.md
@@ -883,7 +883,7 @@ The following is the complete sample code in both C\# and Visual Basic.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
[Language-Integrated Query (LINQ)](https://msdn.microsoft.com/library/bb397926.aspx)
diff --git a/docs/how-to-insert-a-comment-into-a-word-processing-document.md b/docs/how-to-insert-a-comment-into-a-word-processing-document.md
index bf110d22..be263dca 100644
--- a/docs/how-to-insert-a-comment-into-a-word-processing-document.md
+++ b/docs/how-to-insert-a-comment-into-a-word-processing-document.md
@@ -364,7 +364,7 @@ Following is the complete sample code in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
[Language-Integrated Query (LINQ)](https://msdn.microsoft.com/library/bb397926.aspx)
diff --git a/docs/how-to-insert-a-new-slide-into-a-presentation.md b/docs/how-to-insert-a-new-slide-into-a-presentation.md
index 20aeb8a3..0af62515 100644
--- a/docs/how-to-insert-a-new-slide-into-a-presentation.md
+++ b/docs/how-to-insert-a-new-slide-into-a-presentation.md
@@ -749,4 +749,4 @@ The following is the complete sample code in both C\# and Visual Basic.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-insert-a-new-worksheet-into-a-spreadsheet.md b/docs/how-to-insert-a-new-worksheet-into-a-spreadsheet.md
index 19cec629..5b5ca9c3 100644
--- a/docs/how-to-insert-a-new-worksheet-into-a-spreadsheet.md
+++ b/docs/how-to-insert-a-new-worksheet-into-a-spreadsheet.md
@@ -296,7 +296,7 @@ Following is the complete sample code in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
[Language-Integrated Query (LINQ)](https://msdn.microsoft.com/library/bb397926.aspx)
diff --git a/docs/how-to-insert-a-table-into-a-word-processing-document.md b/docs/how-to-insert-a-table-into-a-word-processing-document.md
index cb0b5dd1..34c599e4 100644
--- a/docs/how-to-insert-a-table-into-a-word-processing-document.md
+++ b/docs/how-to-insert-a-table-into-a-word-processing-document.md
@@ -399,7 +399,7 @@ Following is the complete sample code in both C\# and Visual Basic.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
[Object Initializers: Named and Anonymous Types (Visual Basic .NET)](https://msdn.microsoft.com/library/bb385125.aspx)
diff --git a/docs/how-to-insert-text-into-a-cell-in-a-spreadsheet.md b/docs/how-to-insert-text-into-a-cell-in-a-spreadsheet.md
index f38d466b..975ca83a 100644
--- a/docs/how-to-insert-text-into-a-cell-in-a-spreadsheet.md
+++ b/docs/how-to-insert-text-into-a-cell-in-a-spreadsheet.md
@@ -762,7 +762,7 @@ The following is the complete sample code in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
[Language-Integrated Query (LINQ)](https://msdn.microsoft.com/library/bb397926.aspx)
diff --git a/docs/how-to-merge-two-adjacent-cells-in-a-spreadsheet.md b/docs/how-to-merge-two-adjacent-cells-in-a-spreadsheet.md
index 9aacd01b..2ddcef68 100644
--- a/docs/how-to-merge-two-adjacent-cells-in-a-spreadsheet.md
+++ b/docs/how-to-merge-two-adjacent-cells-in-a-spreadsheet.md
@@ -583,7 +583,7 @@ The following is the complete sample code in both C\# and Visual Basic.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
[Language-Integrated Query (LINQ)](https://msdn.microsoft.com/library/bb397926.aspx)
diff --git a/docs/how-to-move-a-paragraph-from-one-presentation-to-another.md b/docs/how-to-move-a-paragraph-from-one-presentation-to-another.md
index bd8bdfc3..086fe0fb 100644
--- a/docs/how-to-move-a-paragraph-from-one-presentation-to-another.md
+++ b/docs/how-to-move-a-paragraph-from-one-presentation-to-another.md
@@ -479,4 +479,4 @@ The following is the complete sample code in both C\# and Visual Basic.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-move-a-slide-to-a-new-position-in-a-presentation.md b/docs/how-to-move-a-slide-to-a-new-position-in-a-presentation.md
index 66d2cb9a..450dacaa 100644
--- a/docs/how-to-move-a-slide-to-a-new-position-in-a-presentation.md
+++ b/docs/how-to-move-a-slide-to-a-new-position-in-a-presentation.md
@@ -637,4 +637,4 @@ Following is the complete sample code in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-open-a-presentation-document-for-read-only-access.md b/docs/how-to-open-a-presentation-document-for-read-only-access.md
index 990aceff..978c0725 100644
--- a/docs/how-to-open-a-presentation-document-for-read-only-access.md
+++ b/docs/how-to-open-a-presentation-document-for-read-only-access.md
@@ -379,4 +379,4 @@ The following is the complete code listing in C\# and Visual Basic.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-open-a-spreadsheet-document-for-read-only-access.md b/docs/how-to-open-a-spreadsheet-document-for-read-only-access.md
index 3f20a4cc..e4894a80 100644
--- a/docs/how-to-open-a-spreadsheet-document-for-read-only-access.md
+++ b/docs/how-to-open-a-spreadsheet-document-for-read-only-access.md
@@ -302,4 +302,4 @@ The following is the complete sample code in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-open-a-spreadsheet-document-from-a-stream.md b/docs/how-to-open-a-spreadsheet-document-from-a-stream.md
index 0f2dde64..adfc76e9 100644
--- a/docs/how-to-open-a-spreadsheet-document-from-a-stream.md
+++ b/docs/how-to-open-a-spreadsheet-document-from-a-stream.md
@@ -280,4 +280,4 @@ The following is the complete sample code in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-open-a-word-processing-document-for-read-only-access.md b/docs/how-to-open-a-word-processing-document-for-read-only-access.md
index 1e190e49..34f0d295 100644
--- a/docs/how-to-open-a-word-processing-document-for-read-only-access.md
+++ b/docs/how-to-open-a-word-processing-document-for-read-only-access.md
@@ -359,4 +359,4 @@ The following is the complete sample code in C\# and VB.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-open-a-word-processing-document-from-a-stream.md b/docs/how-to-open-a-word-processing-document-from-a-stream.md
index 78745da4..757bdff5 100644
--- a/docs/how-to-open-a-word-processing-document-from-a-stream.md
+++ b/docs/how-to-open-a-word-processing-document-from-a-stream.md
@@ -233,4 +233,4 @@ Following is the complete sample code in both C\# and Visual Basic.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-open-and-add-text-to-a-word-processing-document.md b/docs/how-to-open-and-add-text-to-a-word-processing-document.md
index 744760d1..d837d6fc 100644
--- a/docs/how-to-open-and-add-text-to-a-word-processing-document.md
+++ b/docs/how-to-open-and-add-text-to-a-word-processing-document.md
@@ -222,4 +222,4 @@ of **OpenSettings**.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-parse-and-read-a-large-spreadsheet.md b/docs/how-to-parse-and-read-a-large-spreadsheet.md
index 070b5d72..55fdecf2 100644
--- a/docs/how-to-parse-and-read-a-large-spreadsheet.md
+++ b/docs/how-to-parse-and-read-a-large-spreadsheet.md
@@ -282,4 +282,4 @@ The following is the complete code sample in both C\# and Visual Basic.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-remove-a-document-part-from-a-package.md b/docs/how-to-remove-a-document-part-from-a-package.md
index 53d18b61..5d9beada 100644
--- a/docs/how-to-remove-a-document-part-from-a-package.md
+++ b/docs/how-to-remove-a-document-part-from-a-package.md
@@ -221,4 +221,4 @@ Following is the complete code example in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-remove-hidden-text-from-a-word-processing-document.md b/docs/how-to-remove-hidden-text-from-a-word-processing-document.md
index 685c10a6..23110df3 100644
--- a/docs/how-to-remove-hidden-text-from-a-word-processing-document.md
+++ b/docs/how-to-remove-hidden-text-from-a-word-processing-document.md
@@ -262,4 +262,4 @@ Following is the complete sample code in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-replace-the-theme-part-in-a-word-processing-document.md b/docs/how-to-replace-the-theme-part-in-a-word-processing-document.md
index ba720bf8..704b72cc 100644
--- a/docs/how-to-replace-the-theme-part-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-theme-part-in-a-word-processing-document.md
@@ -289,4 +289,4 @@ Following is the complete sample code in both C\# and Visual Basic.
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-retrieve-comments-from-a-word-processing-document.md b/docs/how-to-retrieve-comments-from-a-word-processing-document.md
index 73690597..08bcf404 100644
--- a/docs/how-to-retrieve-comments-from-a-word-processing-document.md
+++ b/docs/how-to-retrieve-comments-from-a-word-processing-document.md
@@ -238,4 +238,4 @@ The following is the complete sample code in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/how-to-search-and-replace-text-in-a-document-part.md b/docs/how-to-search-and-replace-text-in-a-document-part.md
index 230787d6..90205138 100644
--- a/docs/how-to-search-and-replace-text-in-a-document-part.md
+++ b/docs/how-to-search-and-replace-text-in-a-document-part.md
@@ -199,6 +199,6 @@ The following is the complete sample code in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
[Regular Expressions](https://msdn.microsoft.com/library/hs600312.aspx)
diff --git a/docs/how-to-set-the-font-for-a-text-run.md b/docs/how-to-set-the-font-for-a-text-run.md
index c99c0465..bb797b7a 100644
--- a/docs/how-to-set-the-font-for-a-text-run.md
+++ b/docs/how-to-set-the-font-for-a-text-run.md
@@ -269,7 +269,7 @@ The following is the complete sample code in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
[Object Initializers: Named and Anonymous Types](https://msdn.microsoft.com/library/bb385125.aspx)
diff --git a/docs/how-to-validate-a-word-processing-document.md b/docs/how-to-validate-a-word-processing-document.md
index 55fba7e3..670bc518 100644
--- a/docs/how-to-validate-a-word-processing-document.md
+++ b/docs/how-to-validate-a-word-processing-document.md
@@ -219,4 +219,4 @@ Following is the complete sample code in both C\# and Visual Basic.
## See also
-- [Open XML SDK 2.5 class library reference](https://docs.microsoft.com/office/open-xml/open-xml-sdk)
+- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
From 161b23a6f2a8005205b4b02250831476e12e3e5c Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Wed, 30 Jun 2021 11:53:38 -0700
Subject: [PATCH 016/275] Update
how-to-accept-all-revisions-in-a-word-processing-document.md
---
...revisions-in-a-word-processing-document.md | 20 +++++++------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/docs/how-to-accept-all-revisions-in-a-word-processing-document.md b/docs/how-to-accept-all-revisions-in-a-word-processing-document.md
index 90cd3ec7..73db3077 100644
--- a/docs/how-to-accept-all-revisions-in-a-word-processing-document.md
+++ b/docs/how-to-accept-all-revisions-in-a-word-processing-document.md
@@ -1,17 +1,16 @@
---
-
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
- schema
ms.assetid: b3406fcc-f10b-4075-a18f-116400f35faf
title: 'How to: Accept all revisions in a word processing document (Open XML SDK)'
+description: 'Learn how to accept all revisions in a word processing document using the Open XML SDK.'
ms.suite: office
-
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 06/30/2021
localization_priority: Priority
---
@@ -56,7 +55,6 @@ To open an existing document, you can instantiate the [WordprocessingDocument](h
The **using** statement provides a recommended alternative to the typical .Open, .Save, .Close sequence. It ensures that the **Dispose** method (internal method used by the Open XML SDK to clean up resources) is automatically called when the closing brace is reached. The block that follows the **using** statement establishes a scope for the object that is created or named in the **using** statement, in this case *wdDoc*. Because the **WordprocessingDocument** class in the Open XML SDK automatically saves and closes the object as part of its **System.IDisposable** implementation, and because **Dispose** is automatically called when you exit the block, you do not have to explicitly call **Save** and **Close** as long as you use **using**.
-
## Structure of a WordProcessingML Document
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."
@@ -89,15 +87,15 @@ When you accept a revision mark, you change the properties of a paragraph either
The following information from the [ISO/IEC 29500](https://www.iso.org/standard/71691.html) specification introduces the **ParagraphPropertiesChange** element (**pPrChange**).
-**pPrChange (Revision Information for Paragraph Properties)**
+### *pPrChange (Revision Information for Paragraph Properties)
This element specifies the details about a single revision to a set of paragraph properties in a WordprocessingML document.
This element stores this revision as follows:
-- The child element of this element contains the complete set of paragraph properties which were applied to this paragraph before this revision.
+- The child element of this element contains the complete set of paragraph properties which were applied to this paragraph before this revision.
-- The attributes of this element contain information about when this revision took place (in other words, when these properties became a "former" set of paragraph properties).
+- The attributes of this element contain information about when this revision took place (in other words, when these properties became a "former" set of paragraph properties).
Consider a paragraph in a WordprocessingML document which is centered, and this change in the paragraph properties is tracked as a revision. This revision would be specified using the following WordprocessingML markup.
@@ -114,13 +112,12 @@ The element specifies that there was a revision to the paragraph properties at 0
© ISO/IEC29500: 2008.
-
## Deleted Element
The following information from the [ISO/IEC 29500](https://www.iso.org/standard/71691.html) specification
introduces the Deleted element (**del**).
-**del (Deleted Paragraph)**
+### del (Deleted Paragraph)
This element specifies that the paragraph mark delimiting the end of a paragraph within a WordprocessingML document shall be treated as deleted (in other words, the contents of this paragraph are no longer delimited by this paragraph mark, and are combined with the following paragraph—but those contents shall not automatically be marked as deleted) as part of a tracked revision.
@@ -155,13 +152,12 @@ and this deletion was tracked as a revision.
© ISO/IEC29500: 2008.
-
## The Inserted Element
The following information from the [ISO/IEC 29500](https://www.iso.org/standard/71691.html) specification
introduces the Inserted element (**ins**).
-**ins (Inserted Table Row)**
+### ins (Inserted Table Row)
This element specifies that the parent table row shall be treated as an
inserted row whose insertion has been tracked as a revision. This
@@ -203,7 +199,6 @@ a revision.
© ISO/IEC29500: 2008.
-
## How the Sample Code Works
After you have opened the document in the using statement, you
@@ -513,4 +508,3 @@ The following is the complete sample code in both C\# and Visual Basic.
- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
- [Accepting Revisions in Open XML Word-Processing Documents](https://docs.microsoft.com/previous-versions/office/developer/office-2007/ee836138(v=office.12))
-
From 74d7584531be919a4b6355902edad66896da3f5e Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Wed, 30 Jun 2021 12:10:56 -0700
Subject: [PATCH 017/275] Update docfx.json
---
docs/docfx.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/docfx.json b/docs/docfx.json
index 5a3709b3..ffd5e406 100644
--- a/docs/docfx.json
+++ b/docs/docfx.json
@@ -40,7 +40,8 @@
"author": "o365devx",
"ms.topic": "conceptual",
"ms.prod": "office",
- "ms.technology": "open-xml"
+ "ms.technology": "open-xml",
+ "description": "Simplify tasks in Office Word, Excel, and PowerPoint using the Open XML SDK."
},
"fileMetadata": {
"langs": {
From 817b19297763f13ada87d73bb92b4a0e205f8d0a Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Wed, 30 Jun 2021 13:36:51 -0700
Subject: [PATCH 018/275] Update docfx.json
---
docs/docfx.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/docfx.json b/docs/docfx.json
index ffd5e406..7d5e9be1 100644
--- a/docs/docfx.json
+++ b/docs/docfx.json
@@ -41,7 +41,7 @@
"ms.topic": "conceptual",
"ms.prod": "office",
"ms.technology": "open-xml",
- "description": "Simplify tasks in Office Word, Excel, and PowerPoint using the Open XML SDK."
+ "description": "Use the Open XML SDK to programmatically create Office Word, Excel, and PowerPoint documents, and manipulate their content."
},
"fileMetadata": {
"langs": {
From 6952eb46994cdd20d1e8a42fc1326737f4289a73 Mon Sep 17 00:00:00 2001
From: lindexi
Date: Thu, 1 Jul 2021 08:48:34 +0800
Subject: [PATCH 019/275] Fix code
---
docs/working-with-animation.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/working-with-animation.md b/docs/working-with-animation.md
index a3607751..09a13092 100644
--- a/docs/working-with-animation.md
+++ b/docs/working-with-animation.md
@@ -173,9 +173,9 @@ element should be used as follows:
-
+
-
+
From 1446d7df648b817263f0b69560dca23257cfe891 Mon Sep 17 00:00:00 2001
From: Alex Jerabek <38896772+AlexJerabek@users.noreply.github.com>
Date: Thu, 16 Sep 2021 10:38:17 -0700
Subject: [PATCH 020/275] Updating the localization metadata values (#82)
---
docs/about-the-open-xml-sdk.md | 2 +-
docs/getting-started.md | 2 +-
docs/how-do-i.md | 2 +-
...how-to-accept-all-revisions-in-a-word-processing-document.md | 2 +-
docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md | 2 +-
...ocument-part-that-receives-a-relationship-id-to-a-package.md | 2 +-
docs/how-to-add-a-new-document-part-to-a-package.md | 2 +-
docs/how-to-add-custom-ui-to-a-spreadsheet-document.md | 2 +-
docs/how-to-add-tables-to-word-processing-documents.md | 2 +-
...pply-a-style-to-a-paragraph-in-a-word-processing-document.md | 2 +-
docs/how-to-apply-a-theme-to-a-presentation.md | 2 +-
...ate-the-sum-of-a-range-of-cells-in-a-spreadsheet-document.md | 2 +-
...w-to-change-text-in-a-table-in-a-word-processing-document.md | 2 +-
...how-to-change-the-fill-color-of-a-shape-in-a-presentation.md | 2 +-
...hange-the-print-orientation-of-a-word-processing-document.md | 2 +-
...processing-document-from-the-docm-to-the-docx-file-format.md | 2 +-
...s-of-an-open-xml-package-part-to-a-document-part-in-a-dif.md | 2 +-
docs/how-to-create-a-package.md | 2 +-
...o-create-a-presentation-document-by-providing-a-file-name.md | 2 +-
...to-create-a-spreadsheet-document-by-providing-a-file-name.md | 2 +-
...reate-a-word-processing-document-by-providing-a-file-name.md | 2 +-
...e-and-add-a-character-style-to-a-word-processing-document.md | 2 +-
...e-and-add-a-paragraph-style-to-a-word-processing-document.md | 2 +-
docs/how-to-delete-a-slide-from-a-presentation.md | 2 +-
...omments-by-an-author-from-all-the-slides-in-a-presentatio.md | 2 +-
...by-all-or-a-specific-author-in-a-word-processing-document.md | 2 +-
docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md | 2 +-
docs/how-to-extract-styles-from-a-word-processing-document.md | 2 +-
docs/how-to-get-a-column-heading-in-a-spreadsheet.md | 2 +-
.../how-to-get-all-the-external-hyperlinks-in-a-presentation.md | 2 +-
docs/how-to-get-all-the-text-in-a-slide-in-a-presentation.md | 2 +-
docs/how-to-get-all-the-text-in-all-slides-in-a-presentation.md | 2 +-
...how-to-get-the-contents-of-a-document-part-from-a-package.md | 2 +-
...how-to-get-the-titles-of-all-the-slides-in-a-presentation.md | 2 +-
docs/how-to-get-worksheet-information-from-a-package.md | 2 +-
docs/how-to-insert-a-chart-into-a-spreadsheet.md | 2 +-
docs/how-to-insert-a-comment-into-a-word-processing-document.md | 2 +-
docs/how-to-insert-a-new-slide-into-a-presentation.md | 2 +-
docs/how-to-insert-a-new-worksheet-into-a-spreadsheet.md | 2 +-
docs/how-to-insert-a-picture-into-a-word-processing-document.md | 2 +-
docs/how-to-insert-a-table-into-a-word-processing-document.md | 2 +-
docs/how-to-insert-text-into-a-cell-in-a-spreadsheet.md | 2 +-
docs/how-to-merge-two-adjacent-cells-in-a-spreadsheet.md | 2 +-
.../how-to-move-a-paragraph-from-one-presentation-to-another.md | 2 +-
docs/how-to-move-a-slide-to-a-new-position-in-a-presentation.md | 2 +-
.../how-to-open-a-presentation-document-for-read-only-access.md | 2 +-
docs/how-to-open-a-spreadsheet-document-for-read-only-access.md | 2 +-
docs/how-to-open-a-spreadsheet-document-from-a-stream.md | 2 +-
...w-to-open-a-word-processing-document-for-read-only-access.md | 2 +-
docs/how-to-open-a-word-processing-document-from-a-stream.md | 2 +-
docs/how-to-open-and-add-text-to-a-word-processing-document.md | 2 +-
docs/how-to-parse-and-read-a-large-spreadsheet.md | 2 +-
docs/how-to-remove-a-document-part-from-a-package.md | 2 +-
...how-to-remove-hidden-text-from-a-word-processing-document.md | 2 +-
...e-the-headers-and-footers-from-a-word-processing-document.md | 2 +-
docs/how-to-replace-the-header-in-a-word-processing-document.md | 2 +-
...to-replace-the-styles-parts-in-a-word-processing-document.md | 2 +-
...w-to-replace-the-theme-part-in-a-word-processing-document.md | 2 +-
...etrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md | 2 +-
...eve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md | 2 +-
...retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md | 2 +-
...how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md | 2 +-
...plication-property-values-from-a-word-processing-document.md | 2 +-
.../how-to-retrieve-comments-from-a-word-processing-document.md | 2 +-
...-retrieve-the-number-of-slides-in-a-presentation-document.md | 2 +-
docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md | 2 +-
docs/how-to-search-and-replace-text-in-a-document-part.md | 2 +-
...ow-to-set-a-custom-property-in-a-word-processing-document.md | 2 +-
docs/how-to-set-the-font-for-a-text-run.md | 2 +-
docs/how-to-validate-a-word-processing-document.md | 2 +-
docs/introduction-to-markup-compatibility.md | 2 +-
docs/open-xml-sdk-design-considerations.md | 2 +-
docs/open-xml-sdk.md | 2 +-
docs/packages-and-general.md | 2 +-
docs/presentations.md | 2 +-
docs/spreadsheets.md | 2 +-
docs/structure-of-a-presentationml-document.md | 2 +-
docs/structure-of-a-spreadsheetml-document.md | 2 +-
docs/structure-of-a-wordprocessingml-document.md | 2 +-
docs/understanding-the-open-xml-file-formats.md | 2 +-
docs/what-s-new-in-the-open-xml-sdk.md | 2 +-
docs/word-processing.md | 2 +-
docs/working-with-animation.md | 2 +-
docs/working-with-comments.md | 2 +-
docs/working-with-conditional-formatting.md | 2 +-
docs/working-with-formulas.md | 2 +-
docs/working-with-handout-master-slides.md | 2 +-
docs/working-with-notes-slides.md | 2 +-
docs/working-with-paragraphs.md | 2 +-
docs/working-with-pivottables.md | 2 +-
docs/working-with-presentation-slides.md | 2 +-
docs/working-with-presentationml-documents.md | 2 +-
docs/working-with-presentations.md | 2 +-
docs/working-with-runs.md | 2 +-
docs/working-with-sheets.md | 2 +-
docs/working-with-slide-layouts.md | 2 +-
docs/working-with-slide-masters.md | 2 +-
docs/working-with-spreadsheetml-documents.md | 2 +-
docs/working-with-tables.md | 2 +-
docs/working-with-the-calculation-chain.md | 2 +-
docs/working-with-the-shared-string-table.md | 2 +-
docs/working-with-wordprocessingml-documents.md | 2 +-
docs/working-with-wordprocessingml-tables.md | 2 +-
103 files changed, 103 insertions(+), 103 deletions(-)
diff --git a/docs/about-the-open-xml-sdk.md b/docs/about-the-open-xml-sdk.md
index d48d2fc3..900969d8 100644
--- a/docs/about-the-open-xml-sdk.md
+++ b/docs/about-the-open-xml-sdk.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# About the Open XML SDK 2.5 for Office
diff --git a/docs/getting-started.md b/docs/getting-started.md
index c2800020..837c26e6 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Getting started with the Open XML SDK 2.5 for Office
diff --git a/docs/how-do-i.md b/docs/how-do-i.md
index 5d4997c8..381b16fc 100644
--- a/docs/how-do-i.md
+++ b/docs/how-do-i.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# How do I... (Open XML SDK)
diff --git a/docs/how-to-accept-all-revisions-in-a-word-processing-document.md b/docs/how-to-accept-all-revisions-in-a-word-processing-document.md
index 73db3077..c432e2d4 100644
--- a/docs/how-to-accept-all-revisions-in-a-word-processing-document.md
+++ b/docs/how-to-accept-all-revisions-in-a-word-processing-document.md
@@ -11,7 +11,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/30/2021
-localization_priority: Priority
+ms.localizationpriority: high
---
# Accept all revisions in a word processing document (Open XML SDK)
diff --git a/docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md b/docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md
index c2c6b601..84889905 100644
--- a/docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md
+++ b/docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Add a comment to a slide in a presentation (Open XML SDK)
diff --git a/docs/how-to-add-a-new-document-part-that-receives-a-relationship-id-to-a-package.md b/docs/how-to-add-a-new-document-part-that-receives-a-relationship-id-to-a-package.md
index a2cae60a..82a366ea 100644
--- a/docs/how-to-add-a-new-document-part-that-receives-a-relationship-id-to-a-package.md
+++ b/docs/how-to-add-a-new-document-part-that-receives-a-relationship-id-to-a-package.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Add a new document part that receives a relationship ID to a package
diff --git a/docs/how-to-add-a-new-document-part-to-a-package.md b/docs/how-to-add-a-new-document-part-to-a-package.md
index 0edf0346..ae8ded2f 100644
--- a/docs/how-to-add-a-new-document-part-to-a-package.md
+++ b/docs/how-to-add-a-new-document-part-to-a-package.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Add a new document part to a package (Open XML SDK)
diff --git a/docs/how-to-add-custom-ui-to-a-spreadsheet-document.md b/docs/how-to-add-custom-ui-to-a-spreadsheet-document.md
index 723f20f8..af797c8b 100644
--- a/docs/how-to-add-custom-ui-to-a-spreadsheet-document.md
+++ b/docs/how-to-add-custom-ui-to-a-spreadsheet-document.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Add custom UI to a spreadsheet document (Open XML SDK)
diff --git a/docs/how-to-add-tables-to-word-processing-documents.md b/docs/how-to-add-tables-to-word-processing-documents.md
index 738b67bf..20d13df6 100644
--- a/docs/how-to-add-tables-to-word-processing-documents.md
+++ b/docs/how-to-add-tables-to-word-processing-documents.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Priority
+ms.localizationpriority: high
---
# Add tables to word processing documents (Open XML SDK)
diff --git a/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md b/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
index 38e52274..d2216b09 100644
--- a/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
+++ b/docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Priority
+ms.localizationpriority: high
---
# Apply a style to a paragraph in a word processing document
diff --git a/docs/how-to-apply-a-theme-to-a-presentation.md b/docs/how-to-apply-a-theme-to-a-presentation.md
index e9c7f814..42dd69b9 100644
--- a/docs/how-to-apply-a-theme-to-a-presentation.md
+++ b/docs/how-to-apply-a-theme-to-a-presentation.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Apply a theme to a presentation (Open XML SDK)
diff --git a/docs/how-to-calculate-the-sum-of-a-range-of-cells-in-a-spreadsheet-document.md b/docs/how-to-calculate-the-sum-of-a-range-of-cells-in-a-spreadsheet-document.md
index 245dc9e9..392cbf94 100644
--- a/docs/how-to-calculate-the-sum-of-a-range-of-cells-in-a-spreadsheet-document.md
+++ b/docs/how-to-calculate-the-sum-of-a-range-of-cells-in-a-spreadsheet-document.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Calculate the sum of a range of cells in a spreadsheet document
diff --git a/docs/how-to-change-text-in-a-table-in-a-word-processing-document.md b/docs/how-to-change-text-in-a-table-in-a-word-processing-document.md
index bad3eb33..a44c1b41 100644
--- a/docs/how-to-change-text-in-a-table-in-a-word-processing-document.md
+++ b/docs/how-to-change-text-in-a-table-in-a-word-processing-document.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Change text in a table in a word processing document (Open XML SDK)
diff --git a/docs/how-to-change-the-fill-color-of-a-shape-in-a-presentation.md b/docs/how-to-change-the-fill-color-of-a-shape-in-a-presentation.md
index f9d1e9b4..eff149d0 100644
--- a/docs/how-to-change-the-fill-color-of-a-shape-in-a-presentation.md
+++ b/docs/how-to-change-the-fill-color-of-a-shape-in-a-presentation.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Change the fill color of a shape in a presentation (Open XML SDK)
diff --git a/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md b/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
index 0c17eef3..a551c8ee 100644
--- a/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
+++ b/docs/how-to-change-the-print-orientation-of-a-word-processing-document.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Change the print orientation of a word processing document
diff --git a/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md b/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
index c9e47d26..f1bcee69 100644
--- a/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
+++ b/docs/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format.md
@@ -14,7 +14,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Priority
+ms.localizationpriority: high
---
# Convert a word processing document from the DOCM to the DOCX file format
diff --git a/docs/how-to-copy-the-contents-of-an-open-xml-package-part-to-a-document-part-in-a-dif.md b/docs/how-to-copy-the-contents-of-an-open-xml-package-part-to-a-document-part-in-a-dif.md
index 7d9be570..44fdbcf2 100644
--- a/docs/how-to-copy-the-contents-of-an-open-xml-package-part-to-a-document-part-in-a-dif.md
+++ b/docs/how-to-copy-the-contents-of-an-open-xml-package-part-to-a-document-part-in-a-dif.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Copy contents of an Open XML package part to a document part in a different package
diff --git a/docs/how-to-create-a-package.md b/docs/how-to-create-a-package.md
index a983d22b..eb32b632 100644
--- a/docs/how-to-create-a-package.md
+++ b/docs/how-to-create-a-package.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Create a package (Open XML SDK)
diff --git a/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md b/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
index 4ccbad48..324e2de2 100644
--- a/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
+++ b/docs/how-to-create-a-presentation-document-by-providing-a-file-name.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Priority
+ms.localizationpriority: high
---
# Create a presentation document by providing a file name (Open XML SDK)
diff --git a/docs/how-to-create-a-spreadsheet-document-by-providing-a-file-name.md b/docs/how-to-create-a-spreadsheet-document-by-providing-a-file-name.md
index 1afdf02a..a06913e4 100644
--- a/docs/how-to-create-a-spreadsheet-document-by-providing-a-file-name.md
+++ b/docs/how-to-create-a-spreadsheet-document-by-providing-a-file-name.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Create a spreadsheet document by providing a file name (Open XML SDK)
diff --git a/docs/how-to-create-a-word-processing-document-by-providing-a-file-name.md b/docs/how-to-create-a-word-processing-document-by-providing-a-file-name.md
index 3b88d58c..d072c004 100644
--- a/docs/how-to-create-a-word-processing-document-by-providing-a-file-name.md
+++ b/docs/how-to-create-a-word-processing-document-by-providing-a-file-name.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Create a word processing document by providing a file name
diff --git a/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md b/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
index e4707745..6818eb99 100644
--- a/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
+++ b/docs/how-to-create-and-add-a-character-style-to-a-word-processing-document.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Create and add a character style to a word processing document
diff --git a/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md b/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
index 39ff5291..98b0bd09 100644
--- a/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
+++ b/docs/how-to-create-and-add-a-paragraph-style-to-a-word-processing-document.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Priority
+ms.localizationpriority: high
---
# Create and add a paragraph style to a word processing document
diff --git a/docs/how-to-delete-a-slide-from-a-presentation.md b/docs/how-to-delete-a-slide-from-a-presentation.md
index 911d7289..09c840e5 100644
--- a/docs/how-to-delete-a-slide-from-a-presentation.md
+++ b/docs/how-to-delete-a-slide-from-a-presentation.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Delete a slide from a presentation (Open XML SDK)
diff --git a/docs/how-to-delete-all-the-comments-by-an-author-from-all-the-slides-in-a-presentatio.md b/docs/how-to-delete-all-the-comments-by-an-author-from-all-the-slides-in-a-presentatio.md
index 4d382e84..48e8fd4b 100644
--- a/docs/how-to-delete-all-the-comments-by-an-author-from-all-the-slides-in-a-presentatio.md
+++ b/docs/how-to-delete-all-the-comments-by-an-author-from-all-the-slides-in-a-presentatio.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Delete all the comments by an author from all the slides in a presentation
diff --git a/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md b/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
index fe63de04..30a8fbb9 100644
--- a/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
+++ b/docs/how-to-delete-comments-by-all-or-a-specific-author-in-a-word-processing-document.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Delete comments by all or a specific author in a word processing document (Open XML SDK)
diff --git a/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md b/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md
index bf7bccfd..e977f586 100644
--- a/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md
+++ b/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Delete text from a cell in a spreadsheet document (Open XML SDK)
diff --git a/docs/how-to-extract-styles-from-a-word-processing-document.md b/docs/how-to-extract-styles-from-a-word-processing-document.md
index 7214936b..000b1c86 100644
--- a/docs/how-to-extract-styles-from-a-word-processing-document.md
+++ b/docs/how-to-extract-styles-from-a-word-processing-document.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Extract styles from a word processing document (Open XML SDK)
diff --git a/docs/how-to-get-a-column-heading-in-a-spreadsheet.md b/docs/how-to-get-a-column-heading-in-a-spreadsheet.md
index 8bb02626..abee7a54 100644
--- a/docs/how-to-get-a-column-heading-in-a-spreadsheet.md
+++ b/docs/how-to-get-a-column-heading-in-a-spreadsheet.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Get a column heading in a spreadsheet document (Open XML SDK)
diff --git a/docs/how-to-get-all-the-external-hyperlinks-in-a-presentation.md b/docs/how-to-get-all-the-external-hyperlinks-in-a-presentation.md
index f113efde..c12d310e 100644
--- a/docs/how-to-get-all-the-external-hyperlinks-in-a-presentation.md
+++ b/docs/how-to-get-all-the-external-hyperlinks-in-a-presentation.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Get all the external hyperlinks in a presentation (Open XML SDK)
diff --git a/docs/how-to-get-all-the-text-in-a-slide-in-a-presentation.md b/docs/how-to-get-all-the-text-in-a-slide-in-a-presentation.md
index fd97fa54..26f0e72b 100644
--- a/docs/how-to-get-all-the-text-in-a-slide-in-a-presentation.md
+++ b/docs/how-to-get-all-the-text-in-a-slide-in-a-presentation.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Get all the text in a slide in a presentation (Open XML SDK)
diff --git a/docs/how-to-get-all-the-text-in-all-slides-in-a-presentation.md b/docs/how-to-get-all-the-text-in-all-slides-in-a-presentation.md
index 66044228..c6c38521 100644
--- a/docs/how-to-get-all-the-text-in-all-slides-in-a-presentation.md
+++ b/docs/how-to-get-all-the-text-in-all-slides-in-a-presentation.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Get all the text in all slides in a presentation (Open XML SDK)
diff --git a/docs/how-to-get-the-contents-of-a-document-part-from-a-package.md b/docs/how-to-get-the-contents-of-a-document-part-from-a-package.md
index 2584b3f9..a8e33617 100644
--- a/docs/how-to-get-the-contents-of-a-document-part-from-a-package.md
+++ b/docs/how-to-get-the-contents-of-a-document-part-from-a-package.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Get the contents of a document part from a package (Open XML SDK)
diff --git a/docs/how-to-get-the-titles-of-all-the-slides-in-a-presentation.md b/docs/how-to-get-the-titles-of-all-the-slides-in-a-presentation.md
index 931b08c7..56591774 100644
--- a/docs/how-to-get-the-titles-of-all-the-slides-in-a-presentation.md
+++ b/docs/how-to-get-the-titles-of-all-the-slides-in-a-presentation.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Get the titles of all the slides in a presentation (Open XML SDK)
diff --git a/docs/how-to-get-worksheet-information-from-a-package.md b/docs/how-to-get-worksheet-information-from-a-package.md
index 57fd744c..eb656264 100644
--- a/docs/how-to-get-worksheet-information-from-a-package.md
+++ b/docs/how-to-get-worksheet-information-from-a-package.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Get worksheet information from an Open XML package (Open XML SDK)
diff --git a/docs/how-to-insert-a-chart-into-a-spreadsheet.md b/docs/how-to-insert-a-chart-into-a-spreadsheet.md
index d7967055..22cce682 100644
--- a/docs/how-to-insert-a-chart-into-a-spreadsheet.md
+++ b/docs/how-to-insert-a-chart-into-a-spreadsheet.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Insert a chart into a spreadsheet document (Open XML SDK)
diff --git a/docs/how-to-insert-a-comment-into-a-word-processing-document.md b/docs/how-to-insert-a-comment-into-a-word-processing-document.md
index be263dca..a3b2db19 100644
--- a/docs/how-to-insert-a-comment-into-a-word-processing-document.md
+++ b/docs/how-to-insert-a-comment-into-a-word-processing-document.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Insert a comment into a word processing document (Open XML SDK)
diff --git a/docs/how-to-insert-a-new-slide-into-a-presentation.md b/docs/how-to-insert-a-new-slide-into-a-presentation.md
index 0af62515..dc7a79d1 100644
--- a/docs/how-to-insert-a-new-slide-into-a-presentation.md
+++ b/docs/how-to-insert-a-new-slide-into-a-presentation.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Insert a new slide into a presentation (Open XML SDK)
diff --git a/docs/how-to-insert-a-new-worksheet-into-a-spreadsheet.md b/docs/how-to-insert-a-new-worksheet-into-a-spreadsheet.md
index 5b5ca9c3..fe1d8448 100644
--- a/docs/how-to-insert-a-new-worksheet-into-a-spreadsheet.md
+++ b/docs/how-to-insert-a-new-worksheet-into-a-spreadsheet.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Insert a new worksheet into a spreadsheet document (Open XML SDK)
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 fbec2c5b..9bd4aaad 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
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Priority
+ms.localizationpriority: high
---
# Insert a picture into a word processing document (Open XML SDK)
diff --git a/docs/how-to-insert-a-table-into-a-word-processing-document.md b/docs/how-to-insert-a-table-into-a-word-processing-document.md
index 34c599e4..1a84e776 100644
--- a/docs/how-to-insert-a-table-into-a-word-processing-document.md
+++ b/docs/how-to-insert-a-table-into-a-word-processing-document.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Insert a table into a word processing document (Open XML SDK)
diff --git a/docs/how-to-insert-text-into-a-cell-in-a-spreadsheet.md b/docs/how-to-insert-text-into-a-cell-in-a-spreadsheet.md
index 975ca83a..ee0ab4d8 100644
--- a/docs/how-to-insert-text-into-a-cell-in-a-spreadsheet.md
+++ b/docs/how-to-insert-text-into-a-cell-in-a-spreadsheet.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Insert text into a cell in a spreadsheet document (Open XML SDK)
diff --git a/docs/how-to-merge-two-adjacent-cells-in-a-spreadsheet.md b/docs/how-to-merge-two-adjacent-cells-in-a-spreadsheet.md
index 2ddcef68..c597c52f 100644
--- a/docs/how-to-merge-two-adjacent-cells-in-a-spreadsheet.md
+++ b/docs/how-to-merge-two-adjacent-cells-in-a-spreadsheet.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Merge two adjacent cells in a spreadsheet document (Open XML SDK)
diff --git a/docs/how-to-move-a-paragraph-from-one-presentation-to-another.md b/docs/how-to-move-a-paragraph-from-one-presentation-to-another.md
index 086fe0fb..0f875012 100644
--- a/docs/how-to-move-a-paragraph-from-one-presentation-to-another.md
+++ b/docs/how-to-move-a-paragraph-from-one-presentation-to-another.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Move a paragraph from one presentation to another (Open XML SDK)
diff --git a/docs/how-to-move-a-slide-to-a-new-position-in-a-presentation.md b/docs/how-to-move-a-slide-to-a-new-position-in-a-presentation.md
index 450dacaa..bebe33bb 100644
--- a/docs/how-to-move-a-slide-to-a-new-position-in-a-presentation.md
+++ b/docs/how-to-move-a-slide-to-a-new-position-in-a-presentation.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Move a slide to a new position in a presentation (Open XML SDK)
diff --git a/docs/how-to-open-a-presentation-document-for-read-only-access.md b/docs/how-to-open-a-presentation-document-for-read-only-access.md
index 978c0725..68994fc8 100644
--- a/docs/how-to-open-a-presentation-document-for-read-only-access.md
+++ b/docs/how-to-open-a-presentation-document-for-read-only-access.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Open a presentation document for read-only access (Open XML SDK)
diff --git a/docs/how-to-open-a-spreadsheet-document-for-read-only-access.md b/docs/how-to-open-a-spreadsheet-document-for-read-only-access.md
index e4894a80..c5f23af6 100644
--- a/docs/how-to-open-a-spreadsheet-document-for-read-only-access.md
+++ b/docs/how-to-open-a-spreadsheet-document-for-read-only-access.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Open a spreadsheet document for read-only access (Open XML SDK)
diff --git a/docs/how-to-open-a-spreadsheet-document-from-a-stream.md b/docs/how-to-open-a-spreadsheet-document-from-a-stream.md
index adfc76e9..4c6a0c44 100644
--- a/docs/how-to-open-a-spreadsheet-document-from-a-stream.md
+++ b/docs/how-to-open-a-spreadsheet-document-from-a-stream.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Open a spreadsheet document from a stream (Open XML SDK)
diff --git a/docs/how-to-open-a-word-processing-document-for-read-only-access.md b/docs/how-to-open-a-word-processing-document-for-read-only-access.md
index 34f0d295..1dd1d97f 100644
--- a/docs/how-to-open-a-word-processing-document-for-read-only-access.md
+++ b/docs/how-to-open-a-word-processing-document-for-read-only-access.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Open a word processing document for read-only access (Open XML SDK)
diff --git a/docs/how-to-open-a-word-processing-document-from-a-stream.md b/docs/how-to-open-a-word-processing-document-from-a-stream.md
index 757bdff5..7f887ec0 100644
--- a/docs/how-to-open-a-word-processing-document-from-a-stream.md
+++ b/docs/how-to-open-a-word-processing-document-from-a-stream.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Open a word processing document from a stream (Open XML SDK)
diff --git a/docs/how-to-open-and-add-text-to-a-word-processing-document.md b/docs/how-to-open-and-add-text-to-a-word-processing-document.md
index d837d6fc..a26f735b 100644
--- a/docs/how-to-open-and-add-text-to-a-word-processing-document.md
+++ b/docs/how-to-open-and-add-text-to-a-word-processing-document.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Open and add text to a word processing document (Open XML SDK)
diff --git a/docs/how-to-parse-and-read-a-large-spreadsheet.md b/docs/how-to-parse-and-read-a-large-spreadsheet.md
index 55fdecf2..c3129d5d 100644
--- a/docs/how-to-parse-and-read-a-large-spreadsheet.md
+++ b/docs/how-to-parse-and-read-a-large-spreadsheet.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Parse and read a large spreadsheet document (Open XML SDK)
diff --git a/docs/how-to-remove-a-document-part-from-a-package.md b/docs/how-to-remove-a-document-part-from-a-package.md
index 5d9beada..bc7dba08 100644
--- a/docs/how-to-remove-a-document-part-from-a-package.md
+++ b/docs/how-to-remove-a-document-part-from-a-package.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Remove a document part from a package (Open XML SDK)
diff --git a/docs/how-to-remove-hidden-text-from-a-word-processing-document.md b/docs/how-to-remove-hidden-text-from-a-word-processing-document.md
index 23110df3..cfc28b38 100644
--- a/docs/how-to-remove-hidden-text-from-a-word-processing-document.md
+++ b/docs/how-to-remove-hidden-text-from-a-word-processing-document.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Remove hidden text from a word processing document (Open XML SDK)
diff --git a/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md b/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
index 33dbf700..d28fed36 100644
--- a/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
+++ b/docs/how-to-remove-the-headers-and-footers-from-a-word-processing-document.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Remove the headers and footers from a word processing document (Open XML SDK)
diff --git a/docs/how-to-replace-the-header-in-a-word-processing-document.md b/docs/how-to-replace-the-header-in-a-word-processing-document.md
index b429abed..caf2a09f 100644
--- a/docs/how-to-replace-the-header-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-header-in-a-word-processing-document.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Priority
+ms.localizationpriority: high
---
# Replace the header in a word processing document (Open XML SDK)
diff --git a/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md b/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
index c057c32b..39c0b527 100644
--- a/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-styles-parts-in-a-word-processing-document.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Replace the styles parts in a word processing document (Open XML SDK)
diff --git a/docs/how-to-replace-the-theme-part-in-a-word-processing-document.md b/docs/how-to-replace-the-theme-part-in-a-word-processing-document.md
index 704b72cc..19d337c6 100644
--- a/docs/how-to-replace-the-theme-part-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-theme-part-in-a-word-processing-document.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Replace the theme part in a word processing document (Open XML SDK)
diff --git a/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md b/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
index 2aab1dde..2caaec39 100644
--- a/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-dictionary-of-all-named-ranges-in-a-spreadsheet.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Retrieve a dictionary of all named ranges in a spreadsheet document (Open XML SDK)
diff --git a/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
index 882feccb..63ac2bee 100644
--- a/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-hidden-rows-or-columns-in-a-spreadsheet.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Priority
+ms.localizationpriority: high
---
# Retrieve a list of the hidden rows or columns in a spreadsheet document (Open XML SDK)
diff --git a/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
index 5d7bb306..faf2a2b6 100644
--- a/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-hidden-worksheets-in-a-spreadsheet.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Retrieve a list of the hidden worksheets in a spreadsheet document (Open XML SDK)
diff --git a/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md b/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
index 5f84bc68..d8cce05e 100644
--- a/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-a-list-of-the-worksheets-in-a-spreadsheet.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Priority
+ms.localizationpriority: high
---
# Retrieve a list of the worksheets in a spreadsheet document (Open XML SDK)
diff --git a/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md b/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
index 2de3097a..a398ce08 100644
--- a/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
+++ b/docs/how-to-retrieve-application-property-values-from-a-word-processing-document.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Retrieve application property values from a word processing document (Open XML SDK)
diff --git a/docs/how-to-retrieve-comments-from-a-word-processing-document.md b/docs/how-to-retrieve-comments-from-a-word-processing-document.md
index 08bcf404..d8d4e791 100644
--- a/docs/how-to-retrieve-comments-from-a-word-processing-document.md
+++ b/docs/how-to-retrieve-comments-from-a-word-processing-document.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Retrieve comments from a word processing document (Open XML SDK)
diff --git a/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md b/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
index f009b9e7..6e70a0d3 100644
--- a/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
+++ b/docs/how-to-retrieve-the-number-of-slides-in-a-presentation-document.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Retrieve the number of slides in a presentation document (Open XML SDK)
diff --git a/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md b/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
index 70b9c67a..95e8722e 100644
--- a/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
+++ b/docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Priority
+ms.localizationpriority: high
---
# Retrieve the values of cells in a spreadsheet document (Open XML SDK)
diff --git a/docs/how-to-search-and-replace-text-in-a-document-part.md b/docs/how-to-search-and-replace-text-in-a-document-part.md
index 90205138..735708db 100644
--- a/docs/how-to-search-and-replace-text-in-a-document-part.md
+++ b/docs/how-to-search-and-replace-text-in-a-document-part.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Search and replace text in a document part (Open XML SDK)
diff --git a/docs/how-to-set-a-custom-property-in-a-word-processing-document.md b/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
index 8e6dfbb0..732acfb1 100644
--- a/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
+++ b/docs/how-to-set-a-custom-property-in-a-word-processing-document.md
@@ -13,7 +13,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Priority
+ms.localizationpriority: high
---
# Set a custom property in a word processing document (Open XML SDK)
diff --git a/docs/how-to-set-the-font-for-a-text-run.md b/docs/how-to-set-the-font-for-a-text-run.md
index bb797b7a..48ad5117 100644
--- a/docs/how-to-set-the-font-for-a-text-run.md
+++ b/docs/how-to-set-the-font-for-a-text-run.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Set the font for a text run (Open XML SDK)
diff --git a/docs/how-to-validate-a-word-processing-document.md b/docs/how-to-validate-a-word-processing-document.md
index 670bc518..bc9b3649 100644
--- a/docs/how-to-validate-a-word-processing-document.md
+++ b/docs/how-to-validate-a-word-processing-document.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Validate a word processing document (Open XML SDK)
diff --git a/docs/introduction-to-markup-compatibility.md b/docs/introduction-to-markup-compatibility.md
index c6a1b83b..fbfd8eeb 100644
--- a/docs/introduction-to-markup-compatibility.md
+++ b/docs/introduction-to-markup-compatibility.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Introduction to markup compatibility (Open XML SDK)
diff --git a/docs/open-xml-sdk-design-considerations.md b/docs/open-xml-sdk-design-considerations.md
index 501ed6bb..585f9a87 100644
--- a/docs/open-xml-sdk-design-considerations.md
+++ b/docs/open-xml-sdk-design-considerations.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Open XML SDK 2.5 for Office design considerations
diff --git a/docs/open-xml-sdk.md b/docs/open-xml-sdk.md
index 2198b751..93cba930 100644
--- a/docs/open-xml-sdk.md
+++ b/docs/open-xml-sdk.md
@@ -16,7 +16,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 06/28/2021
-localization_priority: Priority
+ms.localizationpriority: high
---
# Welcome to the Open XML SDK 2.5 for Office
diff --git a/docs/packages-and-general.md b/docs/packages-and-general.md
index 3cb36d38..33dc1085 100644
--- a/docs/packages-and-general.md
+++ b/docs/packages-and-general.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Packages and general (Open XML SDK)
diff --git a/docs/presentations.md b/docs/presentations.md
index 014c2145..8d8d79de 100644
--- a/docs/presentations.md
+++ b/docs/presentations.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Presentations (Open XML SDK)
diff --git a/docs/spreadsheets.md b/docs/spreadsheets.md
index c3aabab4..2939828c 100644
--- a/docs/spreadsheets.md
+++ b/docs/spreadsheets.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Spreadsheets (Open XML SDK)
diff --git a/docs/structure-of-a-presentationml-document.md b/docs/structure-of-a-presentationml-document.md
index 8318e308..70927cfc 100644
--- a/docs/structure-of-a-presentationml-document.md
+++ b/docs/structure-of-a-presentationml-document.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Structure of a PresentationML document (Open XML SDK)
diff --git a/docs/structure-of-a-spreadsheetml-document.md b/docs/structure-of-a-spreadsheetml-document.md
index 57422020..9631b6a5 100644
--- a/docs/structure-of-a-spreadsheetml-document.md
+++ b/docs/structure-of-a-spreadsheetml-document.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Structure of a SpreadsheetML document (Open XML SDK)
diff --git a/docs/structure-of-a-wordprocessingml-document.md b/docs/structure-of-a-wordprocessingml-document.md
index 89305617..76a4b112 100644
--- a/docs/structure-of-a-wordprocessingml-document.md
+++ b/docs/structure-of-a-wordprocessingml-document.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Structure of a WordprocessingML document (Open XML SDK)
diff --git a/docs/understanding-the-open-xml-file-formats.md b/docs/understanding-the-open-xml-file-formats.md
index b4b8bf86..5d0facbf 100644
--- a/docs/understanding-the-open-xml-file-formats.md
+++ b/docs/understanding-the-open-xml-file-formats.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Understanding the Open XML file formats
diff --git a/docs/what-s-new-in-the-open-xml-sdk.md b/docs/what-s-new-in-the-open-xml-sdk.md
index 78dfa90f..3a747e49 100644
--- a/docs/what-s-new-in-the-open-xml-sdk.md
+++ b/docs/what-s-new-in-the-open-xml-sdk.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# What's new in the Open XML SDK 2.5 for Office
diff --git a/docs/word-processing.md b/docs/word-processing.md
index d0154cd4..2a7c9fed 100644
--- a/docs/word-processing.md
+++ b/docs/word-processing.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Word processing (Open XML SDK)
diff --git a/docs/working-with-animation.md b/docs/working-with-animation.md
index a3607751..eff6f8b9 100644
--- a/docs/working-with-animation.md
+++ b/docs/working-with-animation.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Working with animation (Open XML SDK)
diff --git a/docs/working-with-comments.md b/docs/working-with-comments.md
index 883b6e7b..7c3defe3 100644
--- a/docs/working-with-comments.md
+++ b/docs/working-with-comments.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Working with comments (Open XML SDK)
diff --git a/docs/working-with-conditional-formatting.md b/docs/working-with-conditional-formatting.md
index a6dcfe5b..de59d895 100644
--- a/docs/working-with-conditional-formatting.md
+++ b/docs/working-with-conditional-formatting.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Working with conditional formatting (Open XML SDK)
diff --git a/docs/working-with-formulas.md b/docs/working-with-formulas.md
index 3cc45d15..93e8991e 100644
--- a/docs/working-with-formulas.md
+++ b/docs/working-with-formulas.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Working with formulas (Open XML SDK)
diff --git a/docs/working-with-handout-master-slides.md b/docs/working-with-handout-master-slides.md
index b23666ea..533b089c 100644
--- a/docs/working-with-handout-master-slides.md
+++ b/docs/working-with-handout-master-slides.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Working with handout master slides (Open XML SDK)
diff --git a/docs/working-with-notes-slides.md b/docs/working-with-notes-slides.md
index bee2ff0b..771ea295 100644
--- a/docs/working-with-notes-slides.md
+++ b/docs/working-with-notes-slides.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Working with notes slides (Open XML SDK)
diff --git a/docs/working-with-paragraphs.md b/docs/working-with-paragraphs.md
index 6761d56e..111e8e48 100644
--- a/docs/working-with-paragraphs.md
+++ b/docs/working-with-paragraphs.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Working with paragraphs (Open XML SDK)
diff --git a/docs/working-with-pivottables.md b/docs/working-with-pivottables.md
index a1e8ef5e..b0b2ad04 100644
--- a/docs/working-with-pivottables.md
+++ b/docs/working-with-pivottables.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Working with PivotTables (Open XML SDK)
diff --git a/docs/working-with-presentation-slides.md b/docs/working-with-presentation-slides.md
index 0b7236b3..56d766d4 100644
--- a/docs/working-with-presentation-slides.md
+++ b/docs/working-with-presentation-slides.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Working with presentation slides (Open XML SDK)
diff --git a/docs/working-with-presentationml-documents.md b/docs/working-with-presentationml-documents.md
index 252aabf9..549ca423 100644
--- a/docs/working-with-presentationml-documents.md
+++ b/docs/working-with-presentationml-documents.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Working with PresentationML documents (Open XML SDK)
diff --git a/docs/working-with-presentations.md b/docs/working-with-presentations.md
index 5c9e9630..279aaffc 100644
--- a/docs/working-with-presentations.md
+++ b/docs/working-with-presentations.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Working with presentations (Open XML SDK)
diff --git a/docs/working-with-runs.md b/docs/working-with-runs.md
index 909df2b7..1f4f0e62 100644
--- a/docs/working-with-runs.md
+++ b/docs/working-with-runs.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Working with runs (Open XML SDK)
diff --git a/docs/working-with-sheets.md b/docs/working-with-sheets.md
index 27bb6d21..b0646233 100644
--- a/docs/working-with-sheets.md
+++ b/docs/working-with-sheets.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Working with sheets (Open XML SDK)
diff --git a/docs/working-with-slide-layouts.md b/docs/working-with-slide-layouts.md
index fb066574..ada52860 100644
--- a/docs/working-with-slide-layouts.md
+++ b/docs/working-with-slide-layouts.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Working with slide layouts (Open XML SDK)
diff --git a/docs/working-with-slide-masters.md b/docs/working-with-slide-masters.md
index a28fa52e..44cab4f9 100644
--- a/docs/working-with-slide-masters.md
+++ b/docs/working-with-slide-masters.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Normal
+ms.localizationpriority: medium
---
# Working with slide masters (Open XML SDK)
diff --git a/docs/working-with-spreadsheetml-documents.md b/docs/working-with-spreadsheetml-documents.md
index 28f21af0..30001240 100644
--- a/docs/working-with-spreadsheetml-documents.md
+++ b/docs/working-with-spreadsheetml-documents.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Working with SpreadsheetML documents (Open XML SDK)
diff --git a/docs/working-with-tables.md b/docs/working-with-tables.md
index 5997c581..d0e25e7a 100644
--- a/docs/working-with-tables.md
+++ b/docs/working-with-tables.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Working with SpreadsheetML tables (Open XML SDK)
diff --git a/docs/working-with-the-calculation-chain.md b/docs/working-with-the-calculation-chain.md
index 0f761dbd..8eb2f549 100644
--- a/docs/working-with-the-calculation-chain.md
+++ b/docs/working-with-the-calculation-chain.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Working with the calculation chain (Open XML SDK)
diff --git a/docs/working-with-the-shared-string-table.md b/docs/working-with-the-shared-string-table.md
index 01a66bee..cd88ae81 100644
--- a/docs/working-with-the-shared-string-table.md
+++ b/docs/working-with-the-shared-string-table.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Working with the shared string table (Open XML SDK)
diff --git a/docs/working-with-wordprocessingml-documents.md b/docs/working-with-wordprocessingml-documents.md
index 5eac5421..35ed6cb0 100644
--- a/docs/working-with-wordprocessingml-documents.md
+++ b/docs/working-with-wordprocessingml-documents.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Working with WordprocessingML documents (Open XML SDK)
diff --git a/docs/working-with-wordprocessingml-tables.md b/docs/working-with-wordprocessingml-tables.md
index 85e1460b..c535d57f 100644
--- a/docs/working-with-wordprocessingml-tables.md
+++ b/docs/working-with-wordprocessingml-tables.md
@@ -12,7 +12,7 @@ ms.author: o365devx
author: o365devx
ms.topic: conceptual
ms.date: 11/01/2017
-localization_priority: Priority
+ms.localizationpriority: high
---
# Working with WordprocessingML tables (Open XML SDK)
From dbd3156c1e7f2986018db3f0870f0eee720338d4 Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Thu, 16 Sep 2021 11:28:56 -0700
Subject: [PATCH 021/275] Update
how-to-get-worksheet-information-from-a-package.md
---
...et-worksheet-information-from-a-package.md | 93 ++++---------------
1 file changed, 19 insertions(+), 74 deletions(-)
diff --git a/docs/how-to-get-worksheet-information-from-a-package.md b/docs/how-to-get-worksheet-information-from-a-package.md
index eb656264..dbdda384 100644
--- a/docs/how-to-get-worksheet-information-from-a-package.md
+++ b/docs/how-to-get-worksheet-information-from-a-package.md
@@ -1,5 +1,4 @@
---
-
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +6,6 @@ api_type:
ms.assetid: 124cb0a0-cc47-433f-bad0-06b793890650
title: 'How to: Get worksheet information from an Open XML package (Open XML SDK)'
ms.suite: office
-
ms.author: o365devx
author: o365devx
ms.topic: conceptual
@@ -16,12 +14,9 @@ ms.localizationpriority: high
---
# Get worksheet information from an Open XML package (Open XML SDK)
-This topic shows how to use the classes in the Open XML SDK 2.5 for
-Office to programmatically retrieve information from a worksheet in a
-Spreadsheet document.
+This topic shows how to use the classes in the Open XML SDK 2.5 for Office to programmatically retrieve information from a worksheet in a Spreadsheet document.
-The following assembly directives are required to compile the code in
-this topic.
+The following assembly directives are required to compile the code in this topic.
```csharp
using System;
@@ -41,25 +36,11 @@ this topic.
## Create SpreadsheetDocument Object
-In the Open XML SDK, the SpreadsheetDocument****** class represents an
-Excel document package. To create an Excel document, you create an
-instance of the **SpreadsheetDocument** class
-and populate it with parts. At a minimum, the document must have a
-workbook part that serves as a container for the document, and at least
-one worksheet part. The text is represented in the package as XML using
-**SpreadsheetML** markup.
-
-To create the class instance from the document you call one of the **Open()**** methods. In this example, you must
-open the file for read access only. Therefore, you can use the **Open(String, Boolean)**** method, and set the
-Boolean parameter to **false**.
-
-The following code example calls the **Open**
-method to open the file specified by the **filepath** for read-only access.
+In the Open XML SDK, the **[SpreadsheetDocument](/dotnet/api/documentformat.openxml.packaging.spreadsheetdocument.md)** class represents an Excel document package. To create an Excel document, you create an instance of the **SpreadsheetDocument** class and populate it with parts. At a minimum, the document must have a workbook part that serves as a container for the document, and at least one worksheet part. The text is represented in the package as XML using **SpreadsheetML** markup.
+
+To create the class instance from the document you call one of the **[Open](/dotnet/api/documentformat.openxml.packaging.spreadsheetdocument.open.md)** methods. In this example, you must open the file for read access only. Therefore, you can use the **[Open(String, Boolean)](https://docs.microsoft.com/dotnet/api/documentformat.openxml.packaging.spreadsheetdocument.open?view=openxml-2.8.1#DocumentFormat_OpenXml_Packaging_SpreadsheetDocument_Open_System_String_System_Boolean_)** method, and set the Boolean parameter to **false**.
+
+The following code example calls the **Open** method to open the file specified by the **filepath** for read-only access.
```csharp
// Open file as read-only.
@@ -71,25 +52,13 @@ method to open the file specified by the **filepath** for read-only access.
Using mySpreadsheet As SpreadsheetDocument = SpreadsheetDocument.Open(fileName, False)
```
-The **using** statement provides a recommended
-alternative to the typical .Open, .Save, .Close sequence. It ensures
-that the **Dispose** method (internal method
-used by the Open XML SDK to clean up resources) is automatically called
-when the closing brace is reached. The block that follows the **using** statement establishes a scope for the
-object that is created or named in the **using** statement, in this case **mySpreadsheet**.
-
+The **using** statement provides a recommended alternative to the typical .Open, .Save, .Close sequence. It ensures that the **Dispose** method (internal method used by the Open XML SDK to clean up resources) is automatically called when the closing brace is reached. The block that follows the **using** statement establishes a scope for the object that is created or named in the **using** statement, in this case **mySpreadsheet**.
## Basic Structure of a SpreadsheetML
-The basic document structure of a **SpreadsheetML** document consists of the **Sheets**** and **Sheet**** elements, which reference the
-worksheets in the **Workbook**. A separate XML file is created
-for each Worksheet*. For example, the *SpreadsheetML for a workbook that has two
-worksheets name MySheet1 and MySheet2 is located in the Workbook.xml
-file and is shown in the following code example.
+The basic document structure of a **SpreadsheetML** document consists of the **[Sheets](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.sheets?view=openxml-2.8.1)** and **[Sheet](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.sheet?view=openxml-2.8.1)** elements, which reference the
+worksheets in the **[Workbook](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.workbook?view=openxml-2.8.1)**. A separate XML file is created
+for each **[Worksheet](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.worksheet?view=openxml-2.8.1)**. For example, the **SpreadsheetML** for a workbook that has two worksheets name MySheet1 and MySheet2 is located in the Workbook.xml file and is shown in the following code example.
```xml
@@ -101,17 +70,7 @@ file and is shown in the following code example.
```
-The worksheet XML files contain one or more block level elements such as
-**SheetData**. **sheetData represents the cell table and contains
-one or more **Row**** elements. A **row** contains one or more **Cell**** elements. Each cell contains a **CellValue**** element that represents the value
-of the cell. For example, the SpreadsheetML for the first worksheet in a
-workbook, that only has the value 100 in cell A1, is located in the
-Sheet1.xml file and is shown in the following code example.
+The worksheet XML files contain one or more block level elements such as **SheetData**. **[SheetData](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.sheetdata?view=openxml-2.8.1)** represents the cell table and contains one or more **[Row](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.row?view=openxml-2.8.1)** elements. A **row** contains one or more **[Cell](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.cell?view=openxml-2.8.1)** elements. Each cell contains a **[CellValue](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.cellvalue?view=openxml-2.8.1)** element that represents the value of the cell. For example, the SpreadsheetML for the first worksheet in a workbook, that only has the value 100 in cell A1, is located in the Sheet1.xml file and is shown in the following code example.
```xml
@@ -126,11 +85,8 @@ Sheet1.xml file and is shown in the following code example.
```
-Using the Open XML SDK 2.5, you can create document structure and
-content that uses strongly-typed classes that correspond to **SpreadsheetML** elements. You can find these
-classes in the **DocumentFormat.OpenXML.Spreadsheet** namespace. The
-following table lists the class names of the classes that correspond to
-the **workbook**, **sheets**, **sheet**, **worksheet**, and **sheetData** elements.
+Using the Open XML SDK 2.5, you can create document structure and content that uses strongly-typed classes that correspond to **SpreadsheetML** elements. You can find these
+classes in the **DocumentFormat.OpenXML.Spreadsheet** namespace. The following table lists the class names of the classes that correspond to the **workbook**, **sheets**, **sheet**, **worksheet**, and **sheetData** elements.
| SpreadsheetML Element | Open XML SDK 2.5 Class | Description |
|---|---|---|
@@ -146,9 +102,7 @@ the **workbook**, **sheets**, **sheet**, **worksheet**, and **sheetData** elemen
## How the Sample Code Works
-After you have opened the file for read-only access, you instantiate the
-**Sheets**** class.
+After you have opened the file for read-only access, you instantiate the **Sheets** class.
```csharp
S sheets = mySpreadsheet.WorkbookPart.Workbook.Sheets;
@@ -158,10 +112,7 @@ target="P:DocumentFormat.OpenXml.Spreadsheet.Workbook.Sheets">**Sheets**** class
Dim sheets As S = mySpreadsheet.WorkbookPart.Workbook.Sheets
```
-You then you iterate through the **Sheets**
-collection and display **OpenXmlElement**** and the **OpenXmlAttribute**** in each element.
+You then you iterate through the **Sheets** collection and display **[OpenXmlElement](https://docs.microsoft.com/dotnet/api/documentformat.openxml.openxmlelement?view=openxml-2.8.1)** and the **[OpenXmlAttribute](https://docs.microsoft.com/dotnet/api/documentformat.openxml.openxmlattribute?view=openxml-2.8.1)** in each element.
```csharp
foreach (E sheet in sheets)
@@ -181,16 +132,12 @@ target="T:DocumentFormat.OpenXml.OpenXmlAttribute">**OpenXmlAttribute**** in eac
Next
```
-By displaying the attribute information you get the name and ID for each
-worksheet in the spreadsheet file.
+By displaying the attribute information you get the name and ID for each worksheet in the spreadsheet file.
## Sample Code
-In the following code example, you retrieve and display the attributes
-of the all sheets in the specified workbook contained in a **SpreadsheetDocument** document. The following code
-example shows how to call the **GetSheetInfo**
-method.
+In the following code example, you retrieve and display the attributes of the all sheets in the specified workbook contained in a **SpreadsheetDocument** document. The following code example shows how to call the **GetSheetInfo** method.
```csharp
GetSheetInfo(@"C:\Users\Public\Documents\Sheet5.xlsx");
@@ -240,7 +187,5 @@ The following is the complete code sample in both C\# and Visual Basic.
## See also
-
-
[Open XML SDK 2.5 class library
-reference](https://msdn.microsoft.com/library/36c8a76e-ce1b-5959-7e85-5d77db7f46d6(Office.15).aspx)
+reference](/office/open-xml/open-xml-sdk.md)
From a0606e807b54f04be40f8533b26d0b46356e15ba Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Thu, 16 Sep 2021 11:30:24 -0700
Subject: [PATCH 022/275] Update word-processing.md
fix relative url
---
docs/word-processing.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/word-processing.md b/docs/word-processing.md
index 2a7c9fed..2bb8ebee 100644
--- a/docs/word-processing.md
+++ b/docs/word-processing.md
@@ -65,7 +65,7 @@ This section provides how-to topics for working with word processing documents u
- [Retrieve comments from a word processing document](how-to-retrieve-comments-from-a-word-processing-document.md)
-- [Retrieve property values from a Word 2007 document by using the Open XML API](https://docs.microsoft.com/previous-versions/office/developer/office-2010/bb521237(v=office.14))
+- [Retrieve property values from a Word document by using the Open XML API](/office/open-xml/how-to-retrieve-application-property-values-from-a-word-processing-document.md)
- [Set a custom property in a word processing document](how-to-set-a-custom-property-in-a-word-processing-document.md)
From 4d41b5caa63bc6f6d9d76064358ab4f009bd092b Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Thu, 16 Sep 2021 11:52:02 -0700
Subject: [PATCH 023/275] Update structure-of-a-presentationml-document.md
---
.../structure-of-a-presentationml-document.md | 614 ++++++------------
1 file changed, 204 insertions(+), 410 deletions(-)
diff --git a/docs/structure-of-a-presentationml-document.md b/docs/structure-of-a-presentationml-document.md
index 70927cfc..e0f2a449 100644
--- a/docs/structure-of-a-presentationml-document.md
+++ b/docs/structure-of-a-presentationml-document.md
@@ -7,46 +7,26 @@ api_type:
ms.assetid: fe780fcd-ed8f-4ee1-938e-cf3bb358ccae
title: Structure of a PresentationML document (Open XML SDK)
ms.suite: office
-
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 09/16/2021
ms.localizationpriority: high
---
# Structure of a PresentationML document (Open XML SDK)
-The document structure of a PresentationML document consists of the
-\ (Presentation) element that contains \
-(Slide Master), \ (Slide Layout), \ (Slide), and
-\ (Theme) elements that reference the slides in the
-presentation. (The Theme element is the root element of the
-DrawingMLTheme part.) These elements are the minimum elements required
-for a valid presentation document.
+The document structure of a PresentationML document consists of the \ (Presentation) element that contains \ (Slide Master), \ (Slide Layout), \ (Slide), and \ (Theme) elements that reference the slides in the presentation. (The Theme element is the root element of the DrawingMLTheme part.) These elements are the minimum elements required for a valid presentation document.
-In addition, a presentation document might contain \ (Notes
-Slide), \ (Handout Master), \ (Shape), \
-(Picture), \ (Table), and other slide-related elements. (Table
-elements are defined in the DrawingML schema.)
+In addition, a presentation document might contain \ (Notes Slide), \ (Handout Master), \ (Shape), \ (Picture), \ (Table), and other slide-related elements. (Table elements are defined in the DrawingML schema.)
-Other features that a PresentationML document can contain include the
-following: animation, audio, video, and transitions between slides.
+Other features that a PresentationML document can contain include the following: animation, audio, video, and transitions between slides.
-A PresentationML document is not stored as one large body in a single
-part. Instead, the elements that implement certain groupings of
-functionality are stored in separate parts. For example, all comments in
-a document are stored in one comment part, while each slide has its own
-part. A separate XML file is created for each slide.
+A PresentationML document is not stored as one large body in a single part. Instead, the elements that implement certain groupings of functionality are stored in separate parts. For example, all comments in a document are stored in one comment part, while each slide has its own part. A separate XML file is created for each slide.
---------------------------------------------------------------------------------
## Important Presentation Parts
-Using the Open XML SDK 2.5, you can create document structure and
-content that uses strongly-typed classes that correspond to
-PresentationML elements. You can find these classes in the **[DocumentFormat.OpenXml.Presentation](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.aspx)**
-namespace. The following table lists the class names of the classes that
-correspond to some of the important presentation elements.
+Using the Open XML SDK 2.5, you can create document structure and content that uses strongly-typed classes that correspond to PresentationML elements. You can find these classes in the **[DocumentFormat.OpenXml.Presentation](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.aspx)** namespace. The following table lists the class names of the classes that correspond to some of the important presentation elements.
| **Package Part** | **Top Level PresentationML Element** | **Open XML SDK 2.5 Class** | **Description**\* |
@@ -59,44 +39,30 @@ correspond to some of the important presentation elements.
| Slide | \ | [Slide](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slide.aspx) | The root element for the Slide part. This element specifies a slide within a slide list. For more information, see [Working with presentation slides (Open XML SDK)](working-with-presentation-slides.md). |
| Notes Master | \ | [NotesMaster](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.notesmaster.aspx) | The root element for the Notes Master part. Within a notes master slide are contained all elements that describe the objects and their corresponding formatting for within a notes slide. |
| Notes Slide | \ | [NotesSlide](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.notesslide.aspx) | The root element of the Notes Slide part. This element specifies the existence of a notes slide along with its corresponding data. Contained within a notes slide are all the common slide elements along with addition properties that are specific to the notes element. For more information, see [Working with notes slides (Open XML SDK)](working-with-notes-slides.md). |
-| Handout Master | \ | [HandoutMaster](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.handoutmaster.aspx) | The root element of the Handout Master part. Within a handout master slide are contained all elements that describe the objects and their corresponding formatting for within a handout slide. For more information, see [Working with handout master slides (Open XML SDK)](working-with-handout-master-slides.md). |
-| Comments | \ | [CommentList](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.commentlist.aspx) | The root element of the Comments part. This element specifies a list of comments for a particular slide. For more information, see [Working with comments (Open XML SDK)](working-with-comments.md). |
-| Comments Author | \ | [CommentAuthorList](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.commentauthorlist.aspx) | The root element of the Comments Author part. This element specifies a list of authors with comments in the current document. For more information, see [Working with comments (Open XML SDK)](working-with-comments.md). |
+| Handout Master | \ | [HandoutMaster](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.handoutmaster?redirectedfrom=MSDN&view=openxml-2.8.1) | The root element of the Handout Master part. Within a handout master slide are contained all elements that describe the objects and their corresponding formatting for within a handout slide. For more information, see [Working with handout master slides (Open XML SDK)](working-with-handout-master-slides.md). |
+| Comments | \ | [CommentList](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.commentlist?redirectedfrom=MSDN&view=openxml-2.8.1) | The root element of the Comments part. This element specifies a list of comments for a particular slide. For more information, see [Working with comments (Open XML SDK)](working-with-comments.md). |
+| Comments Author | \ | [CommentAuthorList](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.commentauthorlist?redirectedfrom=MSDN&view=openxml-2.8.1) | The root element of the Comments Author part. This element specifies a list of authors with comments in the current document. For more information, see [Working with comments (Open XML SDK)](working-with-comments.md). |
*Descriptions adapted from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
specification, © ISO/IEC29500: 2008.
### Presentation Part
-A PresentationML package's main part starts with a \ root
-element. That element contains a presentation, which, in turn, refers to
-a slide list, a slide master list, a notes master list, and a handout
-master list. The slide list refers to all of the slides in the
-presentation. The slide master list refers to the entire set of slide
-masters used in the presentation. The notes master contains information
-about the formatting of notes pages. The handout master describes how a
-handout looks. (A handout is a printed set of slides that can be handed
-out to an audience for future reference.)
+A PresentationML package's main part starts with a \ root element. That element contains a presentation, which, in turn, refers to a slide list, a slide master list, a notes master list, and a handout master list. The slide list refers to all of the slides in the presentation. The slide master list refers to the entire set of slide
+masters used in the presentation. The notes master contains information about the formatting of notes pages. The handout master describes how a handout looks. (A handout is a printed set of slides that can be handed out to an audience for future reference.)
### Presentation Properties Part
-The root element of the Presentation Properties part is the
-\ element.
+The root element of the Presentation Properties part is the \ element.
-The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification describes the Open XML PresentationML Presentation
+The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML PresentationML Presentation
Properties part as follows:
-An instance of this part type contains all the presentation's
-properties.
+An instance of this part type contains all the presentation's properties.
-A package shall contain exactly one Presentation Properties part, and
-that part shall be the target of an implicit relationship from the
-Presentation (§13.3.6) part.
+A package shall contain exactly one Presentation Properties part, and that part shall be the target of an implicit relationship from the Presentation (§13.3.6) part.
-Example: The following Presentation part-relationship item contains a
-relationship to the Presentation Properties part, which is stored in the
-ZIP item presProps.xml:
+Example: The following Presentation part-relationship item contains a relationship to the Presentation Properties part, which is stored in the ZIP item presProps.xml:
```xml
@@ -105,8 +71,7 @@ ZIP item presProps.xml:
```
-The root element for a part of this content type shall be
-presentationPr.
+The root element for a part of this content type shall be presentationPr.
Example:
@@ -119,12 +84,9 @@ Example:
```
-A Presentation Properties part shall be located within the package
-containing the relationships part (expressed syntactically, the
-TargetMode attribute of the Relationship element shall be Internal).
+A Presentation Properties part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).
-A Presentation Properties part shall not have implicit or explicit
-relationships to any other part defined by ISO/IEC 29500.
+A Presentation Properties part shall not have implicit or explicit relationships to any other part defined by ISO/IEC 29500.
© ISO/IEC29500: 2008.
@@ -132,24 +94,13 @@ relationships to any other part defined by ISO/IEC 29500.
The root element of the Slide Master part is the \ element.
-The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification describes the Open XML PresentationML Slide Master part as
-follows:
+The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML PresentationML Slide Master part as follows:
-An instance of this part type contains the master definition of
-formatting, text, and objects that appear on each slide in the
-presentation that is derived from this slide master.
+An instance of this part type contains the master definition of formatting, text, and objects that appear on each slide in the presentation that is derived from this slide master.
-A package shall contain one or more Slide Master parts, each of which
-shall be the target of an explicit relationship from the Presentation
-(§13.3.6) part, as well as an implicit relationship from any Slide
-Layout (§13.3.9) part where that slide layout is defined based on this
-slide master. Each can optionally be the target of a relationship in a
-Slide Layout (§13.3.9) part as well.
+A package shall contain one or more Slide Master parts, each of which shall be the target of an explicit relationship from the Presentation (§13.3.6) part, as well as an implicit relationship from any Slide Layout (§13.3.9) part where that slide layout is defined based on this slide master. Each can optionally be the target of a relationship in a Slide Layout (§13.3.9) part as well.
-Example: The following Presentation part-relationship item contains a
-relationship to the Slide Master part, which is stored in the ZIP item
-slideMasters/slideMaster1.xml:
+Example: The following Presentation part-relationship item contains a relationship to the Slide Master part, which is stored in the ZIP item slideMasters/slideMaster1.xml:
```xml
@@ -159,9 +110,7 @@ Target="slideMasters/slideMaster1.xml"/>
```
-The root element for a part of this content type shall be sldMaster.
-
-Example:
+The root element for a part of this content type shall be sldMaster. Example:
```xml
@@ -172,37 +121,32 @@ Example:
```
-A Slide Master part shall be located within the package containing the
-relationships part (expressed syntactically, the TargetMode attribute of
-the Relationship element shall be Internal).
+A Slide Master part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).
-A Slide Master part is permitted to have implicit relationships to the
-following parts defined by ISO/IEC 29500:
+A Slide Master part is permitted to have implicit relationships to the following parts defined by ISO/IEC 29500:
-• Additional Characteristics (§15.2.1)
-• Bibliography (§15.2.3)
-• Custom XML Data Storage (§15.2.4)
-• Theme (§14.2.7)
-• Thumbnail (§15.2.16)
+- Additional Characteristics (§15.2.1)
+- Bibliography (§15.2.3)
+- Custom XML Data Storage (§15.2.4)
+- Theme (§14.2.7)
+- Thumbnail (§15.2.16)
A Slide Master part is permitted to have explicit relationships to the
following parts defined by ISO/IEC 29500:
-• Audio (§15.2.2)
-• Chart (§14.2.1)
-• Content Part (§15.2.4)
-• Diagrams: Diagram Colors (§14.2.3), Diagram Data (§14.2.4), Diagram
-Layout Definition (§14.2.5), and Diagram Styles (§14.2.6)
-• Embedded Control Persistence (§15.2.9)
-• Embedded Object (§15.2.10)
-• Embedded Package (§15.2.11)
-• Hyperlink (§15.3)
-• Image (§15.2.14)
-• Slide Layout (§13.3.9)
-• Video (§15.2.15)
-
-A Slide Master part shall not have implicit or explicit relationships to
-any other part defined by ISO/IEC 29500.
+- Audio (§15.2.2)
+- Chart (§14.2.1)
+- Content Part (§15.2.4)
+- Diagrams: Diagram Colors (§14.2.3), Diagram Data (§14.2.4), Diagram Layout Definition (§14.2.5), and Diagram Styles (§14.2.6)
+- Embedded Control Persistence (§15.2.9)
+- Embedded Object (§15.2.10)
+- Embedded Package (§15.2.11)
+- Hyperlink (§15.3)
+- Image (§15.2.14)
+- Slide Layout (§13.3.9)
+- Video (§15.2.15)
+
+A Slide Master part shall not have implicit or explicit relationships to any other part defined by ISO/IEC 29500.
© ISO/IEC29500: 2008.
@@ -210,23 +154,13 @@ any other part defined by ISO/IEC 29500.
The root element of the Slide Layout part is the \ element.
-The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification describes the Open XML PresentationML Slide Layout part as
-follows:
+The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML PresentationML Slide Layout part as follows:
-An instance of this part type contains the definition for a slide layout
-template for this presentation. This template defines the default
-appearance and positioning of drawing objects on this slide type when it
-is created.
+An instance of this part type contains the definition for a slide layout template for this presentation. This template defines the default appearance and positioning of drawing objects on this slide type when it is created.
-A package shall contain one or more Slide Layout parts, and each of
-those parts shall be the target of an explicit relationship in the Slide
-Master (§13.3.10) part, as well as an implicit relationship from each of
-the Slide (§13.3.8) parts associated with this slide layout.
+A package shall contain one or more Slide Layout parts, and each of those parts shall be the target of an explicit relationship in the Slide Master (§13.3.10) part, as well as an implicit relationship from each of the Slide (§13.3.8) parts associated with this slide layout.
-Example: The following Slide Master part-relationship item contains
-relationships to several Slide Layout parts, which are stored in the ZIP
-items ../slideLayouts/slideLayoutN.xml:
+Example: The following Slide Master part-relationship item contains relationships to several Slide Layout parts, which are stored in the ZIP items ../slideLayouts/slideLayoutN.xml:
```xml
@@ -242,10 +176,7 @@ items ../slideLayouts/slideLayoutN.xml:
```
-
-The root element for a part of this content type shall be sldLayout.
-
-Example:
+The root element for a part of this content type shall be sldLayout. Example:
```xml
@@ -259,33 +190,29 @@ Example:
```
-A Slide Layout part is permitted to have implicit relationships to the
-following parts defined by ISO/IEC 29500:
+A Slide Layout part is permitted to have implicit relationships to the following parts defined by ISO/IEC 29500:
-• Additional Characteristics (§15.2.1)
-• Bibliography (§15.2.3)
-• Custom XML Data Storage (§15.2.4)
-• Slide Master (§13.3.10)
-• Theme Override (§14.2.8)
-• Thumbnail (§15.2.16)
+- Additional Characteristics (§15.2.1)
+- Bibliography (§15.2.3)
+- Custom XML Data Storage (§15.2.4)
+- Slide Master (§13.3.10)
+- Theme Override (§14.2.8)
+- Thumbnail (§15.2.16)
-A Slide Layout part is permitted to have explicit relationships to the
-following parts defined by ISO/IEC 29500:
+A Slide Layout part is permitted to have explicit relationships to the following parts defined by ISO/IEC 29500:
+
+- Audio (§15.2.2)
+- Chart (§14.2.1)
+- Content Part (§15.2.4)
+- Diagrams: Diagram Colors (§14.2.3), Diagram Data (§14.2.4), Diagram Layout Definition (§14.2.5), and Diagram Styles (§14.2.6)
+- Embedded Control Persistence (§15.2.9)
+- Embedded Object (§15.2.10)
+- Embedded Package (§15.2.11)
+- Hyperlink (§15.3)
+- Image (§15.2.14)
+- Video (§15.2.15)
-• Audio (§15.2.2)
-• Chart (§14.2.1)
-• Content Part (§15.2.4)
-• Diagrams: Diagram Colors (§14.2.3), Diagram Data (§14.2.4), Diagram
-Layout Definition (§14.2.5), and Diagram Styles (§14.2.6)
-• Embedded Control Persistence (§15.2.9)
-• Embedded Object (§15.2.10)
-• Embedded Package (§15.2.11)
-• Hyperlink (§15.3)
-• Image (§15.2.14)
-• Video (§15.2.15)
-
-A Slide Layout part shall not have implicit or explicit relationships to
-any other part defined by ISO/IEC 29500.
+A Slide Layout part shall not have implicit or explicit relationships to any other part defined by ISO/IEC 29500.
© ISO/IEC29500: 2008.
@@ -293,26 +220,16 @@ any other part defined by ISO/IEC 29500.
The root element of the Slide part is the \ element.
-As well as text and graphics, each slide can contain comments and notes,
-can have a layout, and can be part of one or more custom presentations.
-A comment is an annotation intended for the person maintaining the
-presentation slide deck. A note is a reminder or piece of text intended
-for the presenter or the audience.
+As well as text and graphics, each slide can contain comments and notes, can have a layout, and can be part of one or more custom presentations. A comment is an annotation intended for the person maintaining the presentation slide deck. A note is a reminder or piece of text intended for the presenter or the audience.
-The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification describes the Open XML PresentationML Slide part as
+The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML PresentationML Slide part as
follows:
A Slide part contains the contents of a single slide.
-A package shall contain one Slide part per slide, and each of those
-parts shall be the target of an explicit relationship from the
-Presentation (§13.3.6) part.
+A package shall contain one Slide part per slide, and each of those parts shall be the target of an explicit relationship from the Presentation (§13.3.6) part.
-Example: Consider a PresentationML document having two slides. The
-corresponding Presentation part relationship item contains two
-relationships to Slide parts, which are stored in the ZIP items
-slides/slide1.xml and slides/slide2.xml:
+Example: Consider a PresentationML document having two slides. The corresponding Presentation part relationship item contains two relationships to Slide parts, which are stored in the ZIP items slides/slide1.xml and slides/slide2.xml:
```xml
@@ -346,41 +263,35 @@ nodeType="tmRoot"/>
```
-A Slide part shall be located within the package containing the
-relationships part (expressed syntactically, the TargetMode attribute of
-the Relationship element shall be Internal).
+A Slide part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).
-A Slide part is permitted to have implicit relationships to the
-following parts defined by ISO/IEC 29500:
+A Slide part is permitted to have implicit relationships to the following parts defined by ISO/IEC 29500:
-• Additional Characteristics (§15.2.1)
-• Bibliography (§15.2.3)
-• Comments (§13.3.2)
-• Custom XML Data Storage (§15.2.4)
-• Notes Slide (§13.3.5)
-• Theme Override (§14.2.8)
-• Thumbnail (§15.2.16)
-• Slide Layout (§13.3.9)
-• Slide Synchronization Data (§13.3.11)
-
-A Slide part is permitted to have explicit relationships to the
-following parts defined by ISO/IEC 29500:
+- Additional Characteristics (§15.2.1)
+- Bibliography (§15.2.3)
+- Comments (§13.3.2)
+- Custom XML Data Storage (§15.2.4)
+- Notes Slide (§13.3.5)
+- Theme Override (§14.2.8)
+- Thumbnail (§15.2.16)
+- Slide Layout (§13.3.9)
+- Slide Synchronization Data (§13.3.11)
-• Audio (§15.2.2)
-• Chart (§14.2.1)
-• Content Part (§15.2.4)
-• Diagrams: Diagram Colors (§14.2.3), Diagram Data (§14.2.4), Diagram
-Layout Definition (§14.2.5), and Diagram Styles (§14.2.6)
-• Embedded Control Persistence (§15.2.9)
-• Embedded Object (§15.2.10)
-• Embedded Package (§15.2.11)
-• Hyperlink (§15.3)
-• Image (§15.2.14)
-• User Defined Tags (§13.3.12)
-• Video (§15.2.15)
-
-A Slide part shall not have implicit or explicit relationships to any
-other part defined by ISO/IEC 29500.
+A Slide part is permitted to have explicit relationships to the following parts defined by ISO/IEC 29500:
+
+- Audio (§15.2.2)
+- Chart (§14.2.1)
+- Content Part (§15.2.4)
+- Diagrams: Diagram Colors (§14.2.3), Diagram Data (§14.2.4), Diagram Layout Definition (§14.2.5), and Diagram Styles (§14.2.6)
+- Embedded Control Persistence (§15.2.9)
+- Embedded Object (§15.2.10)
+- Embedded Package (§15.2.11)
+- Hyperlink (§15.3)
+- Image (§15.2.14)
+- User Defined Tags (§13.3.12)
+- Video (§15.2.15)
+
+A Slide part shall not have implicit or explicit relationships to any other part defined by ISO/IEC 29500.
© ISO/IEC29500: 2008.
@@ -388,29 +299,13 @@ other part defined by ISO/IEC 29500.
The root element of the Theme part is the \ element.
-The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification describes the Open XML DrawingML Theme part as follows:
-
-An instance of this part type contains information about a document's
-theme, which is a combination of color scheme, font scheme, and format
-scheme (the latter also being referred to as effects). For a
-WordprocessingML document, the choice of theme affects the color and
-style of headings, among other things. For a SpreadsheetML document, the
-choice of theme affects the color and style of cell contents and charts,
-among other things. For a PresentationML document, the choice of theme
-affects the formatting of slides, handouts, and notes via the associated
-master, among other things.
-
-A WordprocessingML or SpreadsheetML package shall contain zero or one
-Theme part, which shall be the target of an implicit relationship in a
-Main Document (§11.3.10) or Workbook (§12.3.23) part. A PresentationML
-package shall contain zero or one Theme part per Handout Master
-(§13.3.3), Notes Master (§13.3.4), Slide Master (§13.3.10) or
-Presentation (§13.3.6) part via an implicit relationship.
-
-Example: The following WordprocessingML Main Document part-relationship
-item contains a relationship to the Theme part, which is stored in the
-ZIP item theme/theme1.xml:
+The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML DrawingML Theme part as follows:
+
+An instance of this part type contains information about a document's theme, which is a combination of color scheme, font scheme, and format scheme (the latter also being referred to as effects). For a WordprocessingML document, the choice of theme affects the color and style of headings, among other things. For a SpreadsheetML document, the choice of theme affects the color and style of cell contents and charts, among other things. For a PresentationML document, the choice of theme affects the formatting of slides, handouts, and notes via the associated master, among other things.
+
+A WordprocessingML or SpreadsheetML package shall contain zero or one Theme part, which shall be the target of an implicit relationship in a Main Document (§11.3.10) or Workbook (§12.3.23) part. A PresentationML package shall contain zero or one Theme part per Handout Master (§13.3.3), Notes Master (§13.3.4), Slide Master (§13.3.10) or Presentation (§13.3.6) part via an implicit relationship.
+
+Example: The following WordprocessingML Main Document part-relationship item contains a relationship to the Theme part, which is stored in the ZIP item theme/theme1.xml:
```xml
@@ -419,12 +314,9 @@ ZIP item theme/theme1.xml:
```
-The root element for a part of this content type shall be
-officeStyleSheet.
+The root element for a part of this content type shall be officeStyleSheet.
-Example: theme1.xml contains the following, where the name attributes
-of the clrScheme, fontScheme, and fmtScheme elements correspond to the
-document's color scheme, font scheme, and format scheme, respectively:
+Example: theme1.xml contains the following, where the name attributes of the clrScheme, fontScheme, and fmtScheme elements correspond to the document's color scheme, font scheme, and format scheme, respectively:
```xml
@@ -443,40 +335,28 @@ document's color scheme, font scheme, and format scheme, respectively:
```
-A Theme part shall be located within the package containing the
-relationships part (expressed syntactically, the TargetMode attribute of
+A Theme part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of
the Relationship element shall be Internal).
-A Theme part is permitted to contain explicit relationships to the
-following parts defined by ISO/IEC 29500:
+A Theme part is permitted to contain explicit relationships to the following parts defined by ISO/IEC 29500:
-• Image (§15.2.14)
+- Image (§15.2.14)
-A Theme part shall not have any implicit or explicit relationships to
-other parts defined by ISO/IEC 29500.
+A Theme part shall not have any implicit or explicit relationships to other parts defined by ISO/IEC 29500.
© ISO/IEC29500: 2008.
### Notes Master Part
-The root element of the Notes Master part is the \
-element.
+The root element of the Notes Master part is the \ element.
-The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification describes the Open XML PresentationML Notes Master part as
-follows:
+The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML PresentationML Notes Master part as follows:
-An instance of this part type contains information about the content and
-formatting of all notes pages.
+An instance of this part type contains information about the content and formatting of all notes pages.
-A package shall contain at most one Notes Master part, and that part
-shall be the target of an implicit relationship from the Notes Slide
-(§13.3.5) part, as well as an explicit relationship from the
-Presentation (§13.3.6) part.
+A package shall contain at most one Notes Master part, and that part shall be the target of an implicit relationship from the Notes Slide (§13.3.5) part, as well as an explicit relationship from the Presentation (§13.3.6) part.
-Example: The following Presentation part-relationship item contains a
-relationship to the Notes Master part, which is stored in the ZIP item
-notesMasters/notesMaster1.xml:
+Example: The following Presentation part-relationship item contains a relationship to the Notes Master part, which is stored in the ZIP item notesMasters/notesMaster1.xml:
```xml
@@ -486,9 +366,7 @@ Target="notesMasters/notesMaster1.xml"/>
```
-The root element for a part of this content type shall be notesMaster.
-
-Example:
+The root element for a part of this content type shall be notesMaster. Example:
```xml
@@ -499,36 +377,30 @@ Example:
```
-A Notes Master part shall be located within the package containing the
-relationships part (expressed syntactically, the TargetMode attribute of
-the Relationship element shall be Internal).
+A Notes Master part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).
-A Notes Master part is permitted to have implicit relationships to the
-following parts defined by ISO/IEC 29500:
+A Notes Master part is permitted to have implicit relationships to the following parts defined by ISO/IEC 29500:
-• Additional Characteristics (§15.2.1)
-• Bibliography (§15.2.3)
-• Custom XML Data Storage (§15.2.4)
-• Theme (§14.2.7)
-• Thumbnail (§15.2.16)
+- Additional Characteristics (§15.2.1)
+- Bibliography (§15.2.3)
+- Custom XML Data Storage (§15.2.4)
+- Theme (§14.2.7)
+- Thumbnail (§15.2.16)
-A Notes Master part is permitted to have explicit relationships to the
-following parts defined by ISO/IEC 29500:
+A Notes Master part is permitted to have explicit relationships to the following parts defined by ISO/IEC 29500:
-• Audio (§15.2.2)
-• Chart (§14.2.1)
-• Content Part (§15.2.4)
-• Diagrams: Diagram Colors (§14.2.3), Diagram Data (§14.2.4), Diagram
-Layout Definition (§14.2.5), and Diagram Styles (§14.2.6)
-• Embedded Control Persistence (§15.2.9)
-• Embedded Object (§15.2.10)
-• Embedded Package (§15.2.11)
-• Hyperlink (§15.3)
-• Image (§15.2.14)
-• Video (§15.2.15)
-
-The Notes Master part shall not have implicit or explicit relationships
-to any other part defined by ISO/IEC 29500.
+- Audio (§15.2.2)
+- Chart (§14.2.1)
+- Content Part (§15.2.4)
+- Diagrams: Diagram Colors (§14.2.3), Diagram Data (§14.2.4), Diagram Layout Definition (§14.2.5), and Diagram Styles (§14.2.6)
+- Embedded Control Persistence (§15.2.9)
+- Embedded Object (§15.2.10)
+- Embedded Package (§15.2.11)
+- Hyperlink (§15.3)
+- Image (§15.2.14)
+- Video (§15.2.15)
+
+The Notes Master part shall not have implicit or explicit relationships to any other part defined by ISO/IEC 29500.
© ISO/IEC29500: 2008.
@@ -536,19 +408,13 @@ to any other part defined by ISO/IEC 29500.
The root element of the Notes Slide part is the \ element.
-The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification describes the Open XML PresentationML Notes Slide part as
-follows:
+The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML PresentationML Notes Slide part as follows:
An instance of this part type contains the notes for a single slide.
-A package shall contain one Notes Slide part for each slide that
-contains notes. If they exist, those parts shall each be the target of
-an implicit relationship from the Slide (§13.3.8) part.
+A package shall contain one Notes Slide part for each slide that contains notes. If they exist, those parts shall each be the target of an implicit relationship from the Slide (§13.3.8) part.
-Example: The following Slide part-relationship item contains a
-relationship to a Notes Slide part, which is stored in the ZIP item
-../notesSlides/notesSlide1.xml:
+Example: The following Slide part-relationship item contains a relationship to a Notes Slide part, which is stored in the ZIP item ../notesSlides/notesSlide1.xml:
```xml
@@ -558,9 +424,7 @@ Target="../notesSlides/notesSlide1.xml"/>
```
-The root element for a part of this content type shall be notes.
-
-Example:
+The root element for a part of this content type shall be notes. Example:
```xml
@@ -580,52 +444,41 @@ the Relationship element shall be Internal).
A Notes Slide part is permitted to have implicit relationships to the
following parts defined by ISO/IEC 29500:
-• Additional Characteristics (§15.2.1)
-• Bibliography (§15.2.3)
-• Custom XML Data Storage (§15.2.4)
-• Notes Master (§13.3.4)
-• Theme Override (§14.2.8)
-• Thumbnail (§15.2.16)
+- Additional Characteristics (§15.2.1)
+- Bibliography (§15.2.3)
+- Custom XML Data Storage (§15.2.4)
+- Notes Master (§13.3.4)
+- Theme Override (§14.2.8)
+- Thumbnail (§15.2.16)
-A Notes Slide part is permitted to have explicit relationships to the
-following parts defined by ISO/IEC 29500:
+A Notes Slide part is permitted to have explicit relationships to the following parts defined by ISO/IEC 29500:
-• Audio (§15.2.2)
-• Chart (§14.2.1)
-• Content Part (§15.2.4)
-• Diagrams: Diagram Colors (§14.2.3), Diagram Data (§14.2.4), Diagram
-Layout Definition (§14.2.5), and Diagram Styles (§14.2.6)
-• Embedded Control Persistence (§15.2.9)
-• Embedded Object (§15.2.10)
-• Embedded Package (§15.2.11)
-• Hyperlink (§15.3)
-• Image (§15.2.14)
-• Video (§15.2.15)
-
-The Notes Slide part shall not have implicit or explicit relationships
-to any other part defined by ISO/IEC 29500.
+- Audio (§15.2.2)
+- Chart (§14.2.1)
+- Content Part (§15.2.4)
+- Diagrams: Diagram Colors (§14.2.3), Diagram Data (§14.2.4), Diagram Layout Definition (§14.2.5), and Diagram Styles (§14.2.6)
+- Embedded Control Persistence (§15.2.9)
+- Embedded Object (§15.2.10)
+- Embedded Package (§15.2.11)
+- Hyperlink (§15.3)
+- Image (§15.2.14)
+- Video (§15.2.15)
+
+The Notes Slide part shall not have implicit or explicit relationships to any other part defined by ISO/IEC 29500.
© ISO/IEC29500: 2008.
### Handout Master Part
-The root element of the Handout Master part is the \
-element.
+The root element of the Handout Master part is the \ element.
-The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification describes the Open XML PresentationML Handout Master part
-as follows:
+The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML PresentationML Handout Master part as follows:
-An instance of this part type contains the look, position, and size of
-the slides, notes, header and footer text, date, or page number on the
-presentation's handout.
+An instance of this part type contains the look, position, and size of the slides, notes, header and footer text, date, or page number on the presentation's handout.
-A package shall contain at most one Handout Master part, and it shall be
-the target of an explicit relationship from the Presentation (§13.3.6)
-part.
+A package shall contain at most one Handout Master part, and it shall be the target of an explicit relationship from the Presentation (§13.3.6) part.
-Example: The following Presentation part-relationship item contains a
-relationship to the Handout Master part, which is stored in the ZIP item
+Example: The following Presentation part-relationship item contains a relationship to the Handout Master part, which is stored in the ZIP item
handoutMasters/handoutMaster1.xml:
```xml
@@ -636,9 +489,7 @@ handoutMasters/handoutMaster1.xml:
```
-The root element for a part of this content type shall be handoutMaster.
-
-Example:
+The root element for a part of this content type shall be handoutMaster. Example:
```xml
@@ -649,36 +500,31 @@ Example:
```
-A Handout Master part shall be located within the package containing the
-relationships part (expressed syntactically, the TargetMode attribute of
-the Relationship element shall be Internal).
+A Handout Master part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).
-A Handout Master part is permitted to have implicit relationships to the
-following parts defined by ISO/IEC 29500:
+A Handout Master part is permitted to have implicit relationships to the following parts defined by ISO/IEC 29500:
-• Additional Characteristics (§15.2.1)
-• Bibliography (§15.2.3)
-• Custom XML Data Storage (§15.2.4)
-• Theme (§14.2.7)
-• Thumbnail (§15.2.16)
+- Additional Characteristics (§15.2.1)
+- Bibliography (§15.2.3)
+- Custom XML Data Storage (§15.2.4)
+- Theme (§14.2.7)
+- Thumbnail (§15.2.16)
A Handout Master part is permitted to have explicit relationships to the
following parts defined by ISO/IEC 29500:
-• Audio (§15.2.2)
-• Chart (§14.2.1)
-• Content Part (§15.2.4)
-• Diagrams: Diagram Colors (§14.2.3), Diagram Data (§14.2.4), Diagram
-Layout Definition (§14.2.5), and Diagram Styles (§14.2.6)
-• Embedded Control Persistence (§15.2.9)
-• Embedded Object (§15.2.10)
-• Embedded Package (§15.2.11)
-• Hyperlink (§15.3)
-• Image (§15.2.14)
-• Video (§15.2.15)
-
-A Handout Master part shall not have implicit or explicit relationships
-to any other part defined by ISO/IEC 29500.
+- Audio (§15.2.2)
+- Chart (§14.2.1)
+- Content Part (§15.2.4)
+- Diagrams: Diagram Colors (§14.2.3), Diagram Data (§14.2.4), Diagram Layout Definition (§14.2.5), and Diagram Styles (§14.2.6)
+- Embedded Control Persistence (§15.2.9)
+- Embedded Object (§15.2.10)
+- Embedded Package (§15.2.11)
+- Hyperlink (§15.3)
+- Image (§15.2.14)
+- Video (§15.2.15)
+
+A Handout Master part shall not have implicit or explicit relationships to any other part defined by ISO/IEC 29500.
© ISO/IEC29500: 2008.
@@ -801,58 +647,26 @@ to any other part defined by ISO/IEC 29500.
© ISO/IEC29500: 2008.
-
----------------------------------------------------------------------------------
## The Structure of a Minimum Presentation File
-Now that you are familiar with the parts of a PresentationML document,
-consider how some of these parts are implemented and connected in an
-actual presentation file. As shown in the article [How to: Create a presentation document by providing a file name (Open XML SDK)](how-to-create-a-presentation-document-by-providing-a-file-name.md),
-you can use the Open XML API to build up a minimum presentation file,
-part by part.
+Now that you are familiar with the parts of a PresentationML document, consider how some of these parts are implemented and connected in an actual presentation file. As shown in the article [How to: Create a presentation document by providing a file name](how-to-create-a-presentation-document-by-providing-a-file-name.md), you can use the Open XML API to build up a minimum presentation file, part by part.
-A minimum presentation file consists of a presentation part, represented
-by the file presentation.xml, as well as a presentation properties part
-(presProps.xml), a slide master part (slideMaster.xml), a slide layout
-part (slideLayout.xml), and a theme part (theme.xml). One or more slide
-parts (slide.xml) are optional.
+A minimum presentation file consists of a presentation part, represented by the file presentation.xml, as well as a presentation properties part (presProps.xml), a slide master part (slideMaster.xml), a slide layout part (slideLayout.xml), and a theme part (theme.xml). One or more slide parts (slide.xml) are optional.
-The packaging structure of a presentation document contains several
-references between the parts, including some circular references. For
-example, slide layouts reference slide masters, and slide masters
-reference slide layouts.
+The packaging structure of a presentation document contains several references between the parts, including some circular references. For example, slide layouts reference slide masters, and slide masters reference slide layouts.
-
----------------------------------------------------------------------------------
## Generated PresentationML XML Code
-After you run the Open XML SDK 2.5 code to generate a presentation, you
-can explore the contents of the .zip package to view the PresentationML
-XML code. To view the .zip package, rename the extension on the minimum
-presentation from **.pptx** to **.zip**. Inside the .zip package, there are several
-parts that make up the minimum presentation.
+After you run the Open XML SDK 2.5 code to generate a presentation, you can explore the contents of the .zip package to view the PresentationML XML code. To view the .zip package, rename the extension on the minimum presentation from **.pptx** to **.zip**. Inside the .zip package, there are several parts that make up the minimum presentation.
-Figure 1 shows the structure under the **ppt**
-folder of the .zip package for a minimum presentation that contains a
-single slide.
+Figure 1 shows the structure under the **ppt** folder of the .zip package for a minimum presentation that contains a single slide.
Figure 1. Minimum presentation folder structure
-

-The presentation.xml file contains \ (Slide) elements that
-reference the slides in the presentation. Each slide is associated to
-the presentation by means of a slide ID and a relationship ID. The **slideID** is the identifier (ID) used within the
-package to identify a slide and must be unique within the presentation.
-The **id** attribute is the relationship ID
-that identifies the slide part definition associated with a slide. For
-more information about the slide part, see [Working with presentation slides (Open XML SDK)](working-with-presentation-slides.md).
-
-The following XML code is the PresentationML that represents the
-presentation part of a presentation document that contains a single
-slide. This code is generated when you run the Open XML SDK 2.5 code to
-create a minimum presentation
+The presentation.xml file contains \ (Slide) elements that reference the slides in the presentation. Each slide is associated to the presentation by means of a slide ID and a relationship ID. The **slideID** is the identifier (ID) used within the package to identify a slide and must be unique within the presentation. The **id** attribute is the relationship ID that identifies the slide part definition associated with a slide. For more information about the slide part, see [Working with presentation slides (Open XML SDK)](working-with-presentation-slides.md).
+
+The following XML code is the PresentationML that represents the presentation part of a presentation document that contains a single slide. This code is generated when you run the Open XML SDK 2.5 code to create a minimum presentation.
```xml
@@ -875,9 +689,7 @@ create a minimum presentation
```
-The following XML code is the PresentationML that represents the
-relationship part of the presentation document. This code is generated
-when you run the Open XML SDK 2.5 to create a minimum presentation.
+The following XML code is the PresentationML that represents the relationship part of the presentation document. This code is generated when you run the Open XML SDK 2.5 to create a minimum presentation.
```xml
@@ -893,10 +705,8 @@ when you run the Open XML SDK 2.5 to create a minimum presentation.
Id="rId5" />
```
-The following XML code is the PresentationML that represents the slide
-part of the presentation document. Each slide in a presentation has a
-slide part associated with it. This code is generated when you run the
-Open XML SDK 2.5 to create a minimum presentation.
+The following XML code is the PresentationML that represents the slide part of the presentation document. Each slide in a presentation has a
+slide part associated with it. This code is generated when you run the Open XML SDK 2.5 to create a minimum presentation.
```xml
@@ -941,36 +751,20 @@ Open XML SDK 2.5 to create a minimum presentation.
```
----------------------------------------------------------------------------------
## Typical Presentation Scenario
-A typical presentation does not have a minimum configuration. A typical
-presentation might contain several slides, each of which references
-slide layouts and slide masters, and which might contain comments. In
-addition, a presentation might contain handouts and notes slides, each
-of which is represented by separate parts. These additional parts are
-contained within the .zip package of the presentation document.
+A typical presentation does not have a minimum configuration. A typical presentation might contain several slides, each of which references slide layouts and slide masters, and which might contain comments. In addition, a presentation might contain handouts and notes slides, each of which is represented by separate parts. These additional parts are contained within the .zip package of the presentation document.
-Figure 2 shows most of the elements that you would find in a typical
-presentation.
+Figure 2 shows most of the elements that you would find in a typical presentation.
Figure 2. Elements of a PresentationML file
-

-
---------------------------------------------------------------------------------
## See also
-
-
-[How to: Create a presentation document by providing a file name (Open XML SDK)](how-to-create-a-presentation-document-by-providing-a-file-name.md)
-
-[Working with presentations (Open XML SDK)](working-with-presentations.md)
-
-[Working with presentation slides (Open XML SDK)](working-with-presentation-slides.md)
-
-[Working with slide masters (Open XML SDK)](working-with-slide-masters.md)
-
-[Working with slide layouts (Open XML SDK)](working-with-slide-layouts.md)
+[How to: Create a presentation document by providing a file name (Open XML SDK)](how-to-create-a-presentation-document-by-providing-a-file-name.md)
+[Working with presentations (Open XML SDK)](working-with-presentations.md)
+[Working with presentation slides (Open XML SDK)](working-with-presentation-slides.md)
+[Working with slide masters (Open XML SDK)](working-with-slide-masters.md)
+[Working with slide layouts (Open XML SDK)](working-with-slide-layouts.md)
From c441301cf61063fe4eea7620505ec91608423c11 Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Thu, 16 Sep 2021 11:59:05 -0700
Subject: [PATCH 024/275] Update structure-of-a-presentationml-document.md
---
docs/structure-of-a-presentationml-document.md | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/docs/structure-of-a-presentationml-document.md b/docs/structure-of-a-presentationml-document.md
index e0f2a449..87fcd32a 100644
--- a/docs/structure-of-a-presentationml-document.md
+++ b/docs/structure-of-a-presentationml-document.md
@@ -31,14 +31,14 @@ Using the Open XML SDK 2.5, you can create document structure and content that u
| **Package Part** | **Top Level PresentationML Element** | **Open XML SDK 2.5 Class** | **Description**\* |
|-------------------------|--------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| Presentation | \ | [Presentation](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.presentation.aspx) | The root element for the Presentation part. This element specifies within it fundamental presentation-wide properties. |
-| Presentation Properties | \ | [PresentationProperties](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.presentationproperties.aspx) | The root element for the Presentation Properties part. This element functions as a parent element within which additional presentation-wide document properties are contained. |
-| Slide Master | \ | [SlideMaster](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slidemaster.aspx) | The root element for the Slide Master part. Within a slide master slide are contained all elements that describe the objects and their corresponding formatting for within a presentation slide. For more information, see [Working with slide masters (Open XML SDK)](working-with-slide-masters.md). |
-| Slide Layout | \ | [SlideLayout](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slidelayout.aspx) | The root element for the Slide Layout part. This element specifies the relationship information for each slide layout that is used within the slide master. For more information, see [Working with slide layouts (Open XML SDK)](working-with-slide-layouts.md). |
-| Theme | \ | [Theme](https://msdn.microsoft.com/library/office/documentformat.openxml.drawing.theme.aspx) | The root element for the Theme part. This element holds all the different formatting options available to a document through a theme and defines the overall look and feel of the document when themed objects are used within the document. |
-| Slide | \ | [Slide](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slide.aspx) | The root element for the Slide part. This element specifies a slide within a slide list. For more information, see [Working with presentation slides (Open XML SDK)](working-with-presentation-slides.md). |
-| Notes Master | \ | [NotesMaster](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.notesmaster.aspx) | The root element for the Notes Master part. Within a notes master slide are contained all elements that describe the objects and their corresponding formatting for within a notes slide. |
-| Notes Slide | \ | [NotesSlide](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.notesslide.aspx) | The root element of the Notes Slide part. This element specifies the existence of a notes slide along with its corresponding data. Contained within a notes slide are all the common slide elements along with addition properties that are specific to the notes element. For more information, see [Working with notes slides (Open XML SDK)](working-with-notes-slides.md). |
+| Presentation | \ | [Presentation](dotnet/api/documentformat.openxml.presentation/presentation.xml) | The root element for the Presentation part. This element specifies within it fundamental presentation-wide properties. |
+| Presentation Properties | \ | [PresentationProperties](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.presentationproperties?view=openxml-2.8.1) | The root element for the Presentation Properties part. This element functions as a parent element within which additional presentation-wide document properties are contained. |
+| Slide Master | \ | [SlideMaster](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.slidemaster?view=openxml-2.8.1) | The root element for the Slide Master part. Within a slide master slide are contained all elements that describe the objects and their corresponding formatting for within a presentation slide. For more information, see [Working with slide masters (Open XML SDK)](working-with-slide-masters.md). |
+| Slide Layout | \ | [SlideLayout](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.slidelayout?view=openxml-2.8.1) | The root element for the Slide Layout part. This element specifies the relationship information for each slide layout that is used within the slide master. For more information, see [Working with slide layouts (Open XML SDK)](working-with-slide-layouts.md). |
+| Theme | \ | [Theme](https://docs.microsoft.com/dotnet/api/documentformat.openxml.drawing.theme?view=openxml-2.8.1) | The root element for the Theme part. This element holds all the different formatting options available to a document through a theme and defines the overall look and feel of the document when themed objects are used within the document. |
+| Slide | \ | [Slide](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.slide?view=openxml-2.8.1) | The root element for the Slide part. This element specifies a slide within a slide list. For more information, see [Working with presentation slides (Open XML SDK)](working-with-presentation-slides.md). |
+| Notes Master | \ | [NotesMaster](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.notesmaster?view=openxml-2.8.1) | The root element for the Notes Master part. Within a notes master slide are contained all elements that describe the objects and their corresponding formatting for within a notes slide. |
+| Notes Slide | \ | [NotesSlide](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.notesslide?view=openxml-2.8.1) | The root element of the Notes Slide part. This element specifies the existence of a notes slide along with its corresponding data. Contained within a notes slide are all the common slide elements along with addition properties that are specific to the notes element. For more information, see [Working with notes slides (Open XML SDK)](working-with-notes-slides.md). |
| Handout Master | \ | [HandoutMaster](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.handoutmaster?redirectedfrom=MSDN&view=openxml-2.8.1) | The root element of the Handout Master part. Within a handout master slide are contained all elements that describe the objects and their corresponding formatting for within a handout slide. For more information, see [Working with handout master slides (Open XML SDK)](working-with-handout-master-slides.md). |
| Comments | \ | [CommentList](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.commentlist?redirectedfrom=MSDN&view=openxml-2.8.1) | The root element of the Comments part. This element specifies a list of comments for a particular slide. For more information, see [Working with comments (Open XML SDK)](working-with-comments.md). |
| Comments Author | \ | [CommentAuthorList](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.commentauthorlist?redirectedfrom=MSDN&view=openxml-2.8.1) | The root element of the Comments Author part. This element specifies a list of authors with comments in the current document. For more information, see [Working with comments (Open XML SDK)](working-with-comments.md). |
From 62bba7d516276d0b26a452c3a94497e705f26b9d Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Thu, 16 Sep 2021 12:04:04 -0700
Subject: [PATCH 025/275] Update structure-of-a-presentationml-document.md
---
.../structure-of-a-presentationml-document.md | 94 +++++--------------
1 file changed, 25 insertions(+), 69 deletions(-)
diff --git a/docs/structure-of-a-presentationml-document.md b/docs/structure-of-a-presentationml-document.md
index 87fcd32a..c8c4e586 100644
--- a/docs/structure-of-a-presentationml-document.md
+++ b/docs/structure-of-a-presentationml-document.md
@@ -1,5 +1,4 @@
---
-
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -43,20 +42,17 @@ Using the Open XML SDK 2.5, you can create document structure and content that u
| Comments | \ | [CommentList](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.commentlist?redirectedfrom=MSDN&view=openxml-2.8.1) | The root element of the Comments part. This element specifies a list of comments for a particular slide. For more information, see [Working with comments (Open XML SDK)](working-with-comments.md). |
| Comments Author | \ | [CommentAuthorList](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.commentauthorlist?redirectedfrom=MSDN&view=openxml-2.8.1) | The root element of the Comments Author part. This element specifies a list of authors with comments in the current document. For more information, see [Working with comments (Open XML SDK)](working-with-comments.md). |
-*Descriptions adapted from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification, © ISO/IEC29500: 2008.
+*Descriptions adapted from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification, © ISO/IEC29500: 2008.
### Presentation Part
-A PresentationML package's main part starts with a \ root element. That element contains a presentation, which, in turn, refers to a slide list, a slide master list, a notes master list, and a handout master list. The slide list refers to all of the slides in the presentation. The slide master list refers to the entire set of slide
-masters used in the presentation. The notes master contains information about the formatting of notes pages. The handout master describes how a handout looks. (A handout is a printed set of slides that can be handed out to an audience for future reference.)
+A PresentationML package's main part starts with a \ root element. That element contains a presentation, which, in turn, refers to a slide list, a slide master list, a notes master list, and a handout master list. The slide list refers to all of the slides in the presentation. The slide master list refers to the entire set of slide masters used in the presentation. The notes master contains information about the formatting of notes pages. The handout master describes how a handout looks. (A handout is a printed set of slides that can be handed out to an audience for future reference.)
### Presentation Properties Part
The root element of the Presentation Properties part is the \ element.
-The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML PresentationML Presentation
-Properties part as follows:
+The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML PresentationML Presentation Properties part as follows:
An instance of this part type contains all the presentation's properties.
@@ -71,9 +67,7 @@ Example: The following Presentation part-relationship item contains a relationsh
```
-The root element for a part of this content type shall be presentationPr.
-
-Example:
+The root element for a part of this content type shall be presentationPr. Example:
```xml
@@ -222,8 +216,7 @@ The root element of the Slide part is the \ element.
As well as text and graphics, each slide can contain comments and notes, can have a layout, and can be part of one or more custom presentations. A comment is an annotation intended for the person maintaining the presentation slide deck. A note is a reminder or piece of text intended for the presenter or the audience.
-The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML PresentationML Slide part as
-follows:
+The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML PresentationML Slide part as follows:
A Slide part contains the contents of a single slide.
@@ -335,8 +328,7 @@ Example: theme1.xml contains the following, where the name attributes of the clr
```
-A Theme part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of
-the Relationship element shall be Internal).
+A Theme part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).
A Theme part is permitted to contain explicit relationships to the following parts defined by ISO/IEC 29500:
@@ -437,12 +429,9 @@ The root element for a part of this content type shall be notes. Example:
```
-A Notes Slide part shall be located within the package containing the
-relationships part (expressed syntactically, the TargetMode attribute of
-the Relationship element shall be Internal).
+A Notes Slide part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).
-A Notes Slide part is permitted to have implicit relationships to the
-following parts defined by ISO/IEC 29500:
+A Notes Slide part is permitted to have implicit relationships to the following parts defined by ISO/IEC 29500:
- Additional Characteristics (§15.2.1)
- Bibliography (§15.2.3)
@@ -510,8 +499,7 @@ A Handout Master part is permitted to have implicit relationships to the followi
- Theme (§14.2.7)
- Thumbnail (§15.2.16)
-A Handout Master part is permitted to have explicit relationships to the
-following parts defined by ISO/IEC 29500:
+A Handout Master part is permitted to have explicit relationships to the following parts defined by ISO/IEC 29500:
- Audio (§15.2.2)
- Chart (§14.2.1)
@@ -532,21 +520,14 @@ A Handout Master part shall not have implicit or explicit relationships to any o
The root element of the Comments part is the \ element.
-The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification describes the Open XML PresentationML Comments part as
+The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML PresentationML Comments part as
follows:
-An instance of this part type contains the comments for a single slide.
-Each comment is tied to its author via an author-ID. Each comment's
-index number and author-ID combination are unique.
+An instance of this part type contains the comments for a single slide. Each comment is tied to its author via an author-ID. Each comment's index number and author-ID combination are unique.
-A package shall contain one Comments part for each slide containing one
-or more comments, and each of those parts shall be the target of an
-implicit relationship from its corresponding Slide (§13.3.8) part.
+A package shall contain one Comments part for each slide containing one or more comments, and each of those parts shall be the target of an implicit relationship from its corresponding Slide (§13.3.8) part.
-Example: The following Slide part-relationship item contains a
-relationship to a Comments part, which is stored in the ZIP item
-../comments/comment2.xml:
+Example: The following Slide part-relationship item contains a relationship to a Comments part, which is stored in the ZIP item ../comments/comment2.xml:
```xml
@@ -558,10 +539,7 @@ relationship to a Comments part, which is stored in the ZIP item
The root element for a part of this content type shall be cmLst.
-Example: The Comments part contains three comments, two created by one
-author, and one created by another, all at the dates and times shown.
-The index numbers are assigned on a per-author basis, starting at 1 for
-an author's first comment:
+Example: The Comments part contains three comments, two created by one author, and one created by another, all at the dates and times shown. The index numbers are assigned on a per-author basis, starting at 1 for an author's first comment:
```xml
@@ -580,12 +558,9 @@ an author's first comment:
```
-A Comments part shall be located within the package containing the
-relationships part (expressed syntactically, the TargetMode attribute of
-the Relationship element shall be Internal).
+A Comments part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).
-A Comments part shall not have implicit or explicit relationships to any
-other part defined by ISO/IEC 29500.
+A Comments part shall not have implicit or explicit relationships to any other part defined by ISO/IEC 29500.
© ISO/IEC29500: 2008.
@@ -594,23 +569,13 @@ other part defined by ISO/IEC 29500.
The root element of the Comments Author part is the \
element.
-The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification describes the Open XML PresentationML Comments Author part
-as follows:
+The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML PresentationML Comments Author part as follows:
-An instance of this part type contains information about each author who
-has added a comment to the document. That information includes the
-author's name, initials, a unique author-ID, a last-comment-index-used
-count, and a display color. (The color can be used when displaying
-comments to distinguish comments from different authors.)
+An instance of this part type contains information about each author who has added a comment to the document. That information includes the author's name, initials, a unique author-ID, a last-comment-index-used count, and a display color. (The color can be used when displaying comments to distinguish comments from different authors.)
-A package shall contain at most one Comment Authors part. If it exists,
-that part shall be the target of an implicit relationship from the
-Presentation (§13.3.6) part.
+A package shall contain at most one Comment Authors part. If it exists, that part shall be the target of an implicit relationship from the Presentation (§13.3.6) part.
-Example: The following Presentation part relationship item contains a
-relationship to the Comment Authors part, which is stored in the ZIP
-item commentAuthors.xml:
+Example: The following Presentation part relationship item contains a relationship to the Comment Authors part, which is stored in the ZIP item commentAuthors.xml:
```xml
@@ -621,13 +586,7 @@ item commentAuthors.xml:
The root element for a part of this content type shall be cmAuthorLst.
-Example: Two people have authored comments in this document: Mary Smith
-and Peter Jones. Her initials are "mas", her author-ID is 0, and her
-comments' display color index is 0. Since Mary's last-comment-index-used
-value is 3, the next comment-index to be used for her is 4. His initials
-are "pjj", his author-ID is 1, and his comments' display color index is
-1. Since Peter's last-comment-index-used value is 1, the next
-comment-index to be used for him is 2:
+Example: Two people have authored comments in this document: Mary Smith and Peter Jones. Her initials are "mas", her author-ID is 0, and her comments' display color index is 0. Since Mary's last-comment-index-used value is 3, the next comment-index to be used for her is 4. His initials are "pjj", his author-ID is 1, and his comments' display color index is 1. Since Peter's last-comment-index-used value is 1, the next comment-index to be used for him is 2:
```xml
@@ -638,12 +597,9 @@ clrIdx="1"/>
```
-A Comment Authors part shall be located within the package containing
-the relationships part (expressed syntactically, the TargetMode
-attribute of the Relationship element shall be Internal).
+A Comment Authors part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).
-A Comment Authors part shall not have implicit or explicit relationships
-to any other part defined by ISO/IEC 29500.
+A Comment Authors part shall not have implicit or explicit relationships to any other part defined by ISO/IEC 29500.
© ISO/IEC29500: 2008.
@@ -664,6 +620,7 @@ Figure 1 shows the structure under the **ppt** folder of the .zip package for a
Figure 1. Minimum presentation folder structure

+
The presentation.xml file contains \ (Slide) elements that reference the slides in the presentation. Each slide is associated to the presentation by means of a slide ID and a relationship ID. The **slideID** is the identifier (ID) used within the package to identify a slide and must be unique within the presentation. The **id** attribute is the relationship ID that identifies the slide part definition associated with a slide. For more information about the slide part, see [Working with presentation slides (Open XML SDK)](working-with-presentation-slides.md).
The following XML code is the PresentationML that represents the presentation part of a presentation document that contains a single slide. This code is generated when you run the Open XML SDK 2.5 code to create a minimum presentation.
@@ -705,8 +662,7 @@ The following XML code is the PresentationML that represents the relationship pa
Id="rId5" />
```
-The following XML code is the PresentationML that represents the slide part of the presentation document. Each slide in a presentation has a
-slide part associated with it. This code is generated when you run the Open XML SDK 2.5 to create a minimum presentation.
+The following XML code is the PresentationML that represents the slide part of the presentation document. Each slide in a presentation has a slide part associated with it. This code is generated when you run the Open XML SDK 2.5 to create a minimum presentation.
```xml
From 5c43de24e2ac4e0a25d6ad32fee136f2c77c4631 Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Thu, 16 Sep 2021 13:53:43 -0700
Subject: [PATCH 026/275] Update structure-of-a-presentationml-document.md
---
docs/structure-of-a-presentationml-document.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/structure-of-a-presentationml-document.md b/docs/structure-of-a-presentationml-document.md
index c8c4e586..e3ebf1a5 100644
--- a/docs/structure-of-a-presentationml-document.md
+++ b/docs/structure-of-a-presentationml-document.md
@@ -30,7 +30,7 @@ Using the Open XML SDK 2.5, you can create document structure and content that u
| **Package Part** | **Top Level PresentationML Element** | **Open XML SDK 2.5 Class** | **Description**\* |
|-------------------------|--------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| Presentation | \ | [Presentation](dotnet/api/documentformat.openxml.presentation/presentation.xml) | The root element for the Presentation part. This element specifies within it fundamental presentation-wide properties. |
+| Presentation | \ | [Presentation](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.presentation?view=openxml-2.8.1) | The root element for the Presentation part. This element specifies within it fundamental presentation-wide properties. |
| Presentation Properties | \ | [PresentationProperties](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.presentationproperties?view=openxml-2.8.1) | The root element for the Presentation Properties part. This element functions as a parent element within which additional presentation-wide document properties are contained. |
| Slide Master | \ | [SlideMaster](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.slidemaster?view=openxml-2.8.1) | The root element for the Slide Master part. Within a slide master slide are contained all elements that describe the objects and their corresponding formatting for within a presentation slide. For more information, see [Working with slide masters (Open XML SDK)](working-with-slide-masters.md). |
| Slide Layout | \ | [SlideLayout](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.slidelayout?view=openxml-2.8.1) | The root element for the Slide Layout part. This element specifies the relationship information for each slide layout that is used within the slide master. For more information, see [Working with slide layouts (Open XML SDK)](working-with-slide-layouts.md). |
From e1268e23e82d2bf6a0add8e16129f44d3fbdf432 Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Thu, 16 Sep 2021 15:42:27 -0700
Subject: [PATCH 027/275] Update structure-of-a-presentationml-document.md
Fix version
---
.../structure-of-a-presentationml-document.md | 35 ++++++++++---------
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git a/docs/structure-of-a-presentationml-document.md b/docs/structure-of-a-presentationml-document.md
index e3ebf1a5..7c365747 100644
--- a/docs/structure-of-a-presentationml-document.md
+++ b/docs/structure-of-a-presentationml-document.md
@@ -12,6 +12,7 @@ ms.topic: conceptual
ms.date: 09/16/2021
ms.localizationpriority: high
---
+
# Structure of a PresentationML document (Open XML SDK)
The document structure of a PresentationML document consists of the \ (Presentation) element that contains \ (Slide Master), \ (Slide Layout), \ (Slide), and \ (Theme) elements that reference the slides in the presentation. (The Theme element is the root element of the DrawingMLTheme part.) These elements are the minimum elements required for a valid presentation document.
@@ -22,22 +23,20 @@ Other features that a PresentationML document can contain include the following:
A PresentationML document is not stored as one large body in a single part. Instead, the elements that implement certain groupings of functionality are stored in separate parts. For example, all comments in a document are stored in one comment part, while each slide has its own part. A separate XML file is created for each slide.
+## Important Presentation Parts
-## Important Presentation Parts
-
-Using the Open XML SDK 2.5, you can create document structure and content that uses strongly-typed classes that correspond to PresentationML elements. You can find these classes in the **[DocumentFormat.OpenXml.Presentation](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.aspx)** namespace. The following table lists the class names of the classes that correspond to some of the important presentation elements.
-
+Using the Open XML SDK 2.5, you can create document structure and content that uses strongly-typed classes that correspond to PresentationML elements. You can find these classes in the **[DocumentFormat.OpenXml.Presentation](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation?view=openxml-2.8.1&preserve-view=true)** namespace. The following table lists the class names of the classes that correspond to some of the important presentation elements.
| **Package Part** | **Top Level PresentationML Element** | **Open XML SDK 2.5 Class** | **Description**\* |
|-------------------------|--------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| Presentation | \ | [Presentation](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.presentation?view=openxml-2.8.1) | The root element for the Presentation part. This element specifies within it fundamental presentation-wide properties. |
-| Presentation Properties | \ | [PresentationProperties](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.presentationproperties?view=openxml-2.8.1) | The root element for the Presentation Properties part. This element functions as a parent element within which additional presentation-wide document properties are contained. |
-| Slide Master | \ | [SlideMaster](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.slidemaster?view=openxml-2.8.1) | The root element for the Slide Master part. Within a slide master slide are contained all elements that describe the objects and their corresponding formatting for within a presentation slide. For more information, see [Working with slide masters (Open XML SDK)](working-with-slide-masters.md). |
-| Slide Layout | \ | [SlideLayout](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.slidelayout?view=openxml-2.8.1) | The root element for the Slide Layout part. This element specifies the relationship information for each slide layout that is used within the slide master. For more information, see [Working with slide layouts (Open XML SDK)](working-with-slide-layouts.md). |
-| Theme | \ | [Theme](https://docs.microsoft.com/dotnet/api/documentformat.openxml.drawing.theme?view=openxml-2.8.1) | The root element for the Theme part. This element holds all the different formatting options available to a document through a theme and defines the overall look and feel of the document when themed objects are used within the document. |
-| Slide | \ | [Slide](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.slide?view=openxml-2.8.1) | The root element for the Slide part. This element specifies a slide within a slide list. For more information, see [Working with presentation slides (Open XML SDK)](working-with-presentation-slides.md). |
-| Notes Master | \ | [NotesMaster](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.notesmaster?view=openxml-2.8.1) | The root element for the Notes Master part. Within a notes master slide are contained all elements that describe the objects and their corresponding formatting for within a notes slide. |
-| Notes Slide | \ | [NotesSlide](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.notesslide?view=openxml-2.8.1) | The root element of the Notes Slide part. This element specifies the existence of a notes slide along with its corresponding data. Contained within a notes slide are all the common slide elements along with addition properties that are specific to the notes element. For more information, see [Working with notes slides (Open XML SDK)](working-with-notes-slides.md). |
+| Presentation | \ | [Presentation](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.presentation?view=openxml-2.8.1&preserve-view=true) | The root element for the Presentation part. This element specifies within it fundamental presentation-wide properties. |
+| Presentation Properties | \ | [PresentationProperties](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.presentationproperties?view=openxml-2.8.1&preserve-view=true) | The root element for the Presentation Properties part. This element functions as a parent element within which additional presentation-wide document properties are contained. |
+| Slide Master | \ | [SlideMaster](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.slidemaster?view=openxml-2.8.1&preserve-view=true) | The root element for the Slide Master part. Within a slide master slide are contained all elements that describe the objects and their corresponding formatting for within a presentation slide. For more information, see [Working with slide masters (Open XML SDK)](working-with-slide-masters.md). |
+| Slide Layout | \ | [SlideLayout](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.slidelayout?view=openxml-2.8.1&preserve-view=true) | The root element for the Slide Layout part. This element specifies the relationship information for each slide layout that is used within the slide master. For more information, see [Working with slide layouts (Open XML SDK)](working-with-slide-layouts.md). |
+| Theme | \ | [Theme](https://docs.microsoft.com/dotnet/api/documentformat.openxml.drawing.theme?view=openxml-2.8.1&preserve-view=true) | The root element for the Theme part. This element holds all the different formatting options available to a document through a theme and defines the overall look and feel of the document when themed objects are used within the document. |
+| Slide | \ | [Slide](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.slide?view=openxml-2.8.1&preserve-view=true) | The root element for the Slide part. This element specifies a slide within a slide list. For more information, see [Working with presentation slides (Open XML SDK)](working-with-presentation-slides.md). |
+| Notes Master | \ | [NotesMaster](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.notesmaster?view=openxml-2.8.1&preserve-view=true) | The root element for the Notes Master part. Within a notes master slide are contained all elements that describe the objects and their corresponding formatting for within a notes slide. |
+| Notes Slide | \ | [NotesSlide](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.notesslide?view=openxml-2.8.1&preserve-view=true) | The root element of the Notes Slide part. This element specifies the existence of a notes slide along with its corresponding data. Contained within a notes slide are all the common slide elements along with addition properties that are specific to the notes element. For more information, see [Working with notes slides (Open XML SDK)](working-with-notes-slides.md). |
| Handout Master | \ | [HandoutMaster](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.handoutmaster?redirectedfrom=MSDN&view=openxml-2.8.1) | The root element of the Handout Master part. Within a handout master slide are contained all elements that describe the objects and their corresponding formatting for within a handout slide. For more information, see [Working with handout master slides (Open XML SDK)](working-with-handout-master-slides.md). |
| Comments | \ | [CommentList](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.commentlist?redirectedfrom=MSDN&view=openxml-2.8.1) | The root element of the Comments part. This element specifies a list of comments for a particular slide. For more information, see [Working with comments (Open XML SDK)](working-with-comments.md). |
| Comments Author | \ | [CommentAuthorList](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.commentauthorlist?redirectedfrom=MSDN&view=openxml-2.8.1) | The root element of the Comments Author part. This element specifies a list of authors with comments in the current document. For more information, see [Working with comments (Open XML SDK)](working-with-comments.md). |
@@ -603,7 +602,7 @@ A Comment Authors part shall not have implicit or explicit relationships to any
© ISO/IEC29500: 2008.
-## The Structure of a Minimum Presentation File
+## The Structure of a Minimum Presentation File
Now that you are familiar with the parts of a PresentationML document, consider how some of these parts are implemented and connected in an actual presentation file. As shown in the article [How to: Create a presentation document by providing a file name](how-to-create-a-presentation-document-by-providing-a-file-name.md), you can use the Open XML API to build up a minimum presentation file, part by part.
@@ -611,7 +610,7 @@ A minimum presentation file consists of a presentation part, represented by the
The packaging structure of a presentation document contains several references between the parts, including some circular references. For example, slide layouts reference slide masters, and slide masters reference slide layouts.
-## Generated PresentationML XML Code
+## Generated PresentationML XML Code
After you run the Open XML SDK 2.5 code to generate a presentation, you can explore the contents of the .zip package to view the PresentationML XML code. To view the .zip package, rename the extension on the minimum presentation from **.pptx** to **.zip**. Inside the .zip package, there are several parts that make up the minimum presentation.
@@ -620,7 +619,7 @@ Figure 1 shows the structure under the **ppt** folder of the .zip package for a
Figure 1. Minimum presentation folder structure

-
+
The presentation.xml file contains \ (Slide) elements that reference the slides in the presentation. Each slide is associated to the presentation by means of a slide ID and a relationship ID. The **slideID** is the identifier (ID) used within the package to identify a slide and must be unique within the presentation. The **id** attribute is the relationship ID that identifies the slide part definition associated with a slide. For more information about the slide part, see [Working with presentation slides (Open XML SDK)](working-with-presentation-slides.md).
The following XML code is the PresentationML that represents the presentation part of a presentation document that contains a single slide. This code is generated when you run the Open XML SDK 2.5 code to create a minimum presentation.
@@ -646,6 +645,7 @@ The following XML code is the PresentationML that represents the presentation pa
```
+
The following XML code is the PresentationML that represents the relationship part of the presentation document. This code is generated when you run the Open XML SDK 2.5 to create a minimum presentation.
```xml
@@ -662,6 +662,7 @@ The following XML code is the PresentationML that represents the relationship pa
Id="rId5" />
```
+
The following XML code is the PresentationML that represents the slide part of the presentation document. Each slide in a presentation has a slide part associated with it. This code is generated when you run the Open XML SDK 2.5 to create a minimum presentation.
```xml
@@ -707,7 +708,7 @@ The following XML code is the PresentationML that represents the slide part of t
```
-## Typical Presentation Scenario
+## Typical Presentation Scenario
A typical presentation does not have a minimum configuration. A typical presentation might contain several slides, each of which references slide layouts and slide masters, and which might contain comments. In addition, a presentation might contain handouts and notes slides, each of which is represented by separate parts. These additional parts are contained within the .zip package of the presentation document.
@@ -717,7 +718,7 @@ Figure 2. Elements of a PresentationML file

-## See also
+## See also
[How to: Create a presentation document by providing a file name (Open XML SDK)](how-to-create-a-presentation-document-by-providing-a-file-name.md)
[Working with presentations (Open XML SDK)](working-with-presentations.md)
From 9617be4171fc5bdb29231859973284cafd538a7b Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Thu, 16 Sep 2021 15:52:55 -0700
Subject: [PATCH 028/275] fix build errors
preserve version
---
...all-revisions-in-a-word-processing-document.md | 2 +-
...to-get-worksheet-information-from-a-package.md | 15 ++++++---------
docs/includes/addinsnote.md | 2 +-
3 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/docs/how-to-accept-all-revisions-in-a-word-processing-document.md b/docs/how-to-accept-all-revisions-in-a-word-processing-document.md
index c432e2d4..f13c7209 100644
--- a/docs/how-to-accept-all-revisions-in-a-word-processing-document.md
+++ b/docs/how-to-accept-all-revisions-in-a-word-processing-document.md
@@ -507,4 +507,4 @@ The following is the complete sample code in both C\# and Visual Basic.
## See also
- [Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
-- [Accepting Revisions in Open XML Word-Processing Documents](https://docs.microsoft.com/previous-versions/office/developer/office-2007/ee836138(v=office.12))
+- [Accepting Revisions in Open XML Word-Processing Documents](https://docs.microsoft.com/previous-versions/office/developer/office-2007/ee836138(v=office.12)&preserve-view=true)
diff --git a/docs/how-to-get-worksheet-information-from-a-package.md b/docs/how-to-get-worksheet-information-from-a-package.md
index dbdda384..bffbdb47 100644
--- a/docs/how-to-get-worksheet-information-from-a-package.md
+++ b/docs/how-to-get-worksheet-information-from-a-package.md
@@ -56,9 +56,9 @@ The **using** statement provides a recommended alternative to the typical .Open,
## Basic Structure of a SpreadsheetML
-The basic document structure of a **SpreadsheetML** document consists of the **[Sheets](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.sheets?view=openxml-2.8.1)** and **[Sheet](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.sheet?view=openxml-2.8.1)** elements, which reference the
-worksheets in the **[Workbook](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.workbook?view=openxml-2.8.1)**. A separate XML file is created
-for each **[Worksheet](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.worksheet?view=openxml-2.8.1)**. For example, the **SpreadsheetML** for a workbook that has two worksheets name MySheet1 and MySheet2 is located in the Workbook.xml file and is shown in the following code example.
+The basic document structure of a **SpreadsheetML** document consists of the **[Sheets](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.sheets?view=openxml-2.8.1&preserve-view=true)** and **[Sheet](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.sheet?view=openxml-2.8.1&preserve-view=true)** elements, which reference the
+worksheets in the **[Workbook](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.workbook?view=openxml-2.8.1&preserve-view=true)**. A separate XML file is created
+for each **[Worksheet](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.worksheet?view=openxml-2.8.1&preserve-view=true)**. For example, the **SpreadsheetML** for a workbook that has two worksheets name MySheet1 and MySheet2 is located in the Workbook.xml file and is shown in the following code example.
```xml
@@ -70,7 +70,7 @@ for each **[Worksheet](https://docs.microsoft.com/dotnet/api/documentformat.open
```
-The worksheet XML files contain one or more block level elements such as **SheetData**. **[SheetData](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.sheetdata?view=openxml-2.8.1)** represents the cell table and contains one or more **[Row](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.row?view=openxml-2.8.1)** elements. A **row** contains one or more **[Cell](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.cell?view=openxml-2.8.1)** elements. Each cell contains a **[CellValue](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.cellvalue?view=openxml-2.8.1)** element that represents the value of the cell. For example, the SpreadsheetML for the first worksheet in a workbook, that only has the value 100 in cell A1, is located in the Sheet1.xml file and is shown in the following code example.
+The worksheet XML files contain one or more block level elements such as **SheetData**. **[SheetData](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.sheetdata?view=openxml-2.8.1&preserve-view=true)** represents the cell table and contains one or more **[Row](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.row?view=openxml-2.8.1)&preserve-view=true** elements. A **row** contains one or more **[Cell](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.cell?view=openxml-2.8.1&preserve-view=true)** elements. Each cell contains a **[CellValue](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.cellvalue?view=openxml-2.8.1&preserve-view=true)** element that represents the value of the cell. For example, the SpreadsheetML for the first worksheet in a workbook, that only has the value 100 in cell A1, is located in the Sheet1.xml file and is shown in the following code example.
```xml
@@ -99,7 +99,6 @@ classes in the **DocumentFormat.OpenXML.Spreadsheet** namespace. The following t
| c | DocumentFormat.OpenXml.Spreadsheet.Cell | A cell in a row. |
| v | DocumentFormat.OpenXml.Spreadsheet.CellValue | The value of a cell. |
-
## How the Sample Code Works
After you have opened the file for read-only access, you instantiate the **Sheets** class.
@@ -112,7 +111,7 @@ After you have opened the file for read-only access, you instantiate the **Sheet
Dim sheets As S = mySpreadsheet.WorkbookPart.Workbook.Sheets
```
-You then you iterate through the **Sheets** collection and display **[OpenXmlElement](https://docs.microsoft.com/dotnet/api/documentformat.openxml.openxmlelement?view=openxml-2.8.1)** and the **[OpenXmlAttribute](https://docs.microsoft.com/dotnet/api/documentformat.openxml.openxmlattribute?view=openxml-2.8.1)** in each element.
+You then you iterate through the **Sheets** collection and display **[OpenXmlElement](https://docs.microsoft.com/dotnet/api/documentformat.openxml.openxmlelement?view=openxml-2.8.1&preserve-view=true)** and the **[OpenXmlAttribute](https://docs.microsoft.com/dotnet/api/documentformat.openxml.openxmlattribute?view=openxml-2.8.1&preserve-view=true)** in each element.
```csharp
foreach (E sheet in sheets)
@@ -134,7 +133,6 @@ You then you iterate through the **Sheets** collection and display **[OpenXmlEle
By displaying the attribute information you get the name and ID for each worksheet in the spreadsheet file.
-
## Sample Code
In the following code example, you retrieve and display the attributes of the all sheets in the specified workbook contained in a **SpreadsheetDocument** document. The following code example shows how to call the **GetSheetInfo** method.
@@ -187,5 +185,4 @@ The following is the complete code sample in both C\# and Visual Basic.
## See also
-[Open XML SDK 2.5 class library
-reference](/office/open-xml/open-xml-sdk.md)
+[Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk.md)
diff --git a/docs/includes/addinsnote.md b/docs/includes/addinsnote.md
index 235cdbbe..062131ff 100644
--- a/docs/includes/addinsnote.md
+++ b/docs/includes/addinsnote.md
@@ -1,2 +1,2 @@
> [!NOTE]
-> Interested in developing solutions that extend the Office experience across multiple platforms? Check out the new [Office Add-ins model](https://docs.microsoft.com/office/dev/add-ins/overview/office-add-ins). Office Add-ins have a small footprint compared to VSTO Add-ins and solutions, and you can build them by using almost any web programming technology, such as HTML5, JavaScript, CSS3, and XML.
+> Interested in developing solutions that extend the Office experience across multiple platforms? Check out the new [Office Add-ins model](/office/dev/add-ins/overview/office-add-ins.md). Office Add-ins have a small footprint compared to VSTO Add-ins and solutions, and you can build them by using almost any web programming technology, such as HTML5, JavaScript, CSS3, and XML.
From bd2543dbaa144d6d97c92d12f8ff944c4bfeacf9 Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Fri, 17 Sep 2021 07:12:26 -0700
Subject: [PATCH 029/275] Update
how-to-get-worksheet-information-from-a-package.md
---
docs/how-to-get-worksheet-information-from-a-package.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/how-to-get-worksheet-information-from-a-package.md b/docs/how-to-get-worksheet-information-from-a-package.md
index bffbdb47..730fbe43 100644
--- a/docs/how-to-get-worksheet-information-from-a-package.md
+++ b/docs/how-to-get-worksheet-information-from-a-package.md
@@ -9,7 +9,7 @@ ms.suite: office
ms.author: o365devx
author: o365devx
ms.topic: conceptual
-ms.date: 11/01/2017
+ms.date: 09/17/2021
ms.localizationpriority: high
---
# Get worksheet information from an Open XML package (Open XML SDK)
@@ -38,7 +38,7 @@ The following assembly directives are required to compile the code in this topic
In the Open XML SDK, the **[SpreadsheetDocument](/dotnet/api/documentformat.openxml.packaging.spreadsheetdocument.md)** class represents an Excel document package. To create an Excel document, you create an instance of the **SpreadsheetDocument** class and populate it with parts. At a minimum, the document must have a workbook part that serves as a container for the document, and at least one worksheet part. The text is represented in the package as XML using **SpreadsheetML** markup.
-To create the class instance from the document you call one of the **[Open](/dotnet/api/documentformat.openxml.packaging.spreadsheetdocument.open.md)** methods. In this example, you must open the file for read access only. Therefore, you can use the **[Open(String, Boolean)](https://docs.microsoft.com/dotnet/api/documentformat.openxml.packaging.spreadsheetdocument.open?view=openxml-2.8.1#DocumentFormat_OpenXml_Packaging_SpreadsheetDocument_Open_System_String_System_Boolean_)** method, and set the Boolean parameter to **false**.
+To create the class instance from the document you call one of the **[Open](/dotnet/api/documentformat.openxml.packaging.spreadsheetdocument.open.md)** methods. In this example, you must open the file for read access only. Therefore, you can use the **[Open(String, Boolean)](https://docs.microsoft.com/dotnet/api/documentformat.openxml.packaging.spreadsheetdocument.open?view=openxml-2.8.1&preserve-view=true #DocumentFormat_OpenXml_Packaging_SpreadsheetDocument_Open_System_String_System_Boolean_)** method, and set the Boolean parameter to **false**.
The following code example calls the **Open** method to open the file specified by the **filepath** for read-only access.
@@ -70,7 +70,7 @@ for each **[Worksheet](https://docs.microsoft.com/dotnet/api/documentformat.open
```
-The worksheet XML files contain one or more block level elements such as **SheetData**. **[SheetData](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.sheetdata?view=openxml-2.8.1&preserve-view=true)** represents the cell table and contains one or more **[Row](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.row?view=openxml-2.8.1)&preserve-view=true** elements. A **row** contains one or more **[Cell](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.cell?view=openxml-2.8.1&preserve-view=true)** elements. Each cell contains a **[CellValue](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.cellvalue?view=openxml-2.8.1&preserve-view=true)** element that represents the value of the cell. For example, the SpreadsheetML for the first worksheet in a workbook, that only has the value 100 in cell A1, is located in the Sheet1.xml file and is shown in the following code example.
+The worksheet XML files contain one or more block level elements such as **SheetData**. **[SheetData](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.sheetdata?view=openxml-2.8.1&preserve-view=true)** represents the cell table and contains one or more **[Row](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.row?view=openxml-2.8.1&preserve-view=true )** elements. A **row** contains one or more **[Cell](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.cell?view=openxml-2.8.1&preserve-view=true)** elements. Each cell contains a **[CellValue](https://docs.microsoft.com/dotnet/api/documentformat.openxml.spreadsheet.cellvalue?view=openxml-2.8.1&preserve-view=true)** element that represents the value of the cell. For example, the SpreadsheetML for the first worksheet in a workbook, that only has the value 100 in cell A1, is located in the Sheet1.xml file and is shown in the following code example.
```xml
From 385e5ad0abffcf2534c5a26ec0f6c02f4e0ec8b5 Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Fri, 17 Sep 2021 07:13:16 -0700
Subject: [PATCH 030/275] Update structure-of-a-presentationml-document.md
---
docs/structure-of-a-presentationml-document.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/structure-of-a-presentationml-document.md b/docs/structure-of-a-presentationml-document.md
index 7c365747..d79db7ba 100644
--- a/docs/structure-of-a-presentationml-document.md
+++ b/docs/structure-of-a-presentationml-document.md
@@ -37,9 +37,9 @@ Using the Open XML SDK 2.5, you can create document structure and content that u
| Slide | \ | [Slide](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.slide?view=openxml-2.8.1&preserve-view=true) | The root element for the Slide part. This element specifies a slide within a slide list. For more information, see [Working with presentation slides (Open XML SDK)](working-with-presentation-slides.md). |
| Notes Master | \ | [NotesMaster](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.notesmaster?view=openxml-2.8.1&preserve-view=true) | The root element for the Notes Master part. Within a notes master slide are contained all elements that describe the objects and their corresponding formatting for within a notes slide. |
| Notes Slide | \ | [NotesSlide](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.notesslide?view=openxml-2.8.1&preserve-view=true) | The root element of the Notes Slide part. This element specifies the existence of a notes slide along with its corresponding data. Contained within a notes slide are all the common slide elements along with addition properties that are specific to the notes element. For more information, see [Working with notes slides (Open XML SDK)](working-with-notes-slides.md). |
-| Handout Master | \ | [HandoutMaster](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.handoutmaster?redirectedfrom=MSDN&view=openxml-2.8.1) | The root element of the Handout Master part. Within a handout master slide are contained all elements that describe the objects and their corresponding formatting for within a handout slide. For more information, see [Working with handout master slides (Open XML SDK)](working-with-handout-master-slides.md). |
-| Comments | \ | [CommentList](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.commentlist?redirectedfrom=MSDN&view=openxml-2.8.1) | The root element of the Comments part. This element specifies a list of comments for a particular slide. For more information, see [Working with comments (Open XML SDK)](working-with-comments.md). |
-| Comments Author | \ | [CommentAuthorList](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.commentauthorlist?redirectedfrom=MSDN&view=openxml-2.8.1) | The root element of the Comments Author part. This element specifies a list of authors with comments in the current document. For more information, see [Working with comments (Open XML SDK)](working-with-comments.md). |
+| Handout Master | \ | [HandoutMaster](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.handoutmaster?redirectedfrom=MSDN&view=openxml-2.8.1&preserve-view=true ) | The root element of the Handout Master part. Within a handout master slide are contained all elements that describe the objects and their corresponding formatting for within a handout slide. For more information, see [Working with handout master slides (Open XML SDK)](working-with-handout-master-slides.md). |
+| Comments | \ | [CommentList](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.commentlist?redirectedfrom=MSDN&view=openxml-2.8.1&preserve-view=true ) | The root element of the Comments part. This element specifies a list of comments for a particular slide. For more information, see [Working with comments (Open XML SDK)](working-with-comments.md). |
+| Comments Author | \ | [CommentAuthorList](https://docs.microsoft.com/dotnet/api/documentformat.openxml.presentation.commentauthorlist?redirectedfrom=MSDN&view=openxml-2.8.1&preserve-view=true ) | The root element of the Comments Author part. This element specifies a list of authors with comments in the current document. For more information, see [Working with comments (Open XML SDK)](working-with-comments.md). |
*Descriptions adapted from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification, © ISO/IEC29500: 2008.
From 4ca8b5ff0722a8def8b85fd0fdbbcbe4acfbeef9 Mon Sep 17 00:00:00 2001
From: David Chesnut
Date: Mon, 14 Feb 2022 18:33:34 -0800
Subject: [PATCH 031/275] update with existing
.openpublishing.publish.config.json
---
.openpublishing.publish.config.json | 31 +++++++++++++++--------------
1 file changed, 16 insertions(+), 15 deletions(-)
diff --git a/.openpublishing.publish.config.json b/.openpublishing.publish.config.json
index 1c03ef3d..5e32ffad 100644
--- a/.openpublishing.publish.config.json
+++ b/.openpublishing.publish.config.json
@@ -22,6 +22,21 @@
"template_folder": "_themes"
}
],
+ "notification_subscribers": [],
+ "sync_notification_subscribers": null,
+ "branches_to_filter": [],
+ "skip_source_output_uploading": false,
+ "need_preview_pull_request": false,
+ "contribution_branch_mappings": {},
+ "dependent_repositories": [
+ {
+ "path_to_root": "_themes",
+ "url": "https://github.com/Microsoft/templates.docs.msft",
+ "branch": "main",
+ "branch_mapping": {}
+ }
+ ],
+ "branch_target_mapping": {},
"JoinTOCPlugin": [
{
"ConceptualTOC": "docs/toc.yml",
@@ -37,22 +52,8 @@
"version": "latest"
}
],
- "notification_subscribers": [],
- "branches_to_filter": [],
- "skip_source_output_uploading": false,
- "need_preview_pull_request": false,
- "contribution_branch_mappings": {},
- "dependent_repositories": [
- {
- "path_to_root": "_themes",
- "url": "https://github.com/Microsoft/templates.docs.msft",
- "branch": "master",
- "branch_mapping": {}
- }
- ],
- "branch_target_mapping": {},
"need_generate_pdf_url_template": false,
"docs_build_engine": {
"name": "docfx_v3"
}
-}
+}
\ No newline at end of file
From e711382d7f329b8def65b226b72fe8e517fa8f79 Mon Sep 17 00:00:00 2001
From: Matthew Steeples
Date: Mon, 28 Feb 2022 11:19:57 +0000
Subject: [PATCH 032/275] Remove unnecessary HTML tag
---
docs/getting-started.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 837c26e6..b14ded62 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -5,7 +5,7 @@ api_name:
api_type:
- schema
ms.assetid: 7b729dda-bbb6-437e-93d6-7bfe7b8183fa
-title: Getting started with the Open XML SDK 2.5 for Office
+title: Getting started with the Open XML SDK 2.5 for Office
ms.suite: office
ms.author: o365devx
From 1c7ac380c4f1108badf6d622ec78a5143e9f893c Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Fri, 4 Mar 2022 22:25:50 -0800
Subject: [PATCH 033/275] Fix formatting
Spacing, tables, line breaks, H2s
---
docs/about-the-open-xml-sdk.md | 83 ++----
docs/getting-started.md | 14 +-
...w-to-delete-a-slide-from-a-presentation.md | 2 +-
...elete-text-from-a-cell-in-a-spreadsheet.md | 2 +-
...ow-to-insert-a-chart-into-a-spreadsheet.md | 16 +-
...-insert-a-new-slide-into-a-presentation.md | 6 +-
...he-header-in-a-word-processing-document.md | 2 +-
docs/working-with-handout-master-slides.md | 6 +-
docs/working-with-notes-slides.md | 4 +-
docs/working-with-slide-masters.md | 239 ++++--------------
10 files changed, 109 insertions(+), 265 deletions(-)
diff --git a/docs/about-the-open-xml-sdk.md b/docs/about-the-open-xml-sdk.md
index 900969d8..90b330d7 100644
--- a/docs/about-the-open-xml-sdk.md
+++ b/docs/about-the-open-xml-sdk.md
@@ -1,5 +1,4 @@
---
-
api_name:
- Microsoft.Office.DocumentFormat.OpenXML.Packaging
api_type:
@@ -7,7 +6,6 @@ api_type:
ms.assetid: 620e86b5-49f2-43dc-85d4-9c7456c09552
title: About the Open XML SDK 2.5 for Office
ms.suite: office
-
ms.author: o365devx
author: o365devx
ms.topic: conceptual
@@ -31,57 +29,38 @@ Structurally, an Open XML document is an Open Packaging Conventions (OPC) packag
Word processing documents are described by using WordprocessingML markup. For more information, see [Working with WordprocessingML documents (Open XML SDK)](working-with-wordprocessingml-documents.md). A WordprocessingML document is composed of a collection of stories where each story is one of the following:
-- Main document (the only required story)
-
-- Glossary document
-
-- Header and footer
-
-- Comments
-
-- Text box
-
-- Footnote and endnote
+- Main document (the only required story)
+- Glossary document
+- Header and footer
+- Comments
+- Text box
+- Footnote and endnote
Presentations are described by using PresentationML markup. For more information, see [Working with PresentationML documents (Open XML SDK)](working-with-presentationml-documents.md). Presentation packages can contain the following document parts:
-- Slide master
-
-- Notes master
-
-- Handout master
-
-- Slide layout
-
-- Notes
+- Slide master
+- Notes master
+- Handout master
+- Slide layout
+- Notes
Spreadsheet workbooks are described by using SpreadsheetML markup. For more information, see [Working with SpreadsheetML documents (Open XML SDK)](working-with-spreadsheetml-documents.md). Workbook packages can contain:
-- Workbook part (required part)
-
-- One or more worksheets
-
-- Charts
-
-- Tables
-
-- Custom XML
-
+- Workbook part (required part)
+- One or more worksheets
+- Charts
+- Tables
+- Custom XML
## Open XML SDK 1.0
Version 1 of the Open XML SDK simplified the manipulation of Open XML packages. The Open XML SDK Application Programming Interface (API) encapsulates many of the common tasks that you typically perform on Open XML packages, so you can perform complex operations with just a few lines of code. Some common tasks:
-- **Search**—With a few lines of code, you can search a collection of Excel 2007 worksheets for some arbitrary data.
-
-- **Document assembly**—You can create documents by combining the document parts of existing documents programmatically. For example, you can pull slides from various PowerPoint 2007 presentations to create a single presentation.
-
-- **Validation**—With a few lines of code, you can validate the document parts in a package or validate an entire package against a schema.
-
-- **Data update**—With the Open XML object model, you can easily modify the data in multiple packages.
-
-- **Privacy**—With a few lines of code, you can remove comments and other personal information from a document before it is distributed.
-
+- **Search** With a few lines of code, you can search a collection of Excel 2007 worksheets for some arbitrary data.
+- **Document assembly** You can create documents by combining the document parts of existing documents programmatically. For example, you can pull slides from various PowerPoint 2007 presentations to create a single presentation.
+- **Validation** With a few lines of code, you can validate the document parts in a package or validate an entire package against a schema.
+- **Data update** With the Open XML object model, you can easily modify the data in multiple packages.
+- **Privacy** With a few lines of code, you can remove comments and other personal information from a document before it is distributed.
## Open XML SDK 2.0 for Microsoft Office
@@ -89,12 +68,9 @@ The Open XML SDK 2.0 for Microsoft Office extended the strongly typed class supp
The SDK supports the following common tasks/scenarios:
-- **Strongly Typed Classes and Objects**—Instead of relying on generic XML functionality to manipulate XML, which requires that you be aware of element/attribute/value spelling as well as namespaces, you can use the Open XML SDK to accomplish the same solution simply by manipulating objects that represent elements/attributes/values. All schema types are represented as strongly typed Common Language Runtime (CLR) classes and all attribute values as enumerations.
-
-- **Content Construction, Search, and Manipulation**—The LINQ technology is built directly into the SDK. As a result, you are able to perform functional constructs and lambda expression queries directly on objects representing Open XML elements. In addition, the SDK allows you to easily traverse and manipulate content by providing support for collections of objects, like tables and paragraphs.
-
-- **Validation**—The Open XML SDK 2.0 for Microsoft Office provides validation functionality, enabling you to validate Open XML documents against different variations of the Open XML Format.
-
+- **Strongly Typed Classes and Objects** Instead of relying on generic XML functionality to manipulate XML, which requires that you be aware of element/attribute/value spelling as well as namespaces, you can use the Open XML SDK to accomplish the same solution simply by manipulating objects that represent elements/attributes/values. All schema types are represented as strongly typed Common Language Runtime (CLR) classes and all attribute values as enumerations.
+- **Content Construction, Search, and Manipulation** The LINQ technology is built directly into the SDK. As a result, you are able to perform functional constructs and lambda expression queries directly on objects representing Open XML elements. In addition, the SDK allows you to easily traverse and manipulate content by providing support for collections of objects, like tables and paragraphs.
+- **Validation** The Open XML SDK 2.0 for Microsoft Office provides validation functionality, enabling you to validate Open XML documents against different variations of the Open XML Format.
## Open XML SDK 2.5 for Office
@@ -102,11 +78,8 @@ The Open XML SDK 2.5 provides the namespaces and members to support the Microsof
The SDK supports the following common tasks/scenarios:
-- **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.
-
-- **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.
-
-- **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.
-
-You can find more information about these and other new features of the Open XML SDK 2.5 in the [What's new in the Open XML SDK 2.5 for Office](what-s-new-in-the-open-xml-sdk.md) article.
+- **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.
+- **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.
+- **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.
+For more information about these and other new features of the Open XML SDK 2.5, see [What's new in the Open XML SDK 2.5 for Office](what-s-new-in-the-open-xml-sdk.md).
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 837c26e6..58d59cd7 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -22,22 +22,24 @@ The Open XML SDK 2.5 for Office simplifies the task of manipulating Open XML pac
[!include[Add-ins note](./includes/addinsnote.md)]
------------------------------------------------------------
+
## Using the Classes in the Open XML SDK
+
Using the classes in the Open XML SDK 2.5 is simple. When you have installed the Open XML SDK 2.5, open your existing project or application in Visual Studio, or create a new project or application. Then, in your project or application, add references to the following components.
-- **DocumentFormat.OpenXml**
+- **DocumentFormat.OpenXml**
-- **WindowsBase**
+- **WindowsBase**
### To add a reference in a Microsoft Visual Studio 2008 project
-1. In Solution Explorer, right-click **References** and then click **Add Reference**. If the **References** node is not visible, click **Project** and then click **Show All Files**.
+1. In Solution Explorer, right-click **References** and then click **Add Reference**. If the **References** node is not visible, click **Project** and then click **Show All Files**.
-2. In the **Add Reference** dialog box, click **.NET**.
+2. In the **Add Reference** dialog box, click **.NET**.
-3. In the Component Name column, select the components (scroll if you need to), and then click **OK**.
+3. In the Component Name column, select the components (scroll if you need to), and then click **OK**.
> [!TIP]
-> To select more than one component, hold down the Ctrl key and click each component.
+> To select more than one component, hold down the **Ctrl** key and click each component.
The added components are displayed in the References section in Solution Explorer.
diff --git a/docs/how-to-delete-a-slide-from-a-presentation.md b/docs/how-to-delete-a-slide-from-a-presentation.md
index 09c840e5..28696840 100644
--- a/docs/how-to-delete-a-slide-from-a-presentation.md
+++ b/docs/how-to-delete-a-slide-from-a-presentation.md
@@ -710,7 +710,7 @@ Following is the complete sample code in both C\# and Visual Basic.
If (Not (presentation.CustomShowList) Is Nothing) Then
' Iterate through the list of custom shows.
- For Each customShow As System.Object In presentation.CustomShowList.Elements(Of _
+ For Each customShow As System.Object In presentation.CustomShowList.Elements(Of _
DocumentFormat.OpenXml.Presentation.CustomShow)()
If (Not (customShow.SlideList) Is Nothing) Then
diff --git a/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md b/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md
index e977f586..2aacb5ae 100644
--- a/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md
+++ b/docs/how-to-delete-text-from-a-cell-in-a-spreadsheet.md
@@ -399,7 +399,7 @@ a spreadsheet document. You can run the program by calling the method
string sheetName = "Jane";
string colName = "B";
uint rowIndex = 2;
- DeleteTextFromCell( docName, sheetName, colName, rowIndex);
+ DeleteTextFromCell( docName, sheetName, colName, rowIndex);
```
```vb
diff --git a/docs/how-to-insert-a-chart-into-a-spreadsheet.md b/docs/how-to-insert-a-chart-into-a-spreadsheet.md
index 22cce682..255ba455 100644
--- a/docs/how-to-insert-a-chart-into-a-spreadsheet.md
+++ b/docs/how-to-insert-a-chart-into-a-spreadsheet.md
@@ -481,7 +481,7 @@ value of the following properties: [Scaling](https://msdn.microsoft.com/library/
' Add the Value Axis.
Dim valAx As ValueAxis = plotArea.AppendChild(Of ValueAxis)(New ValueAxis _
- (New AxisId() With {.Val = New UInt32Value(48672768UI)}, New Scaling(New _
+ (New AxisId() With {.Val = New UInt32Value(48672768UI)}, New Scaling(New _
Orientation() With {.Val = New EnumValue(Of DocumentFormat.OpenXml.Drawing _
.Charts.OrientationValues)(DocumentFormat.OpenXml.Drawing.Charts.OrientationValues.MinMax)}), _
New AxisPosition() With {.Val = New EnumValue(Of AxisPositionValues)(AxisPositionValues.Left)}, _
@@ -547,11 +547,11 @@ and names the chart "Chart 1," and saves the worksheet drawing.
```vb
' Position the chart on the worksheet using a TwoCellAnchor object.
drawingsPart.WorksheetDrawing = New WorksheetDrawing()
- Dim twoCellAnchor As TwoCellAnchor = drawingsPart.WorksheetDrawing.AppendChild(Of _
+ Dim twoCellAnchor As TwoCellAnchor = drawingsPart.WorksheetDrawing.AppendChild(Of _
TwoCellAnchor)(New TwoCellAnchor())
- twoCellAnchor.Append(New DocumentFormat.OpenXml.Drawing.Spreadsheet.FromMarker(New _
+ twoCellAnchor.Append(New DocumentFormat.OpenXml.Drawing.Spreadsheet.FromMarker(New _
ColumnId("9"), New ColumnOffset("581025"), New RowId("17"), New RowOffset("114300")))
- twoCellAnchor.Append(New DocumentFormat.OpenXml.Drawing.Spreadsheet.ToMarker(New _
+ twoCellAnchor.Append(New DocumentFormat.OpenXml.Drawing.Spreadsheet.ToMarker(New _
ColumnId("17"), New ColumnOffset("276225"), New RowId("32"), New RowOffset("0")))
' Append a GraphicFrame to the TwoCellAnchor object.
@@ -823,7 +823,7 @@ The following is the complete sample code in both C\# and Visual Basic.
' Add the Value Axis.
Dim valAx As ValueAxis = plotArea.AppendChild(Of ValueAxis)(New ValueAxis _
- (New AxisId() With {.Val = New UInt32Value(48672768UI)}, New Scaling(New _
+ (New AxisId() With {.Val = New UInt32Value(48672768UI)}, New Scaling(New _
Orientation() With {.Val = New EnumValue(Of DocumentFormat.OpenXml.Drawing _
.Charts.OrientationValues)(DocumentFormat.OpenXml.Drawing.Charts.OrientationValues.MinMax)}), _
New AxisPosition() With {.Val = New EnumValue(Of AxisPositionValues)(AxisPositionValues.Left)}, _
@@ -845,11 +845,11 @@ The following is the complete sample code in both C\# and Visual Basic.
' Position the chart on the worksheet using a TwoCellAnchor object.
drawingsPart.WorksheetDrawing = New WorksheetDrawing()
- Dim twoCellAnchor As TwoCellAnchor = drawingsPart.WorksheetDrawing.AppendChild(Of _
+ Dim twoCellAnchor As TwoCellAnchor = drawingsPart.WorksheetDrawing.AppendChild(Of _
TwoCellAnchor)(New TwoCellAnchor())
- twoCellAnchor.Append(New DocumentFormat.OpenXml.Drawing.Spreadsheet.FromMarker(New _
+ twoCellAnchor.Append(New DocumentFormat.OpenXml.Drawing.Spreadsheet.FromMarker(New _
ColumnId("9"), New ColumnOffset("581025"), New RowId("17"), New RowOffset("114300")))
- twoCellAnchor.Append(New DocumentFormat.OpenXml.Drawing.Spreadsheet.ToMarker(New _
+ twoCellAnchor.Append(New DocumentFormat.OpenXml.Drawing.Spreadsheet.ToMarker(New _
ColumnId("17"), New ColumnOffset("276225"), New RowId("32"), New RowOffset("0")))
' Append a GraphicFrame to the TwoCellAnchor object.
diff --git a/docs/how-to-insert-a-new-slide-into-a-presentation.md b/docs/how-to-insert-a-new-slide-into-a-presentation.md
index dc7a79d1..7718ba14 100644
--- a/docs/how-to-insert-a-new-slide-into-a-presentation.md
+++ b/docs/how-to-insert-a-new-slide-into-a-presentation.md
@@ -291,7 +291,7 @@ slide and sets its properties, including its text
drawingObjectId = (drawingObjectId + 1)
' Specify the required shape properties for the title shape.
- titleShape.NonVisualShapeProperties = New DocumentFormat.OpenXml.Presentation.NonVisualShapeProperties(New _
+ titleShape.NonVisualShapeProperties = New DocumentFormat.OpenXml.Presentation.NonVisualShapeProperties(New _
DocumentFormat.OpenXml.Presentation.NonVisualDrawingProperties() With {.Id = drawingObjectId, .Name = "Title"}, _
New DocumentFormat.OpenXml.Presentation.NonVisualShapeDrawingProperties _
(New Drawing.ShapeLocks() With {.NoGrouping = True}), _
@@ -653,7 +653,7 @@ The following is the complete sample code in both C\# and Visual Basic.
' Construct the slide content.
' Specify the non-visual properties of the new slide.
- Dim nonVisualProperties As DocumentFormat.OpenXml.Presentation.NonVisualGroupShapeProperties = slide.CommonSlideData.ShapeTree.AppendChild(New _
+ Dim nonVisualProperties As DocumentFormat.OpenXml.Presentation.NonVisualGroupShapeProperties = slide.CommonSlideData.ShapeTree.AppendChild(New _
DocumentFormat.OpenXml.Presentation.NonVisualGroupShapeProperties())
nonVisualProperties.NonVisualDrawingProperties = New DocumentFormat.OpenXml.Presentation.NonVisualDrawingProperties() With {.Id = 1, .Name = ""}
nonVisualProperties.NonVisualGroupShapeDrawingProperties = New DocumentFormat.OpenXml.Presentation.NonVisualGroupShapeDrawingProperties()
@@ -667,7 +667,7 @@ The following is the complete sample code in both C\# and Visual Basic.
drawingObjectId = (drawingObjectId + 1)
' Specify the required shape properties for the title shape.
- titleShape.NonVisualShapeProperties = New DocumentFormat.OpenXml.Presentation.NonVisualShapeProperties(New _
+ titleShape.NonVisualShapeProperties = New DocumentFormat.OpenXml.Presentation.NonVisualShapeProperties(New _
DocumentFormat.OpenXml.Presentation.NonVisualDrawingProperties() With {.Id = drawingObjectId, .Name = "Title"}, _
New DocumentFormat.OpenXml.Presentation.NonVisualShapeDrawingProperties _
(New Drawing.ShapeLocks() With {.NoGrouping = True}), _
diff --git a/docs/how-to-replace-the-header-in-a-word-processing-document.md b/docs/how-to-replace-the-header-in-a-word-processing-document.md
index caf2a09f..04702294 100644
--- a/docs/how-to-replace-the-header-in-a-word-processing-document.md
+++ b/docs/how-to-replace-the-header-in-a-word-processing-document.md
@@ -139,7 +139,7 @@ segment as an example.
```csharp
string filepathFrom = @"C:\Users\Public\Documents\Word15a.docx";
string filepathTo=@"C:\Users\Public\Documents\Word15b.docx";
- AddHeaderFromTo(filepathFrom, filepathTo);
+ AddHeaderFromTo(filepathFrom, filepathTo);
```
```vb
diff --git a/docs/working-with-handout-master-slides.md b/docs/working-with-handout-master-slides.md
index 533b089c..0d9e7265 100644
--- a/docs/working-with-handout-master-slides.md
+++ b/docs/working-with-handout-master-slides.md
@@ -210,17 +210,17 @@ namespace.
```vb
Private Shared Function CreateHandoutMasterPart(ByVal presentationPart As PresentationPart) As HandoutMasterPart
Dim handoutMasterPart1 As HandoutMasterPart = presentationPart.AddNewPart(Of HandoutMasterPart)("rId3")
- handoutMasterPart1.HandoutMaster = New HandoutMaster(New CommonSlideData(New ShapeTree(New _
+ handoutMasterPart1.HandoutMaster = New HandoutMaster(New CommonSlideData(New ShapeTree(New _
P.NonVisualGroupShapeProperties(New P.NonVisualDrawingProperties() With { _
.Id = DirectCast(1UI, UInt32Value), _
.Name = "" _
- }, New P.NonVisualGroupShapeDrawingProperties(), New ApplicationNonVisualDrawingProperties()), New _
+ }, New P.NonVisualGroupShapeDrawingProperties(), New ApplicationNonVisualDrawingProperties()), New _
GroupShapeProperties(New TransformGroup()), New P.Shape(New P.NonVisualShapeProperties(New P.NonVisualDrawingProperties() With { _
.Id = DirectCast(2UI, UInt32Value), _
.Name = "Title 1" _
}, New P.NonVisualShapeDrawingProperties(New ShapeLocks() With { _
.NoGrouping = True _
- }), New ApplicationNonVisualDrawingProperties(New PlaceholderShape())), New P.ShapeProperties(), New _
+ }), New ApplicationNonVisualDrawingProperties(New PlaceholderShape())), New P.ShapeProperties(), New _
P.TextBody(New BodyProperties(), New ListStyle(), New Paragraph(New EndParagraphRunProperties() With { _
.Language = "en-US" _
}))))), New P.ColorMap() With { _
diff --git a/docs/working-with-notes-slides.md b/docs/working-with-notes-slides.md
index 771ea295..89e5867c 100644
--- a/docs/working-with-notes-slides.md
+++ b/docs/working-with-notes-slides.md
@@ -209,13 +209,13 @@ namespace.
Dim notesSlide As New NotesSlide(New CommonSlideData(New ShapeTree(New P.NonVisualGroupShapeProperties(New P.NonVisualDrawingProperties() With { _
.Id = DirectCast(1UI, UInt32Value), _
.Name = "" _
- }, New P.NonVisualGroupShapeDrawingProperties(), New ApplicationNonVisualDrawingProperties()), New _
+ }, New P.NonVisualGroupShapeDrawingProperties(), New ApplicationNonVisualDrawingProperties()), New _
GroupShapeProperties(New TransformGroup()), New P.Shape(New P.NonVisualShapeProperties(New P.NonVisualDrawingProperties() With { _
.Id = DirectCast(2UI, UInt32Value), _
.Name = "" _
}, New P.NonVisualShapeDrawingProperties(New ShapeLocks() With { _
.NoGrouping = True _
- }), New ApplicationNonVisualDrawingProperties(New PlaceholderShape())), New P.ShapeProperties(), New _
+ }), New ApplicationNonVisualDrawingProperties(New PlaceholderShape())), New P.ShapeProperties(), New _
P.TextBody(New BodyProperties(), New ListStyle(), New Paragraph(New EndParagraphRunProperties()))))),
New ColorMapOverride(New MasterColorMapping()))
notesSlidePart1.NotesSlide = notesSlide
diff --git a/docs/working-with-slide-masters.md b/docs/working-with-slide-masters.md
index 44cab4f9..9ea3080e 100644
--- a/docs/working-with-slide-masters.md
+++ b/docs/working-with-slide-masters.md
@@ -14,67 +14,40 @@ ms.topic: conceptual
ms.date: 11/01/2017
ms.localizationpriority: medium
---
-# Working with slide masters (Open XML SDK)
-
-This topic discusses the Open XML SDK 2.5 for Office **[SlideMaster](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slidemaster.aspx)** class and how it relates to the
-Open XML File Format PresentationML schema.
-
----------------------------------------------------------------------------------
-## Slide Masters in PresentationML
+# Working with slide masters (Open XML SDK)
-The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification describes the Open XML PresentationML \
-element used to represent slide layouts in a PresentationML document as
-follows.
+This topic discusses the Open XML SDK 2.5 for Office **[SlideMaster](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slidemaster.aspx)** class and how it relates to the Open XML File Format PresentationML schema.
-This element specifies an instance of a slide master slide. Within a
-slide master slide are contained all elements that describe the objects
-and their corresponding formatting for within a presentation slide.
-Within a slide master slide are two main elements. The cSld element
-specifies the common slide elements such as shapes and their attached
-text bodies. Then the txStyles element specifies the formatting for the
-text within each of these shapes. The other properties within a slide
-master slide specify other properties for within a presentation slide
-such as color information, headers and footers, as well as timing and
-transition information for all corresponding presentation slides.
+## Slide Masters in PresentationML
-© ISO/IEC29500: 2008.
+The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML PresentationML \ element used to represent slide layouts in a PresentationML document as follows.
-The \ element is the root element of the PresentationML
-Slide Master part. For more information about the overall structure of
-the parts and elements that make up a PresentationML document, see
-[Structure of a PresentationML Document](structure-of-a-presentationml-document.md).
+This element specifies an instance of a slide master slide. Within a slide master slide are contained all elements that describe the objects and their corresponding formatting for within a presentation slide. Within a slide master slide are two main elements. The cSld element specifies the common slide elements such as shapes and their attached text bodies. Then the txStyles element specifies the formatting for the text within each of these shapes. The other properties within a slide master slide specify other properties for within a presentation slide such as color information, headers and footers, as well as timing and transition information for all corresponding presentation slides.
-The following table lists the child elements of the \
-element used when working with slide masters and the Open XML SDK 2.5
-classes that correspond to them.
+The \ element is the root element of the PresentationML Slide Master part. For more information about the overall structure of the parts and elements that make up a PresentationML document, see [Structure of a PresentationML Document](structure-of-a-presentationml-document.md).
+The following table lists the child elements of the \ element used when working with slide masters and the Open XML SDK 2.5 classes that correspond to them.
-| **PresentationML Element** | **Open XML SDK 2.5 Class** |
-|----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
-| \ | [ColorMap](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.colormap.aspx) |
-| \ | [CommonSlideData](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.commonslidedata.aspx) |
-| \ | [ExtensionListWithModification](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.extensionlistwithmodification.aspx) |
-| \ | [HeaderFooter](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.headerfooter.aspx) |
-| \ | [SlideLayoutIdList](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slidelayoutidlist.aspx) |
-| \ | [Timing](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.timing.aspx) |
-| \ | [Transition](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.transition.aspx) |
-| \ | [TextStyles](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.textstyles.aspx) |
+| **PresentationML Element** | **Open XML SDK 2.5 Class** |
+|:---------------------------|:---------------------------------------------------------------------------------------------------------------------------|
+| \ | [ColorMap](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.colormap.aspx) |
+| \ | [CommonSlideData](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.commonslidedata.aspx) |
+| \ | [ExtensionListWithModification](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.extensionlistwithmodification.aspx) |
+| \ | [HeaderFooter](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.headerfooter.aspx) |
+| \ | [SlideLayoutIdList](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slidelayoutidlist.aspx) |
+| \ | [Timing](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.timing.aspx) |
+| \ | [Transition](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.transition.aspx) |
+| \ | [TextStyles](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.textstyles.aspx) |
The following table from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
specification describes the attributes of the \ element.
-
-| **Attributes** | **Description** |
-|----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| **Attributes** | **Description** |
+|----------------------------|----------------------------------------------------|
| preserve (Preserve Slide Master) | Specifies whether the corresponding slide layout is deleted when all the slides that follow that layout are deleted. If this attribute is not specified then a value of **false** should be assumed by the generating application. This would mean that the slide would in fact be deleted if no slides within the presentation were related to it.
The possible values for this attribute are defined by the W3C XML Schema **Boolean** data type. |
-© ISO/IEC29500: 2008.
-
-
---------------------------------------------------------------------------------
-## Open XML SDK 2.5 SlideMaster Class
+## Open XML SDK 2.5 SlideMaster Class
The Open XML SDK 2.5**SlideMaster** class
represents the \ element defined in the Open XML File Format
@@ -87,129 +60,59 @@ list.
### ColorMapOverride Class
-The **ColorMapOverride** class corresponds to
-the \ element. The following information from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification introduces the \ element:
-
-This element provides a mechanism with which to override the color
-schemes listed within the \ element. If the
-\ child element is present, the color scheme defined
-by the master is used. If the \ child element is
-present, it defines a new color scheme specific to the parent notes
-slide, presentation slide, or slide layout.
+The **ColorMapOverride** class corresponds to the \ element. The following information from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification introduces the \ element:
-© ISO/IEC29500: 2008.
+This element provides a mechanism with which to override the color schemes listed within the \ element. If the \ child element is present, the color scheme defined by the master is used. If the \ child element is present, it defines a new color scheme specific to the parent notes slide, presentation slide, or slide layout.
### CommonSlideData Class
-The **CommonSlideData** class corresponds to
-the \ element. The following information from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification introduces the \ element:
-
-This element specifies a container for the type of slide information
-that is relevant to all of the slide types. All slides share a common
-set of properties that is independent of the slide type; the description
-of these properties for any particular slide is stored within the
-slide's \ container. Slide data specific to the slide type
-indicated by the parent element is stored elsewhere.
+The **CommonSlideData** class corresponds to the \ element. The following information from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification introduces the \ element:
-The actual data in \ describe only the particular parent slide;
-it is only the type of information stored that is common across all
-slides.
+This element specifies a container for the type of slide information that is relevant to all of the slide types. All slides share a common set of properties that is independent of the slide type; the description of these properties for any particular slide is stored within the slide's \ container. Slide data specific to the slide type indicated by the parent element is stored elsewhere.
-© ISO/IEC29500: 2008.
+The actual data in \ describe only the particular parent slide; it is only the type of information stored that is common across all slides.
### ExtensionListWithModification Class
-The **ExtensionListWithModification** class
-corresponds to the \element. The following information from the
-[ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification introduces the \ element:
+The **ExtensionListWithModification** class corresponds to the \element. The following information from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification introduces the \ element:
-This element specifies the extension list with modification ability
-within which all future extensions of element type \ are defined.
-The extension list along with corresponding future extensions is used to
-extend the storage capabilities of the PresentationML framework. This
-allows for various new kinds of data to be stored natively within the
+This element specifies the extension list with modification ability within which all future extensions of element type \ are defined. The extension list along with corresponding future extensions is used to extend the storage capabilities of the PresentationML framework. This allows for various new kinds of data to be stored natively within the
framework.
-[Note: Using this extLst element allows the generating application to
-store whether this extension property has been modified. end note]
-
-© ISO/IEC29500: 2008.
+> [!NOTE]
+> Using this extLst element allows the generating application to store whether this extension property has been modified.
### HeaderFooter Class
-The **HeaderFooter** class corresponds to the
-\ element. The following information from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification introduces the \ element:
-
-This element specifies the header and footer information for a slide.
-Headers and footers consist of placeholders for text that should be
-consistent across all slides and slide types, such as a date and time,
-slide numbering, and custom header and footer text.
+The **HeaderFooter** class corresponds to the \ element. The following information from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification introduces the \ element:
-© ISO/IEC29500: 2008.
+This element specifies the header and footer information for a slide. Headers and footers consist of placeholders for text that should be consistent across all slides and slide types, such as a date and time, slide numbering, and custom header and footer text.
### SlideLayoutIdList Class
-The **SlideLayoutIdList** class corresponds to
-the \ element. The following information from the
-[ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification introduces the \ element:
+The **SlideLayoutIdList** class corresponds to the \ element. The following information from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification introduces the \ element:
-This element specifies the existence of the slide layout identification
-list. This list is contained within the slide master and is used to
-determine which layouts are being used within the slide master file.
-Each layout within the list of slide layouts has its own identification
-number and relationship identifier that uniquely identifies it within
-both the presentation document and the particular master slide within
-which it is used.
-
-© ISO/IEC29500: 2008.
+This element specifies the existence of the slide layout identification list. This list is contained within the slide master and is used to determine which layouts are being used within the slide master file. Each layout within the list of slide layouts has its own identification number and relationship identifier that uniquely identifies it within both the presentation document and the particular master slide within which it is used.
### Timing Class
-The **Timing** class corresponds to the
-\ element. The following information from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification introduces the \ element:
-
-This element specifies the timing information for handling all
-animations and timed events within the corresponding slide. This
-information is tracked via time nodes within the \ element.
-More information on the specifics of these time nodes and how they are
-to be defined can be found within the Animation section of the
-PresentationML framework.
+The **Timing** class corresponds to the \ element. The following information from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification introduces the \ element:
-© ISO/IEC29500: 2008.
+This element specifies the timing information for handling all animations and timed events within the corresponding slide. This information is tracked via time nodes within the \ element. More information on the specifics of these time nodes and how they are to be defined can be found within the Animation section of the PresentationML framework.
### Transition Class
-The **Transition** class corresponds to the
-\ element. The following information from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification introduces the \ element:
-
-This element specifies the kind of slide transition that should be used
-to transition to the current slide from the previous slide. That is, the
-transition information is stored on the slide that appears after the
-transition is complete.
+The **Transition** class corresponds to the \ element. The following information from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification introduces the \ element:
-© ISO/IEC29500: 2008.
+This element specifies the kind of slide transition that should be used to transition to the current slide from the previous slide. That is, the transition information is stored on the slide that appears after the transition is complete.
### TextStyles Class
-The **TextStyles** class corresponds to the
-\ element. The following information from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification introduces the \ element:
+The **TextStyles** class corresponds to the \ element. The following information from the [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification introduces the \ element:
-This element specifies the text styles within a slide master. Within
-this element is the styling information for title text, the body text
-and other slide text as well. This element is only for use within the
-Slide Master and thus sets the text styles for the corresponding
-presentation slides.
+This element specifies the text styles within a slide master. Within this element is the styling information for title text, the body text and other slide text as well. This element is only for use within the Slide Master and thus sets the text styles for the corresponding presentation slides.
-Example: Consider the case where we would like to specify the title
-text for a master slide.
+Consider the case where we would like to specify the title text for a master slide.
```xml
@@ -232,46 +135,20 @@ text for a master slide.
```
-In the above example the title text is set according to the above
-formatting for all related slides within the presentation. end example]
-
-© ISO/IEC29500: 2008.
-
-
---------------------------------------------------------------------------------
-## Working with the SlideMaster Class
+In the previous example, the title text is set according to the above formatting for all related slides within the presentation.
-As shown in the Open XML SDK code sample that follows, every instance of
-the **SlideMaster** class is associated with an
-instance of the **[SlideMasterPart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.slidemasterpart.aspx)** class, which represents a
-slide master part, one of the required parts of a PresentationML
-presentation file package. Each **SlideMaster**
-class instance must also be associated with instances of the **[SlideLayout](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slidelayout.aspx)** and <**[Slide](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slide.aspx)** classes, which are in turn associated
-with similarly named required presentation parts, represented by the
-**[SlideLayoutPart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.slidelayoutpart.aspx)** and **[SlidePart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.slidepart.aspx)** classes.
+## Working with the SlideMaster Class
-The **SlideMaster** class, which represents the
-\ element, is therefore also associated with a series of
-other classes that represent the child elements of the \
-element. Among these classes, as shown in the following code sample, are
-the **CommonSlideData** class, the **ColorMap** class, the **[ShapeTree](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.shapetree.aspx)** class, and the **[Shape](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.shape.aspx)** class.
+As shown in the Open XML SDK code sample that follows, every instance of the **SlideMaster** class is associated with an instance of the **[SlideMasterPart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.slidemasterpart.aspx)** class, which represents a slide master part, one of the required parts of a PresentationML presentation file package. Each **SlideMaster** class instance must also be associated with instances of the **[SlideLayout](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slidelayout.aspx)** and <**[Slide](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slide.aspx)** classes, which are in turn associated with similarly named required presentation parts, represented by the **[SlideLayoutPart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.slidelayoutpart.aspx)** and **[SlidePart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.slidepart.aspx)** classes.
+The **SlideMaster** class, which represents the \ element, is therefore also associated with a series of other classes that represent the child elements of the \
+element. Among these classes, as shown in the following code sample, are the **CommonSlideData** class, the **ColorMap** class, the **[ShapeTree](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.shapetree.aspx)** class, and the **[Shape](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.shape.aspx)** class.
---------------------------------------------------------------------------------
-## Open XML SDK Code Example
+## Open XML SDK Code Example
-The following method from the article [How to: Create a presentation document by providing a file name (Open XML SDK)](how-to-create-a-presentation-document-by-providing-a-file-name.md) adds a new slide
-master part to an existing presentation and creates an instance of an
-Open XML SDK 2.5**SlideMaster** class in the
-new slide master part. The **SlideMaster**
-class constructor creates instances of the **CommonSlideData** class and the **ColorMap**, **SlideLayoutIdList**, and **TextStyles** classes. The **CommonSlideData** class constructor creates an
-instance of the **[ShapeTree](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.shapetree.aspx)** class, whose constructor in turn
-creates additional class instances: an instance of the **[NonVisualGroupShapeProperties](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.nonvisualgroupshapeproperties.aspx)** class, an
-instance of the **[GroupShapeProperties](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.groupshapeproperties.aspx)** class, and an instance
-of the **[Shape](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.shape.aspx)** class, among others.
+The following method from the article [How to: Create a presentation document by providing a file name [Open XML SDK](/office/open-xml/how-to-create-a-presentation-document-by-providing-a-file-name.md) adds a new slidemaster part to an existing presentation and creates an instance of an Open XML SDK 2.5**SlideMaster** class in the new slide master part. The **SlideMaster** class constructor creates instances of the **CommonSlideData** class and the **ColorMap**, **SlideLayoutIdList**, and **TextStyles** classes. The **CommonSlideData** class constructor creates an instance of the **[ShapeTree](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.shapetree.aspx)** class, whose constructor in turn creates additional class instances: an instance of the **[NonVisualGroupShapeProperties](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.nonvisualgroupshapeproperties.aspx)** class, an instance of the **[GroupShapeProperties](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.groupshapeproperties.aspx)** class, and an instance of the **[Shape](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.shape.aspx)** class, among others.
-The namespace represented by the letter *P* in the code is the **[DocumentFormat.OpenXml.Presentation](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.aspx)**
-namespace.
+The namespace represented by the letter *P* in the code is the **[DocumentFormat.OpenXml.Presentation](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.aspx)** namespace.
```csharp
private static SlideMasterPart CreateSlideMasterPart(SlideLayoutPart slideLayoutPart1)
@@ -339,11 +216,9 @@ namespace.
End Function
```
----------------------------------------------------------------------------------
-## Generated PresentationML
+## Generated PresentationML
-When the Open XML SDK code is run, the following XML is written to the
-PresentationML document referenced in the code.
+When the Open XML SDK code is run, the following XML is written to the PresentationML document referenced in the code.
```xml
@@ -405,15 +280,9 @@ PresentationML document referenced in the code.
```
---------------------------------------------------------------------------------
-## See also
-
-
-
-[About the Open XML SDK 2.5 for Office](about-the-open-xml-sdk.md)
-
-[How to: Create a Presentation by Providing a File Name](how-to-create-a-presentation-document-by-providing-a-file-name.md)
-
-[How to: Insert a new slide into a presentation (Open XML SDK)](how-to-insert-a-new-slide-into-a-presentation.md)
+## See also
+[About the Open XML SDK 2.5 for Office](about-the-open-xml-sdk.md)
+[How to: Create a Presentation by Providing a File Name](how-to-create-a-presentation-document-by-providing-a-file-name.md)
+[How to: Insert a new slide into a presentation (Open XML SDK)](how-to-insert-a-new-slide-into-a-presentation.md)
[How to: Delete a slide from a presentation (Open XML SDK)](how-to-delete-a-slide-from-a-presentation.md)
From e9a4214d7268977d6d3a8a2f8dc7fa3cd1045546 Mon Sep 17 00:00:00 2001
From: Linda Lu Cannon
Date: Fri, 4 Mar 2022 22:35:29 -0800
Subject: [PATCH 034/275] Fix formatting
---
docs/working-with-animation.md | 132 ++++++++-------------------------
1 file changed, 31 insertions(+), 101 deletions(-)
diff --git a/docs/working-with-animation.md b/docs/working-with-animation.md
index eff6f8b9..0d415bf9 100644
--- a/docs/working-with-animation.md
+++ b/docs/working-with-animation.md
@@ -14,34 +14,17 @@ ms.topic: conceptual
ms.date: 11/01/2017
ms.localizationpriority: medium
---
-# Working with animation (Open XML SDK)
-This topic discusses the Open XML SDK 2.5 for Office **Animate**** class and how it relates to the
-Open XML File Format PresentationML schema. For more information about
-the overall structure of the parts and elements that make up a
-PresentationML document, see [Structure of a PresentationML Document](structure-of-a-presentationml-document.md).
+# Working with animation (Open XML SDK)
+This topic discusses the Open XML SDK 2.5 for Office **Animate** class and how it relates to the Open XML File Format PresentationML schema. For more information about the overall structure of the parts and elements that make up a PresentationML document, see [Structure of a PresentationML Document](structure-of-a-presentationml-document.md).
## Animation in PresentationML
-The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463)
-specification describes the Animation section of the Open XML
-PresentationML framework as follows:
-
-The Animation section of the PresentationML framework stores the
-movement and related information of objects. This schema is loosely
-based on the syntax and concepts from the Synchronized Multimedia
-Integration Language (SMIL), a W3C Recommendation for describing
-multimedia presentations using XML. The schema describes all the
-animations effects that reside on a slide and also the animation that
-occurs when going from slide to slide (slide transition). Animations on
-a slide are inherently time-based and consist of an animation effects on
-an object or text. Slide transitions however do not follow this concept
-and always appear before any animation on a slide. All elements
-described in this schema are contained within the slide XML file. More
-specifically they are in the \ and the \ element
-as shown below:
+The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Animation section of the Open XML PresentationML framework as follows:
+
+The Animation section of the PresentationML framework stores the movement and related information of objects. This schema is loosely based on the syntax and concepts from the Synchronized Multimedia Integration Language (SMIL), a W3C Recommendation for describing multimedia presentations using XML. The schema describes all the animations effects that reside on a slide and also the animation that occurs when going from slide to slide (slide transition). Animations on a slide are inherently time-based and consist of an animation effects on
+an object or text. Slide transitions however do not follow this concept and always appear before any animation on a slide. All elements described in this schema are contained within the slide XML file. More specifically they are in the \ and the \ element as shown below:
```xml
@@ -52,19 +35,9 @@ as shown below:
```
-© ISO/IEC29500: 2008.
+Animation consists of several behaviors, the most basic of which is the Animate behavior, represented by the \ element. The [ISO/IEC 29500](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51463) specification describes the Open XML PresentationML \