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
[!include[description of a comment](../includes/presentation/modern-comment-description.md)]
28
+
29
+
## How the Sample Code Works
30
+
31
+
The sample code opens the presentation document in the using statement. Then it gets or creates the CommentAuthorsPart, and verifies that there is an existing comment authors part. If there is not, it adds one.
Next the code determines if the author that is passed in is on the list of existing authors; if so, it assigns the existing author ID. If not, it adds a new author to the list of authors and assigns an author ID and the parameter values.
The code then retrieves the comment list and then iterates through each comment in the comment list, displays the comment text to the user, and prompts whether they want to reply to each comment.
When the user chooses to reply to a comment, the code prompts for the reply text, then gets or creates a `CommentReplyList` for the comment and adds the new reply with the appropriate author information and timestamp.
Copy file name to clipboardExpand all lines: docs/presentation/overview.md
+29-27Lines changed: 29 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.suite: office
11
11
ms.author: o365devx
12
12
author: o365devx
13
13
ms.topic: conceptual
14
-
ms.date: 11/01/2017
14
+
ms.date: 08/12/2025
15
15
ms.localizationpriority: high
16
16
---
17
17
# Presentations
@@ -20,60 +20,62 @@ This section provides how-to topics for working with presentation documents usin
20
20
21
21
## In this section
22
22
23
-
-[Structure of a PresentationML document](structure-of-a-presentationml-document.md)
24
-
23
+
-[Structure of a PresentationML document](structure-of-a-presentationml-document.md)
24
+
25
25
26
26
-[Add an audio file to a slide in a presentation](how-to-add-an-audio-to-a-slide-in-a-presentation.md)
27
27
28
-
-[Add a comment to a slide in a presentation](how-to-add-a-comment-to-a-slide-in-a-presentation.md)
28
+
-[Add a comment to a slide in a presentation](how-to-add-a-comment-to-a-slide-in-a-presentation.md)
29
+
30
+
-[Reply to a comment in a presentation](how-to-reply-to-a-comment-in-a-presentation.md)
29
31
30
-
-[Apply a theme to a presentation](how-to-apply-a-theme-to-a-presentation.md)
32
+
-[Apply a theme to a presentation](how-to-apply-a-theme-to-a-presentation.md)
31
33
32
-
-[Change the fill color of a shape in a presentation](how-to-change-the-fill-color-of-a-shape-in-a-presentation.md)
34
+
-[Change the fill color of a shape in a presentation](how-to-change-the-fill-color-of-a-shape-in-a-presentation.md)
33
35
34
-
-[Create a presentation document by providing a file name](how-to-create-a-presentation-document-by-providing-a-file-name.md)
36
+
-[Create a presentation document by providing a file name](how-to-create-a-presentation-document-by-providing-a-file-name.md)
35
37
36
-
-[Delete all the comments by an author from all the slides in a presentation](how-to-delete-all-the-comments-by-an-author-from-all-the-slides-in-a-presentation.md)
38
+
-[Delete all the comments by an author from all the slides in a presentation](how-to-delete-all-the-comments-by-an-author-from-all-the-slides-in-a-presentation.md)
37
39
38
-
-[Delete a slide from a presentation](how-to-delete-a-slide-from-a-presentation.md)
40
+
-[Delete a slide from a presentation](how-to-delete-a-slide-from-a-presentation.md)
39
41
40
-
-[Get all the external hyperlinks in a presentation](how-to-get-all-the-external-hyperlinks-in-a-presentation.md)
42
+
-[Get all the external hyperlinks in a presentation](how-to-get-all-the-external-hyperlinks-in-a-presentation.md)
41
43
42
-
-[Get all the text in a slide in a presentation](how-to-get-all-the-text-in-a-slide-in-a-presentation.md)
44
+
-[Get all the text in a slide in a presentation](how-to-get-all-the-text-in-a-slide-in-a-presentation.md)
43
45
44
-
-[Get all the text in all slides in a presentation](how-to-get-all-the-text-in-all-slides-in-a-presentation.md)
46
+
-[Get all the text in all slides in a presentation](how-to-get-all-the-text-in-all-slides-in-a-presentation.md)
45
47
46
48
-[Get the titles of all the slides in a presentation](how-to-get-the-titles-of-all-the-slides-in-a-presentation.md)
47
49
48
-
-[Insert a new slide into a presentation](how-to-insert-a-new-slide-into-a-presentation.md)
50
+
-[Insert a new slide into a presentation](how-to-insert-a-new-slide-into-a-presentation.md)
49
51
50
-
-[Move a slide to a new position in a presentation](how-to-move-a-slide-to-a-new-position-in-a-presentation.md)
52
+
-[Move a slide to a new position in a presentation](how-to-move-a-slide-to-a-new-position-in-a-presentation.md)
51
53
52
-
-[Move a paragraph from one presentation to another](how-to-move-a-paragraph-from-one-presentation-to-another.md)
54
+
-[Move a paragraph from one presentation to another](how-to-move-a-paragraph-from-one-presentation-to-another.md)
53
55
54
-
-[Open a presentation document for read-only access](how-to-open-a-presentation-document-for-read-only-access.md)
56
+
-[Open a presentation document for read-only access](how-to-open-a-presentation-document-for-read-only-access.md)
55
57
56
58
-[Retrieve the number of slides in a presentation document](how-to-retrieve-the-number-of-slides-in-a-presentation-document.md)
57
-
59
+
58
60
-[Add a transition to a slides in a presentation](how-to-add-transitions-between-slides-in-a-presentation.md)
59
61
60
-
-[Working with animation](working-with-animation.md)
62
+
-[Working with animation](working-with-animation.md)
61
63
62
-
-[Working with comments](working-with-comments.md)
64
+
-[Working with comments](working-with-comments.md)
63
65
64
-
-[Working with handout master slides](working-with-handout-master-slides.md)
66
+
-[Working with handout master slides](working-with-handout-master-slides.md)
65
67
66
-
-[Working with notes slides](working-with-notes-slides.md)
68
+
-[Working with notes slides](working-with-notes-slides.md)
67
69
68
-
-[Working with presentations](working-with-presentations.md)
70
+
-[Working with presentations](working-with-presentations.md)
69
71
70
-
-[Working with presentation slides](working-with-presentation-slides.md)
72
+
-[Working with presentation slides](working-with-presentation-slides.md)
71
73
72
-
-[Working with slide layouts](working-with-slide-layouts.md)
74
+
-[Working with slide layouts](working-with-slide-layouts.md)
73
75
74
-
-[Working with slide masters](working-with-slide-masters.md)
76
+
-[Working with slide masters](working-with-slide-masters.md)
75
77
76
78
77
-
## Related sections
79
+
## Related sections
78
80
79
-
-[Getting started with the Open XML SDK for Office](../getting-started.md)
81
+
-[Getting started with the Open XML SDK for Office](../getting-started.md)
0 commit comments