await Word.run(async (context) => { const body = context.document.body; const trackedChanges = body.getTrackedChanges(); trackedChanges.acceptAll(); console.log("Accepted all tracked changes."); }); getFirst() 获取此集合中的第一个 TrackedChange。 如果此集合为空, ItemNotFound 则引发错...
Reject All Changes and Stop Tracking Accept or reject changes within a document with a right click Working within a document, you can right-click on a tracked change to accept or reject the change. Using the right-click method displays a banner menu option and a drop-down menu option. Ac...
Reject All Changes and Stop Tracking Accept or reject changes within a document with a right click Working within a document, you can right-click on a tracked change to accept or reject the change. Using the right-click method displays a banner menu option and a drop-down menu option. Ac...
acceptAll(): void; Devoluciones void Comentarios [ Conjunto de API: WordApi 1.6 ] Ejemplos TypeScript Copiar // Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/50-document/manage-tracked-changes.yaml // Accepts all tracked changes. awai...
1. In the track changes mode file, clickReview>Show Markup, and then uncheck theCommentsandInsertions and Deletionsoptions, and leave theFormattingoption checked, see screenshot: 2. And now, you just can see the formatting tracked changes, then, go on clickingReview>Accept>Accept All Changes ...
Previous Changes: This feature move to the previous tracked change. Next Change: This feature move to the next tracked change. In this tutorial, we will explain:Advertisements How to use the Accept feature. How to use the Reject and Move to Next feature. ...
Before you share your document, remove any markup by accepting or rejecting tracked changes and deleting comments. Important: To remove tracked changes, you must accept or reject them. To remove comments, you must delete them. Choosing the No Markup view only te...
Accepts all tracked changes in the specified document. AcceptAllRevisionsShown Accepts all revisions in the specified document that are displayed on the screen. Activate Activates the specified document so that it becomes the active document. AddToFavorites Creates a shortcut to the document or hyperl...
Important:To remove tracked changes, you must accept or reject them. To remove comments, you must delete them. Choosing theNo Markupview only temporarily hides changes and comments. They will be visible again the next time someone opens the document. ...
Accept all the tracked changes and delete all edits and comments (unless you only want to accept some of them, in which case see step 4). NOTE: You need to delete edits SEPARATELY from comments! Under the “Review” tab, click on the “Accept” icon and select “Accept All Changes.”...