Skip to content

Commit 36affc3

Browse files
authored
Merge pull request #303 from OfficeDev/main
[admin] merge to live
2 parents 36e2341 + 4e003d5 commit 36affc3

File tree

74 files changed

+981
-3621
lines changed

Some content is hidden

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

74 files changed

+981
-3621
lines changed

docs/docfx.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232
"overwrite": [],
3333
"externalReference": [],
3434
"globalMetadata": {
35+
"ms.subservice": "open-xml",
36+
"ms.service": "office",
3537
"breadcrumb_path": "/office/open-xml/breadcrumb/toc.json",
3638
"extendBreadcrumb": true,
3739
"uhfHeaderId": "MSDocsHeader-Dev_Office",
3840
"ms.suite": "office",
3941
"ms.author": "o365devx",
4042
"author": "o365devx",
4143
"ms.topic": "conceptual",
42-
"ms.prod": "office",
43-
"ms.technology": "open-xml",
4444
"description": "Use the Open XML SDK to programmatically create Office Word, Excel, and PowerPoint documents, and manipulate their content."
4545
},
4646
"fileMetadata": {

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

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,7 @@ processing document.
2424

2525

2626
-----------------------------------------------------------------------------
27-
## Packages and Document Parts
28-
An Open XML document is stored as a package, whose format is defined by
29-
[ISO/IEC 29500-2](https://www.iso.org/standard/71691.html). The
30-
package can have multiple parts with relationships between them. The
31-
relationship between parts controls the category of the document. A
32-
document can be defined as a word-processing document if its
33-
package-relationship item contains a relationship to a main document
34-
part. If its package-relationship item contains a relationship to a
35-
presentation part it can be defined as a presentation document. If its
36-
package-relationship item contains a relationship to a workbook part, it
37-
is defined as a spreadsheet document. In this how-to topic, you will use
38-
a word-processing document package.
27+
[!include[Structure](../includes/word/packages-and-document-parts.md)]
3928

4029

4130
-----------------------------------------------------------------------------

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@ ms.localizationpriority: medium
1717

1818
This topic shows how to use the classes in the Open XML SDK for Office to add a document part (file) to a word processing document programmatically.
1919

20-
21-
22-
## Packages and document parts
23-
24-
An Open XML document is stored as a package, whose format is defined by [ISO/IEC 29500-2](https://www.iso.org/standard/71691.html). The package can have multiple parts with relationships between them. The relationship between parts controls the category of the document. A document can be defined as a word-processing document if its package-relationship item contains a relationship to a main document part. If its package-relationship item contains a relationship to a presentation part it can be defined as a presentation document. If its package-relationship item contains a relationship to a workbook part, it is defined as a spreadsheet document. In this how-to topic, you'll use a word-processing document package.
20+
[!include[Structure](../includes/word/packages-and-document-parts.md)]
2521

2622
## Get a WordprocessingDocument object
2723

docs/general/how-to-copy-the-contents-of-an-open-xml-package-part-to-a-document-part-in-a-dif.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,7 @@ programmatically.
2525

2626

2727
--------------------------------------------------------------------------------
28-
## Packages and Document Parts
29-
An Open XML document is stored as a package, whose format is defined by
30-
[ISO/IEC 29500-2](https://www.iso.org/standard/71691.html). The
31-
package can have multiple parts with relationships between them. The
32-
relationship between parts controls the category of the document. A
33-
document can be defined as a word-processing document if its
34-
package-relationship item contains a relationship to a main document
35-
part. If its package-relationship item contains a relationship to a
36-
presentation part it can be defined as a presentation document. If its
37-
package-relationship item contains a relationship to a workbook part, it
38-
is defined as a spreadsheet document. In this how-to topic, you will use
39-
a word-processing document package.
28+
[!include[Structure](../includes/word/packages-and-document-parts.md)]
4029

4130

4231
--------------------------------------------------------------------------------

docs/general/how-to-create-a-package.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,7 @@ This topic shows how to use the classes in the Open XML SDK for
2121
Office to programmatically create a word processing document package
2222
from content in the form of **WordprocessingML** XML markup.
2323

24-
25-
26-
## Packages and Document Parts
27-
28-
An Open XML document is stored as a package, whose format is defined by
29-
[ISO/IEC 29500-2](https://www.iso.org/standard/71691.html). The
30-
package can have multiple parts with relationships between them. The
31-
relationship between parts controls the category of the document. A
32-
document can be defined as a word-processing document if its
33-
package-relationship item contains a relationship to a main document
34-
part. If its package-relationship item contains a relationship to a
35-
presentation part it can be defined as a presentation document. If its
36-
package-relationship item contains a relationship to a workbook part, it
37-
is defined as a spreadsheet document. In this how-to topic, you will use
38-
a word-processing document package.
24+
[!include[Structure](../includes/word/packages-and-document-parts.md)]
3925

4026

4127
## Getting a WordprocessingDocument Object

docs/general/how-to-get-the-contents-of-a-document-part-from-a-package.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,7 @@ document programmatically.
2323

2424

2525
--------------------------------------------------------------------------------
26-
## Packages and Document Parts
27-
An Open XML document is stored as a package, whose format is defined by
28-
[ISO/IEC 29500-2](https://www.iso.org/standard/71691.html). The
29-
package can have multiple parts with relationships between them. The
30-
relationship between parts controls the category of the document. A
31-
document can be defined as a word-processing document if its
32-
package-relationship item contains a relationship to a main document
33-
part. If its package-relationship item contains a relationship to a
34-
presentation part it can be defined as a presentation document. If its
35-
package-relationship item contains a relationship to a workbook part, it
36-
is defined as a spreadsheet document. In this how-to topic, you will use
37-
a word-processing document package.
26+
[!include[Structure](../includes/word/packages-and-document-parts.md)]
3827

3928

4029
---------------------------------------------------------------------------------

docs/general/how-to-remove-a-document-part-from-a-package.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,7 @@ programmatically.
2323

2424

2525
--------------------------------------------------------------------------------
26-
## Packages and Document Parts
27-
An Open XML document is stored as a package, whose format is defined by
28-
[ISO/IEC 29500-2](https://www.iso.org/standard/71691.html). The
29-
package can have multiple parts with relationships between them. The
30-
relationship between parts controls the category of the document. A
31-
document can be defined as a word-processing document if its
32-
package-relationship item contains a relationship to a main document
33-
part. If its package-relationship item contains a relationship to a
34-
presentation part it can be defined as a presentation document. If its
35-
package-relationship item contains a relationship to a workbook part, it
36-
is defined as a spreadsheet document. In this how-to topic, you will use
37-
a word-processing document package.
26+
[!include[Structure](../includes/word/packages-and-document-parts.md)]
3827

3928

4029
---------------------------------------------------------------------------------

docs/general/how-to-replace-the-theme-part-in-a-word-processing-document.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,7 @@ This topic shows how to use the classes in the Open XML SDK for
2020
Office to programmatically replace a document part in a word processing
2121
document.
2222

23-
24-
25-
## Packages and Document Parts
26-
27-
An Open XML document is stored as a package, whose format is defined by
28-
[ISO/IEC 29500-2](https://www.iso.org/standard/71691.html). The
29-
package can have multiple parts with relationships between them. The
30-
relationship between parts controls the category of the document. A
31-
document can be defined as a word-processing document if its
32-
package-relationship item contains a relationship to a main document
33-
part. If its package-relationship item contains a relationship to a
34-
presentation part it can be defined as a presentation document. If its
35-
package-relationship item contains a relationship to a workbook part, it
36-
is defined as a spreadsheet document. In this how-to topic, you will use
37-
a word-processing document package.
23+
[!include[Structure](../includes/word/packages-and-document-parts.md)]
3824

3925

4026
## Getting a WordprocessingDocument Object

docs/general/how-to-search-and-replace-text-in-a-document-part.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,7 @@ processing document.
2323

2424

2525
--------------------------------------------------------------------------------
26-
## Packages and Document Parts
27-
An Open XML document is stored as a package, whose format is defined by
28-
[ISO/IEC 29500-2](https://www.iso.org/standard/71691.html). The
29-
package can have multiple parts with relationships between them. The
30-
relationship between parts controls the category of the document. A
31-
document can be defined as a word-processing document if its
32-
package-relationship item contains a relationship to a main document
33-
part. If its package-relationship item contains a relationship to a
34-
presentation part it can be defined as a presentation document. If its
35-
package-relationship item contains a relationship to a workbook part, it
36-
is defined as a spreadsheet document. In this how-to topic, you will use
37-
a word-processing document package.
26+
[!include[Structure](../includes/word/packages-and-document-parts.md)]
3827

3928

4029
---------------------------------------------------------------------------------

docs/includes/spreadsheet/structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ code example.
2222

2323
```xml
2424
<?xml version="1.0" encoding="UTF-8" ?>
25-
<worksheet xmlns="https://schemas.openxmlformats.org/spreadsheetml/2006/main">
25+
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
2626
<sheetData>
2727
<row r="1">
2828
<c r="A1">

0 commit comments

Comments
 (0)