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
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,7 @@ The SDK supports the following common tasks/scenarios:
104
104
105
105
-**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.
106
106
107
-
-**Reads ISO Strict Document File**—Open XML SDK 2.5 can read ISO/IEC 29500 Strict Format files. When the Open XML SDK 2.5 API opens a Strict Format file, each Open XML part in the file is loaded to an **OpenXmlPart** class of the Open XML SDK 2.5 by mapping `http://purl.oclc.org/ooxml/` namespaces to the corresponding `http://schemas.openxmlformats.org/` namespaces.
107
+
-**Reads ISO Strict Document File**—Open XML SDK 2.5 can read ISO/IEC 29500 Strict Format files. When the Open XML SDK 2.5 API opens a Strict Format file, each Open XML part in the file is loaded to an **OpenXmlPart** class of the Open XML SDK 2.5 by mapping `https://purl.oclc.org/ooxml/` namespaces to the corresponding `https://schemas.openxmlformats.org/` namespaces.
108
108
109
109
-**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.
Copy file name to clipboardExpand all lines: docs/how-to-accept-all-revisions-in-a-word-processing-document.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ The **using** statement provides a recommended alternative to the typical .Open,
62
62
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."
@@ -79,17 +79,17 @@ markup for a document that contains the text "Example text."
79
79
80
80
Using the Open XML SDK 2.5, you can create document structure and
81
81
content using strongly-typed classes that correspond to **WordprocessingML** elements. You will find these
82
-
classes in the [DocumentFormat.OpenXml.Wordprocessing](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.aspx)
82
+
classes in the [DocumentFormat.OpenXml.Wordprocessing](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.aspx)
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
86
| WordprocessingML Element | Open XML SDK 2.5 Class | Description |
87
87
|---|---|---|
88
-
| document |[Document](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.document.aspx)| The root element for the main document part. |
89
-
| body |[Body](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.body.aspx)| The container for the block level structures such as paragraphs, tables, annotations and others specified in the ISO/IEC 29500 specification. |
90
-
| p |[Paragraph](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.paragraph.aspx)| A paragraph. |
91
-
| r |[Run](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.run.aspx)| A run. |
92
-
| t |[Text](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.text.aspx)| A range of text. |
88
+
| document |[Document](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.document.aspx)| The root element for the main document part. |
89
+
| body |[Body](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.body.aspx)| The container for the block level structures such as paragraphs, tables, annotations and others specified in the ISO/IEC 29500 specification. |
90
+
| p |[Paragraph](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.paragraph.aspx)| A paragraph. |
91
+
| r |[Run](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.run.aspx)| A run. |
92
+
| t |[Text](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.text.aspx)| A range of text. |
>The**AddNewPart<T>**methodcreatesarelationshipfromthecurrentdocumentparttothenewdocumentpart. Thismethodreturnsthenewdocumentpart. Also, youcanusethe**[DataPart.FeedData](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.packaging.datapart.feeddata.aspx)** method to fill the document part.
196
+
>The**AddNewPart<T>**methodcreatesarelationshipfromthecurrentdocumentparttothenewdocumentpart. Thismethodreturnsthenewdocumentpart. Also, youcanusethe**[DataPart.FeedData](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.datapart.feeddata.aspx)** method to fill the document part.
The code starts with opening a package file by passing a file name to
55
-
one of the overloaded **[Open()](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.packaging.wordprocessingdocument.open.aspx)** methods of the **[DocumentFormat.OpenXml.Packaging.WordprocessingDocument](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.packaging.wordprocessingdocument.aspx)**
55
+
one of the overloaded **[Open()](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.wordprocessingdocument.open.aspx)** methods of the **[DocumentFormat.OpenXml.Packaging.WordprocessingDocument](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.wordprocessingdocument.aspx)**
56
56
that takes a string and a Boolean value that specifies whether the file
57
57
should be opened for editing or for read-only access. In this case, the
58
58
Boolean value is **true** specifying that the
@@ -93,7 +93,7 @@ more **t** elements. The **t** element contains a range of text. The **Wordproce
93
93
sample code creates is shown in the following code example.
@@ -106,17 +106,17 @@ sample code creates is shown in the following code example.
106
106
107
107
Using the Open XML SDK 2.5, you can create document structure and
108
108
content using strongly-typed classes that correspond to **WordprocessingML** elements. You can find these
109
-
classes in the **[DocumentFormat.OpenXml.Wordprocessing](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.aspx)**
109
+
classes in the **[DocumentFormat.OpenXml.Wordprocessing](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.aspx)**
110
110
namespace. The following table lists the class names of the classes that
111
111
correspond to the **document**, **body**, **p**, **r**, and **t** elements,
112
112
113
113
| WordprocessingML Element | Open XML SDK 2.5 Class | Description |
114
114
|---|---|---|
115
-
| document |[Document](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.document.aspx)| The root element for the main document part. |
116
-
| body |[Body](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.body.aspx)| The container for the block level structures such as paragraphs, tables, annotations, and others specified in the ISO/IEC 29500 specification. |
117
-
| p |[Paragraph](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.paragraph.aspx)| A paragraph. |
118
-
| r |[Run](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.run.aspx)| A run. |
119
-
| t |[Text](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.text.aspx)| A range of text. |
115
+
| document |[Document](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.document.aspx)| The root element for the main document part. |
116
+
| body |[Body](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.body.aspx)| The container for the block level structures such as paragraphs, tables, annotations, and others specified in the ISO/IEC 29500 specification. |
117
+
| p |[Paragraph](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.paragraph.aspx)| A paragraph. |
118
+
| r |[Run](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.run.aspx)| A run. |
119
+
| t |[Text](https://msdn.microsoft.com/library/office/documentformat.openxml.wordprocessing.text.aspx)| A range of text. |
0 commit comments