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: Use inline pictures | |
description: Inserts and gets inline pictures. | |
host: WORD | |
api_set: {} | |
script: | |
content: | | |
$("#insert").click(() => tryCatch(insertImage)); | |
$("#get").click(() => tryCatch(getData)); | |
var id; |
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: GetHtml of document body | |
description: get and print the html of the document body | |
host: WORD | |
api_set: {} | |
script: | |
content: | | |
$("#run").click(() => tryCatch(run)); | |
async function run() { | |
await Word.run(async function(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: Add change text event handler to CC | |
description: >- | |
Adds a binding to a content control and registers the BindingDataChanged event | |
type. | |
host: WORD | |
api_set: {} | |
script: | |
content: |+ | |
$("#run").click(() => tryCatch(run)); |
OlderNewer