Skip to content

Commit af594c1

Browse files
committed
fix docfx errors
1 parent 91d8ea3 commit af594c1

13 files changed

+41
-41
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ opened in read-only mode to avoid accidental changes.
5555
## Comments Element
5656

5757
In this how-to, you are going to work with comments. Therefore, it is
58-
useful to familiarize yourself with the structure of the `<comments/> element. The following information
58+
useful to familiarize yourself with the structure of the `<comments/>` element. The following information
5959
from the [!include[ISO/IEC 29500 URL](../includes/iso-iec-29500-link.md)]
6060
specification can be useful when working with this element.
6161

docs/includes/spreadsheet/open-spreadsheet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ in the document is represented in the package as XML using `SpreadsheetML` marku
99

1010
To create the class instance from the document that you call one of the
1111
<xref:DocumentFormat.OpenXml.Packaging.SpreadsheetDocument.Open*> methods. Several are provided, each
12-
with a different signature. The sample code in this topic uses the [Open(String, Boolean)](/dotnet/api/documentformat.openxml.packaging.spreadsheetdocument.open?view=openxml-3.0.1#documentformat-openxml-packaging-spreadsheetdocument-open(system-string-system-boolean)) method with a
12+
with a different signature. The sample code in this topic uses the @"DocumentFormat.OpenXml.Packaging.SpreadsheetDocument.Open*?text=Open(String, Boolean)" method with a
1313
signature that requires two parameters. The first parameter takes a full
1414
path string that represents the document that you want to open. The
1515
second parameter is either `true` or `false` and represents whether you want the file to

docs/includes/spreadsheet/spreadsheet-object.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ SpreadsheetML elements. You can find these classes in the `DocumentFormat.OpenXM
4343
following table lists the class names of the classes that correspond to
4444
the `workbook`, `sheets`, `sheet`, `worksheet`, and `sheetData` elements.
4545

46-
**SpreadsheetML Element**|**Open XML SDK Class**|**Description**
47-
--|--|--
48-
`<workbook/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.Workbook>|The root element for the main document part.
49-
`<sheets/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.Sheets>|The container for the block level structures such as sheet, fileVersion, and others specified in the [!include[ISO/IEC 29500 URL](../includes/iso-iec-29500-link.md)] specification.
50-
`<sheet/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.Sheet>|A sheet that points to a sheet definition file.
51-
`<worksheet/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.Worksheet>|A sheet definition file that contains the sheet data.
52-
`<sheetData/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.SheetData>|The cell table, grouped together by rows.
53-
`<row/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.Row>|A row in the cell table.
54-
`<c/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.Cell>|A cell in a row.
55-
`<v/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.CellValue>|The value of a cell.
46+
| **SpreadsheetML Element**|**Open XML SDK Class**|**Description** |
47+
|--|--|--|
48+
| `<workbook/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.Workbook>|The root element for the main document part. |
49+
| `<sheets/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.Sheets>|The container for the block level structures such as sheet, fileVersion, and |others specified in the [!include[ISO/IEC 29500 URL](../iso-iec-29500-link.md)] specification.
50+
| `<sheet/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.Sheet>|A sheet that points to a sheet definition file. |
51+
| `<worksheet/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.Worksheet>|A sheet definition file that contains the sheet data. |
52+
| `<sheetData/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.SheetData>|The cell table, grouped together by rows. |
53+
| `<row/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.Row>|A row in the cell table. |
54+
| `<c/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.Cell>|A cell in a row. |
55+
| `<v/>`|<xref:DocumentFormat.OpenXml.Spreadsheet.CellValue>|The value of a cell. |

docs/presentation/how-to-delete-a-slide-from-a-presentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ slides, and the second is deleting a slide at a specific index.
3232
--------------------------------------------------------------------------------
3333
## Getting a Presentation Object
3434

35-
In the Open XML SDK, the <xref:DocumentFormat.OpenXml.Packaging.PresentationDocument> class represents a presentation document package. To work with a presentation document, first create an instance of the `PresentationDocument` class, and then work with that instance. To create the class instance from the document call one of the `Open` method overloads. The code in this topic uses the <xref:DocumentFormat.OpenXml.Packaging.PresentationDocument.Open#documentformat-openxml-packaging-presentationdocument-open(system-string-system-boolean)> method, which takes a file path as the first parameter to specify the file to open, and a Boolean value as the second parameter to specify whether a document is editable. Set this second parameter to `false` to open the file for read-only access, or `true` if you want to open the file for read/write access. The code in this topic opens the file twice, once to count the number of slides and once to delete a specific slide. When you count the number of slides in a presentation, it is best to open the file for read-only access to protect the file against accidental writing. The following `using` statement opens the file for read-only access. In this code example, the `presentationFile` parameter is a string that represents the path for the file from which you want to open the document.
35+
In the Open XML SDK, the <xref:DocumentFormat.OpenXml.Packaging.PresentationDocument> class represents a presentation document package. To work with a presentation document, first create an instance of the `PresentationDocument` class, and then work with that instance. To create the class instance from the document call one of the `Open` method overloads. The code in this topic uses the <xref:DocumentFormat.OpenXml.Packaging.PresentationDocument.Open> method, which takes a file path as the first parameter to specify the file to open, and a Boolean value as the second parameter to specify whether a document is editable. Set this second parameter to `false` to open the file for read-only access, or `true` if you want to open the file for read/write access. The code in this topic opens the file twice, once to count the number of slides and once to delete a specific slide. When you count the number of slides in a presentation, it is best to open the file for read-only access to protect the file against accidental writing. The following `using` statement opens the file for read-only access. In this code example, the `presentationFile` parameter is a string that represents the path for the file from which you want to open the document.
3636

3737
### [C#](#tab/cs-1)
3838
[!code-csharp[](../../samples/presentation/delete_a_slide_from/cs/Program.cs#snippet1)]

docs/presentation/how-to-get-all-the-external-hyperlinks-in-a-presentation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ In the Open XML SDK, the <xref:DocumentFormat.OpenXml.Packaging.PresentationDocu
2828
presentation document package. To work with a presentation document,
2929
first create an instance of the `PresentationDocument` class, and then work with
3030
that instance. To create the class instance from the document call the
31-
<xref:DocumentFormat.OpenXml.Packaging.PresentationDocument.Open#documentformat-openxml-packaging-presentationdocument-open(system-string-system-boolean)>
31+
<xref:DocumentFormat.OpenXml.Packaging.PresentationDocument.Open>
3232
method that uses a file path, and a Boolean value as the second
3333
parameter to specify whether a document is editable. Set this second
3434
parameter to `false` to open the file for
@@ -63,13 +63,13 @@ introduces the `id` (Hyperlink Target).
6363

6464
> Specifies the ID of the relationship whose target shall be used as the
6565
> target for thishyperlink.
66-
>
66+
>
6767
> If this attribute is omitted, then there shall be no external
6868
> hyperlink target for the current hyperlink - a location in the current
6969
> document can still be target via the anchor attribute. If this
7070
> attribute exists, it shall supersede the value in the anchor
7171
> attribute.
72-
>
72+
>
7373
> [*Example*: Consider the following `PresentationML` fragment for a hyperlink:
7474
7575
```xml
@@ -95,10 +95,10 @@ introduces the `id` (Hyperlink Target).
9595
> The target of this hyperlink would therefore be the target of
9696
> relationship `rId9` - in this case,
9797
> https://www.example.com. *end example*]
98-
>
98+
>
9999
> The possible values for this attribute are defined by the
100100
> ST\_RelationshipId simple type(§22.8.2.1).
101-
>
101+
>
102102
> &copy; [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
103103
104104

docs/presentation/how-to-get-all-the-text-in-a-slide-in-a-presentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ In the Open XML SDK, the <xref:DocumentFormat.OpenXml.Packaging.PresentationDocu
2828
presentation document package. To work with a presentation document,
2929
first create an instance of the `PresentationDocument` class, and then work with
3030
that instance. To create the class instance from the document call the
31-
<xref:DocumentFormat.OpenXml.Packaging.PresentationDocument.Open#documentformat-openxml-packaging-presentationdocument-open(system-string-system-boolean)>
31+
<xref:DocumentFormat.OpenXml.Packaging.PresentationDocument.Open>
3232
method that uses a file path, and a Boolean value as the second
3333
parameter to specify whether a document is editable. To open a document
3434
for read/write access, assign the value `true` to this parameter; for read-only access

docs/presentation/how-to-get-all-the-text-in-all-slides-in-a-presentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ In the Open XML SDK, the <xref:DocumentFormat.OpenXml.Packaging.PresentationDocu
2828
presentation document package. To work with a presentation document,
2929
first create an instance of the `PresentationDocument` class, and then work with
3030
that instance. To create the class instance from the document call the
31-
<xref:DocumentFormat.OpenXml.Packaging.PresentationDocument.Open#documentformat-openxml-packaging-presentationdocument-open(system-string-system-boolean)>
31+
<xref:DocumentFormat.OpenXml.Packaging.PresentationDocument.Open>
3232
method that uses a file path, and a Boolean value as the second
3333
parameter to specify whether a document is editable. To open a document
3434
for read/write access, assign the value `true` to this parameter; for read-only access

docs/presentation/how-to-get-the-titles-of-all-the-slides-in-a-presentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In the Open XML SDK, the <xref:DocumentFormat.OpenXml.Packaging.PresentationDocu
2929
presentation document package. To work with a presentation document,
3030
first create an instance of the `PresentationDocument` class, and then work with
3131
that instance. To create the class instance from the document call the
32-
<xref:DocumentFormat.OpenXml.Packaging.PresentationDocument.Open#documentformat-openxml-packaging-presentationdocument-open(system-string-system-boolean)>
32+
<xref:DocumentFormat.OpenXml.Packaging.PresentationDocument.Open>
3333
method that uses a file path, and a Boolean value as the second
3434
parameter to specify whether a document is editable. To open a document
3535
for read-only, specify the value `false` for

docs/presentation/working-with-handout-master-slides.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.suite: office
1111
ms.author: o365devx
1212
author: o365devx
1313
ms.topic: conceptual
14-
ms.date: 11/01/2017
14+
ms.date: 01/21/2025
1515
ms.localizationpriority: medium
1616
---
1717
# Working with handout master slides
@@ -147,7 +147,7 @@ The namespace represented by the letter `P` in the code is the <a href="xref:Doc
147147
namespace.
148148

149149
### [C#](#tab/cs)
150-
[!code-csharp[](../../samples/presentation/working_with_handout_master_slides/cs/Program.#snippet0)]
150+
[!code-csharp[](../../samples/presentation/working_with_handout_master_slides/cs/Program.cs#snippet0)]
151151
### [Visual Basic](#tab/vb)
152152
[!code-vb[](../../samples/presentation/working_with_handout_master_slides/vb/Program.vb#snippet0)]
153153

docs/presentation/working-with-presentations.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ size and default text styles.
5454
</p:presentation>
5555
```
5656

57-
© [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
57+
&copy; [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
5858

5959
The `<presentation/>` element typically contains child elements that list
6060
slide masters, slides, and custom slide shows contained within the
@@ -79,7 +79,7 @@ Open XML SDK classes that correspond to them.
7979
| `<sldIdLst/>` | <xref:DocumentFormat.OpenXml.Presentation.SlideIdList> |
8080
| `<sldId/>` | <xref:DocumentFormat.OpenXml.Presentation.SlideId> |
8181
| `<notesMasterIdLst/>` | <xref:DocumentFormat.OpenXml.Presentation.NotesMasterIdList> |
82-
| `<handoutMasterIdLst/>` | <xref:DocumentFormat.OpenXml.PresentationHandoutMasterIdList> |
82+
| `<handoutMasterIdLst/>` | <xref:DocumentFormat.OpenXml.Presentation.SlideMasterIdList> |
8383
| `<custShowLst/>` | <xref:DocumentFormat.OpenXml.Presentation.CustomShowList> |
8484
| `<sldSz/>` | <xref:DocumentFormat.OpenXml.Presentation.SlideSize> |
8585
| `<notesSz/>` | <xrefDocumentFormat.OpenXml.Presentation.NotesSize> |
@@ -109,7 +109,7 @@ slide master slides that are available within the corresponding
109109
presentation. A slide master is a slide that is specifically designed to
110110
be a template for all related child layout slides.
111111

112-
© [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
112+
&copy; [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
113113

114114
### SlideMasterId Class
115115

@@ -138,7 +138,7 @@ embedTrueTypeFonts="1">
138138
</p:presentation>
139139
```
140140

141-
© [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
141+
&copy; [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
142142

143143
### SlideIdList Class
144144

@@ -153,7 +153,7 @@ slides that are available within the corresponding presentation. A slide
153153
contains the information that is specific to a single slide such as
154154
slide-specific shape and text information.
155155

156-
© [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
156+
&copy; [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
157157

158158
### SlideId Class
159159

@@ -184,7 +184,7 @@ a presentation
184184
</p:presentation>
185185
```
186186

187-
© [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
187+
&copy; [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
188188

189189
### NotesMasterIdList Class
190190

@@ -199,7 +199,7 @@ notes master slides that are available within the corresponding
199199
presentation. A notes master is a slide that is specifically designed
200200
for the printing of the slide along with any attached notes.
201201

202-
© [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
202+
&copy; [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
203203

204204
### HandoutMasterIdList Class
205205

@@ -214,7 +214,7 @@ handout master slides that are available within the corresponding
214214
presentation. A handout master is a slide that is specifically designed
215215
for printing as a handout.
216216

217-
© [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
217+
&copy; [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
218218

219219
### CustomShowList Class
220220

@@ -229,7 +229,7 @@ within the corresponding presentation. A custom show is a defined slide
229229
sequence that allows for the displaying of the slides with the
230230
presentation in any arbitrary order.
231231

232-
© [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
232+
&copy; [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
233233

234234
### SlideSize Class
235235

@@ -256,7 +256,7 @@ embedTrueTypeFonts="1">
256256
</p:presentation>
257257
```
258258

259-
© [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
259+
&copy; [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
260260

261261
### NotesSize Class
262262

@@ -286,7 +286,7 @@ embedTrueTypeFonts="1">
286286
</p:presentation>
287287
```
288288

289-
© [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
289+
&copy; [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
290290

291291
### DefaultTextStyle Class
292292

@@ -302,7 +302,7 @@ when inserting a new slide if that slide is not associated with a master
302302
slide or if no styling information has been otherwise specified for the
303303
text within the presentation slide.
304304

305-
© [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
305+
&copy; [!include[ISO/IEC 29500 version](../includes/iso-iec-29500-version.md)]
306306

307307

308308
--------------------------------------------------------------------------------

0 commit comments

Comments
 (0)