This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: References | |
| description: '' | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#check-fields").on("click", () => tryCatch(checkFields)); | |
| $("#get-fields").on("click", () => tryCatch(getFields)); | |
| $("#get-bookmarks").on("click", () => tryCatch(getBookmarks)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Smz-CustomXml-v4 | |
| description: '' | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| OfficeExtension.config.extendedErrorLogging = true; | |
| $("#get-xml").click(() => | |
| tryCatch(() => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Smz-GetDocx-CreateDocx | |
| description: '' | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: > | |
| $("#run").click(() => tryCatch(getDocumentAsCompressed)); | |
| // async function run() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Smz-BasicComment (doesn't include selection) | |
| description: '' | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(run)); | |
| async function run() { | |
| await Word.run(async (context) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Smz-CommentRemoval | |
| description: Create a new snippet from a blank template. | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(run)); | |
| async function removeCommentsFromXML(xmlString) { | |
| let xmlText = ""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Smz-CustomXml-v3 | |
| description: '' | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#get-xml").click(() => | |
| tryCatch(() => { | |
| getCustomJson(); | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Comments (Ooxml) | |
| description: '' | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(insertComment)); | |
| $("#get").click(() => tryCatch(getOoxml)); | |
| $("#set").click(() => tryCatch(setOoxml)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Comments (Ooxml) | |
| description: '' | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: > | |
| $("#run").click(() => tryCatch(insertComment2)); | |
| // async function insertComment3() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Smz-CustomXml-v3 | |
| description: '' | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#get-xml").click(() => | |
| tryCatch(() => { | |
| getCustomJson(); | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Smz-CustomXml-v2 | |
| description: '' | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#get-xml").click(() => | |
| tryCatch(() => { | |
| getCustomJson(); | |
| }) |
NewerOlder