You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/about-the-open-xml-sdk.md
+10-12Lines changed: 10 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ api_name:
4
4
api_type:
5
5
- schema
6
6
ms.assetid: 620e86b5-49f2-43dc-85d4-9c7456c09552
7
-
title: About the Open XML SDK 2.5 for Office
7
+
title: About the Open XML SDK for Office
8
8
ms.suite: office
9
9
ms.author: o365devx
10
10
author: o365devx
@@ -13,7 +13,7 @@ ms.date: 11/01/2017
13
13
ms.localizationpriority: high
14
14
---
15
15
16
-
# About the Open XML SDK 2.5 for Office
16
+
# About the Open XML SDK for Office
17
17
18
18
Open XML is an open standard for word-processing documents, presentations, and spreadsheets that can be freely implemented by multiple applications on different platforms. Open XML is designed to faithfully represent existing word-processing documents, presentations, and spreadsheets that are encoded in binary formats defined by Microsoft Office applications. The reason for Open XML is simple: billions of documents now exist but, unfortunately, the information in those documents is tightly coupled with the programs that created them. The purpose of the Open XML standard is to de-couple documents created by Microsoft Office applications so that they can be manipulated by other applications independent of proprietary formats and without the loss of data.
19
19
@@ -62,24 +62,22 @@ Version 1 of the Open XML SDK simplified the manipulation of Open XML packages.
62
62
-**Data update** With the Open XML object model, you can easily modify the data in multiple packages.
63
63
-**Privacy** With a few lines of code, you can remove comments and other personal information from a document before it is distributed.
64
64
65
-
## Open XML SDK 2.0 for Microsoft Office
66
-
67
-
The Open XML SDK 2.0 for Microsoft Office extended the strongly typed class support from the part classes, which are provided in version 1.0, to the XML content in each part. All functions available in version 1.0 are still supported. With version 2.0, you are able to program against the XML content inside the part. The SDK supports programming in the style of LINQ to XML which makes coding against the XML content much easier than the traditional W3C XML DOM programming model.
65
+
## Open XML SDK for Microsoft Office
68
66
69
67
The SDK supports the following common tasks/scenarios:
70
68
71
69
-**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.
72
70
-**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.
73
-
-**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.
71
+
-**Validation** The Open XML SDK for Microsoft Office provides validation functionality, enabling you to validate Open XML documents against different variations of the Open XML Format.
74
72
75
-
## Open XML SDK 2.5 for Office
73
+
## Open XML SDK for Office
76
74
77
-
The Open XML SDK 2.5 provides the namespaces and members to support the Microsoft Office 2013. The Open XML SDK 2.5 can also read ISO/IEC 29500 Strict Format files. The Strict format is a subset of the Transitional format that does not include legacy features - this makes it theoretically easier for a new implementer to support since it has a smaller technical footprint.
75
+
The Open XML SDK provides the namespaces and members to support the Microsoft Office 2013. The Open XML SDK can also read ISO/IEC 29500 Strict Format files. The Strict format is a subset of the Transitional format that does not include legacy features - this makes it theoretically easier for a new implementer to support since it has a smaller technical footprint.
78
76
79
77
The SDK supports the following common tasks/scenarios:
80
78
81
-
-**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.
82
-
-**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.
83
-
-**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.
79
+
-**Support of Office 2013 Preview file format** In addition to the Open XML SDK for Microsoft Office classes, Open XML SDK provides new classes that enable you to write and build applications to manipulate Open XML file extensions of the new Office 2013 features.
80
+
-**Reads ISO Strict Document File** Open XML SDK can read ISO/IEC 29500 Strict Format files. When the Open XML SDK API opens a Strict Format file, each Open XML part in the file is loaded to an **OpenXmlPart** class of the Open XML SDK by mapping `https://purl.oclc.org/ooxml/` namespaces to the corresponding `https://schemas.openxmlformats.org/` namespaces.
81
+
-**Fixes to the Open XML SDK for Microsoft Office** Open XML SDK includes fixes to known issues in the Open XML SDK 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.
84
82
85
-
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).
83
+
For more information about these and other new features of the Open XML SDK, see [What's new in the Open XML SDK for Office](what-s-new-in-the-open-xml-sdk.md).
Copy file name to clipboardExpand all lines: docs/getting-started.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ api_name:
5
5
api_type:
6
6
- schema
7
7
ms.assetid: 7b729dda-bbb6-437e-93d6-7bfe7b8183fa
8
-
title: Getting started with the Open XML SDK 2.5 for Office
8
+
title: Getting started with the Open XML SDK for Office
9
9
ms.suite: office
10
10
11
11
ms.author: o365devx
@@ -15,15 +15,15 @@ ms.date: 11/01/2017
15
15
ms.localizationpriority: high
16
16
---
17
17
18
-
# Getting started with the Open XML SDK 2.5 for Office
18
+
# Getting started with the Open XML SDK for Office
19
19
20
-
The Open XML SDK 2.5 for Office simplifies the task of manipulating Open XML packages and the underlying Open XML schema elements within a package. The classes in the Open XML SDK 2.5 encapsulate many common tasks that developers perform on Open XML packages, so that you can perform complex operations with just a few lines of code.
20
+
The Open XML SDK for Office simplifies the task of manipulating Open XML packages and the underlying Open XML schema elements within a package. The classes in the Open XML SDK encapsulate many common tasks that developers perform on Open XML packages, so that you can perform complex operations with just a few lines of code.
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.
26
+
Using the classes in the Open XML SDK is simple. When you have installed the Open XML SDK, 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.
Copy file name to clipboardExpand all lines: docs/how-to-accept-all-revisions-in-a-word-processing-document.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ ms.localizationpriority: high
16
16
17
17
# Accept all revisions in a word processing document (Open XML SDK)
18
18
19
-
This topic shows how to use the Open XML SDK 2.5 for Office to accept all revisions in a word processing document programmatically.
19
+
This topic shows how to use the Open XML SDK for Office to accept all revisions in a word processing document programmatically.
20
20
21
21
The following assembly directives are required to compile the code in this topic.
22
22
@@ -71,9 +71,9 @@ The basic document structure of a **WordProcessingML** document consists of the
71
71
</w:document>
72
72
```
73
73
74
-
Using the Open XML SDK 2.5, you can create document structure and content using strongly-typed classes that correspond to **WordprocessingML** elements. You will find these classes in the [DocumentFormat.OpenXml.Wordprocessing](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.aspx) namespace. The following table lists the class names of the classes that correspond to the **document**, **body**, **p**, **r**, and **t** elements.
74
+
Using the Open XML SDK, you can create document structure and content using strongly-typed classes that correspond to **WordprocessingML** elements. You will find these classes in the [DocumentFormat.OpenXml.Wordprocessing](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.aspx) namespace. The following table lists the class names of the classes that correspond to the **document**, **body**, **p**, **r**, and **t** elements.
75
75
76
-
| WordprocessingML Element | Open XML SDK 2.5 Class | Description |
76
+
| WordprocessingML Element | Open XML SDK Class | Description |
77
77
|---|---|---|
78
78
| document |[Document](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.document.aspx)| The root element for the main document part. |
79
79
| body |[Body](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.body.aspx)| The container for the block level structures such as paragraphs, tables, annotations and others specified in the [ISO/IEC 29500](https://www.iso.org/standard/71691.html) specification. |
@@ -506,4 +506,4 @@ The following is the complete sample code in both C\# and Visual Basic.
506
506
507
507
## See also
508
508
509
-
-[Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk)
509
+
-[Open XML SDK class library reference](/office/open-xml/open-xml-sdk)
Copy file name to clipboardExpand all lines: docs/how-to-add-a-comment-to-a-slide-in-a-presentation.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ ms.localizationpriority: medium
17
17
18
18
# Add a comment to a slide in a presentation (Open XML SDK)
19
19
20
-
This topic shows how to use the classes in the Open XML SDK 2.5 for
20
+
This topic shows how to use the classes in the Open XML SDK for
21
21
Office to add a comment to the first slide in a presentation
22
22
programmatically.
23
23
@@ -138,13 +138,13 @@ two slides denoted by the IDs 267 and 256.
138
138
</p:presentation>
139
139
```
140
140
141
-
Using the Open XML SDK 2.5, you can create document structure and
141
+
Using the Open XML SDK, you can create document structure and
142
142
content using strongly-typed classes that correspond to PresentationML
143
143
elements. You can find these classes in the [DocumentFormat.OpenXml.Presentation](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.aspx)
144
144
namespace. The following table lists the class names of the classes that
145
145
correspond to the **sld**, **sldLayout**, **sldMaster**, and **notesMaster** elements.
146
146
147
-
| PresentationML Element | Open XML SDK 2.5 Class | Description |
147
+
| PresentationML Element | Open XML SDK Class | Description |
148
148
|---|---|---|
149
149
| sld |[Slide](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slide.aspx)| Presentation Slide. It is the root element of SlidePart. |
150
150
| sldLayout |[SlideLayout](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slidelayout.aspx)| Slide Layout. It is the root element of SlideLayoutPart. |
@@ -759,5 +759,5 @@ comment string to the first slide in the presentation file Myppt1.pptx.
759
759
## See also
760
760
761
761
762
-
-[Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk)
762
+
-[Open XML SDK class library reference](/office/open-xml/open-xml-sdk)
Copy file name to clipboardExpand all lines: docs/how-to-add-a-new-document-part-that-receives-a-relationship-id-to-a-package.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ ms.localizationpriority: medium
17
17
18
18
# Add a new document part that receives a relationship ID to a package
19
19
20
-
This topic shows how to use the classes in the Open XML SDK 2.5 for
20
+
This topic shows how to use the classes in the Open XML SDK for
21
21
Office to add a document part (file) that receives a relationship **Id** parameter for a word
22
22
processing document.
23
23
@@ -77,13 +77,13 @@ markup for a document that contains the text "Example text."
77
77
</w:document>
78
78
```
79
79
80
-
Using the Open XML SDK 2.5, you can create document structure and
80
+
Using the Open XML SDK, you can create document structure and
81
81
content using strongly-typed classes that correspond to **WordprocessingML** elements. You will find these
82
82
classes in the [DocumentFormat.OpenXml.Wordprocessing](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.aspx)
83
83
namespace. The following table lists the class names of the classes that
84
84
correspond to the **document**, **body**, **p**, **r**, and **t** elements.
85
85
86
-
| WordprocessingML Element | Open XML SDK 2.5 Class | Description |
86
+
| WordprocessingML Element | Open XML SDK Class | Description |
87
87
|---|---|---|
88
88
| document |[Document](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.document.aspx)| The root element for the main document part. |
89
89
| body |[Body](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.body.aspx)| The container for the block level structures such as paragraphs, tables, annotations and others specified in the ISO/IEC 29500 specification. |
@@ -301,7 +301,7 @@ The following is the complete code example in both C\# and Visual Basic.
Copy file name to clipboardExpand all lines: docs/how-to-add-a-new-document-part-to-a-package.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ ms.localizationpriority: medium
15
15
16
16
# Add a new document part to a package (Open XML SDK)
17
17
18
-
This topic shows how to use the classes in the Open XML SDK 2.5 for Office to add a document part (file) to a word processing document programmatically.
18
+
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.
19
19
20
20
The following assembly directives are required to compile the code in this topic.
21
21
@@ -69,9 +69,9 @@ The basic document structure of a **WordProcessingML** document consists of the
69
69
</w:document>
70
70
```
71
71
72
-
Using the Open XML SDK 2.5, you can create document structure and content using strongly-typed classes that correspond to **WordprocessingML** elements. Find these classes in the **[DocumentFormat.OpenXml.Wordprocessing](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.aspx)** namespace. The following table lists the class names of the classes that correspond to the **document**, **body**, **p**, **r**, and **t** elements,
72
+
Using the Open XML SDK, you can create document structure and content using strongly-typed classes that correspond to **WordprocessingML** elements. Find these classes in the **[DocumentFormat.OpenXml.Wordprocessing](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.aspx)** namespace. The following table lists the class names of the classes that correspond to the **document**, **body**, **p**, **r**, and **t** elements,
73
73
74
-
|**WordprocessingML Element**|**Open XML SDK 2.5 Class**|**Description**|
74
+
|**WordprocessingML Element**|**Open XML SDK Class**|**Description**|
75
75
|:---|:---|:---|
76
76
| document |[Document](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.document.aspx)| The root element for the main document part. |
77
77
| body |[Body](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.body.aspx)| The container for the block level structures such as paragraphs, tables, annotations, and others specified in the ISO/IEC 29500 specification. |
@@ -163,4 +163,4 @@ Following is the complete code example in both C\# and Visual Basic.
163
163
164
164
## See also
165
165
166
-
-[Open XML SDK 2.5 class library reference](/office/open-xml/open-xml-sdk)
166
+
-[Open XML SDK class library reference](/office/open-xml/open-xml-sdk)
0 commit comments