Office JavaScript API: Hiding the title of a bound ContentControl -


using office javascript api in ms word, binding contentcontrol using title property. works fine, word displays title, causing confusion end users. wondering if there way prevent title being shown.

a contentcontrol title being displayed.

current result: contentcontrol displays custom title cc_typo5.

a contentcontrol without title being displayed.

desired result: contentcontrol doesn't display custom title cc_typo5.

that's how content controls work in word, have alternative: have tried making content control invisible? check out code:

word.run(function (context) {          context.document.contentcontrols.getbytitle("cc_typo5").getfirst().appearance = "hidden";          return context.sync();       })          .catch(officehelpers.utilities.log);


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -