Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
"overwrite": [],
"externalReference": [],
"globalMetadata": {
"ms.subservice": "open-xml",
"ms.service": "office",
"breadcrumb_path": "/office/open-xml/breadcrumb/toc.json",
"extendBreadcrumb": true,
"uhfHeaderId": "MSDocsHeader-Dev_Office",
"ms.suite": "office",
"ms.author": "o365devx",
"author": "o365devx",
"ms.topic": "conceptual",
"ms.prod": "office",
"ms.technology": "open-xml",
"description": "Use the Open XML SDK to programmatically create Office Word, Excel, and PowerPoint documents, and manipulate their content."
},
"fileMetadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,7 @@ processing document.


-----------------------------------------------------------------------------
## Packages and Document Parts
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 will use
a word-processing document package.
[!include[Structure](../includes/word/packages-and-document-parts.md)]


-----------------------------------------------------------------------------
Expand Down
6 changes: 1 addition & 5 deletions docs/general/how-to-add-a-new-document-part-to-a-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ ms.localizationpriority: medium

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.



## Packages and document parts

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.
[!include[Structure](../includes/word/packages-and-document-parts.md)]

## Get a WordprocessingDocument object

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,7 @@ programmatically.


--------------------------------------------------------------------------------
## Packages and Document Parts
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 will use
a word-processing document package.
[!include[Structure](../includes/word/packages-and-document-parts.md)]


--------------------------------------------------------------------------------
Expand Down
16 changes: 1 addition & 15 deletions docs/general/how-to-create-a-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,7 @@ This topic shows how to use the classes in the Open XML SDK for
Office to programmatically create a word processing document package
from content in the form of **WordprocessingML** XML markup.



## Packages and Document Parts

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 will use
a word-processing document package.
[!include[Structure](../includes/word/packages-and-document-parts.md)]


## Getting a WordprocessingDocument Object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,7 @@ document programmatically.


--------------------------------------------------------------------------------
## Packages and Document Parts
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 will use
a word-processing document package.
[!include[Structure](../includes/word/packages-and-document-parts.md)]


---------------------------------------------------------------------------------
Expand Down
13 changes: 1 addition & 12 deletions docs/general/how-to-remove-a-document-part-from-a-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,7 @@ programmatically.


--------------------------------------------------------------------------------
## Packages and Document Parts
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 will use
a word-processing document package.
[!include[Structure](../includes/word/packages-and-document-parts.md)]


---------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,7 @@ This topic shows how to use the classes in the Open XML SDK for
Office to programmatically replace a document part in a word processing
document.



## Packages and Document Parts

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 will use
a word-processing document package.
[!include[Structure](../includes/word/packages-and-document-parts.md)]


## Getting a WordprocessingDocument Object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,7 @@ processing document.


--------------------------------------------------------------------------------
## Packages and Document Parts
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 will use
a word-processing document package.
[!include[Structure](../includes/word/packages-and-document-parts.md)]


---------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/includes/spreadsheet/structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ code example.

```xml
<?xml version="1.0" encoding="UTF-8" ?>
<worksheet xmlns="https://schemas.openxmlformats.org/spreadsheetml/2006/main">
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
<sheetData>
<row r="1">
<c r="A1">
Expand Down
13 changes: 13 additions & 0 deletions docs/includes/word/packages-and-document-parts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Packages and Document Parts

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 will use
a word-processing document package.
Loading