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: Blank snippet (6) | |
| description: Creates a new snippet from a blank template. | |
| 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: importStyleFromString | |
| description: '' | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| OfficeExtension.config.extendedErrorLogging = true; | |
| $("#file").change(getBase64); | |
| $("#insert-sheets").click(() => tryCatch(insertDocument)); |
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: Add content controls event (1) | |
| description: 'Register, trigger, and deregister content control onAdded event' | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: > | |
| $("#insert-content-controls").click(() => tryCatch(insertContentControls)); | |
| $("#register-event-handlers").click(() => tryCatch(registerEventHandlers)); |
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: Content control basics | |
| description: 'Inserts, updates, and retrieves content controls.' | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#insert-controls").click(() => tryCatch(insertContentControls)); | |
| $("#change-controls").click(() => tryCatch(modifyContentControls)); | |
| $("#setup").click(() => tryCatch(setup)); |
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: Word API 1.5 Demo - final | |
| description: Word API 1.5 Demo | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: > | |
| $("#file1").change(getBase64); | |
| $("#insert-sheets").click(() => tryCatch(insertDocument)); |
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: Word API 1.5 Demo - final | |
| description: Word API 1.5 Demo | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: > | |
| $("#file1").change(getBase64); | |
| $("#insert-sheets").click(() => tryCatch(insertDocument)); |
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: Word API 1.5 Demo -v2 | |
| description: Word API 1.5 Demo | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: > | |
| $("#file1").change(getBase64); | |
| $("#insert-sheets").click(() => tryCatch(insertDocument)); |
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: Word API 1.5 Demo | |
| description: Word API 1.5 Demo | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: > | |
| $("#file1").change(getBase64); | |
| $("#insert-sheets").click(() => tryCatch(insertDocument)); |
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: field_update_gist | |
| description: '' | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: > | |
| $("#rangeInsertFieldTest").click(() => | |
| tryCatch(rangeInsertFieldTest_PerfTest)); | |
| $("#rangeInsertFieldTest1").click(() => tryCatch(rangeInsertFieldTest1)); |
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: content controls data changed event | |
| description: 'Register, trigger, and deregister onDatachanged event of content controls.' | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: > | |
| $("#insert-content-controls").click(() => tryCatch(insertContentControls)); | |
| $("#register-event-handlers").click(() => tryCatch(registerEventHandlers)); |
NewerOlder