Skip to content

Commit de849da

Browse files
committed
fix xref links
1 parent af594c1 commit de849da

5 files changed

+5
-5
lines changed

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> 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: 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>
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

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>
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>
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>
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

0 commit comments

Comments
 (0)