This file contains 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: Refresh Formulas (1) | |
description: Refreshes all formulas by setting the formula properties | |
host: EXCEL | |
api_set: {} | |
script: | |
content: | | |
$("#run").click(() => tryCatch(run)); | |
async function run() { | |
await Excel.run(async (context) => { |
This file contains 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: Worksheet calculate event | |
description: Registers event handlers that run when the worksheet is recalculated. | |
host: EXCEL | |
api_set: {} | |
script: | |
content: > | |
$("#register-onCalculated-handler").click(() => | |
tryCatch(registerOnCalculatedHandler)); | |
This file contains 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 | |
description: Create 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 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: body.insertOoxml() | |
description: >- | |
Get body contents in ooxml form and insert back by using body.insertOoxml() | |
api | |
host: WORD | |
api_set: {} | |
script: | |
content: | | |
$("#run").click(() => tryCatch(run)); |
This file contains 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 (2) | |
description: Create a new snippet from a blank template. | |
host: WORD | |
api_set: {} | |
script: | |
content: >- | |
$("#run").click(() => tryCatch(run)); | |
var myHtml = '<div style="padding-left:2em; text-indent:-2em;">Lorem ipsum |
This file contains 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: insertHtml issue | |
description: Create a new snippet from a blank template. | |
host: WORD | |
api_set: {} | |
script: | |
content: >- | |
$("#run").click(() => tryCatch(run)); | |
var myHtml = '<div style="padding-left:2em; text-indent:-2em;">Lorem ipsum |
This file contains 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: Replace cc content with sectPr issue - workaround | |
description: >- | |
A workaround for the issue that when importing content having sectPr in a cc | |
already having a sectPr, the original sectPr does not get replaced | |
host: WORD | |
api_set: {} | |
script: | |
content: > | |
$("#setup").click(() => tryCatch(setup)); |
This file contains 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: Replace cc content with table issue - Workaround | |
description: >- | |
Workaround for the issue that Word inserts an undesirable paragraph when | |
replacing a content control content with a table. | |
host: WORD | |
api_set: {} | |
script: | |
content: > | |
$("#clear").click(() => tryCatch(clear)); |
This file contains 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: Replace cc content with table issue - Workaround 2 | |
description: >- | |
Workaround 2 for the issue that Word inserts an undesirable paragraph when | |
replacing a content control content with a table. | |
host: WORD | |
api_set: {} | |
script: | |
content: > | |
$("#clear").click(() => tryCatch(clear)); |
This file contains 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: 'Search with ?{255} chunk' | |
description: '' | |
host: WORD | |
api_set: {} | |
script: | |
content: > | |
$("#row1Button").click(() => tryCatch(row1ButtonRun)); | |
$("#row2Button").click(() => tryCatch(row2ButtonRun)); |
OlderNewer