sbnanax.blogg.se

How apply tag in document properties word
How apply tag in document properties word











how apply tag in document properties word how apply tag in document properties word

Track the object for automatic adjustment based on surrounding changes in the document. ( JSON.stringify, in turn, calls the toJSON method of the object that is passed to it.) Whereas the original Word.DocumentProperties object is an API object, the toJSON method returns a plain JavaScript object (typed as ) that contains shallow copies of any loaded child properties from the original object. Overrides the JavaScript toJSON() method in order to provide more useful output when an API object is passed to JSON.stringify(). Sets multiple properties on the object at the same time, based on an existing loaded object. You can pass either a plain object with the appropriate properties, or another API object of the same type. Sets multiple properties of an object at the same time. You must call context.sync() before reading the properties. Queues up a command to load the specified properties of the object. Gets or sets the subject of the document.

#How apply tag in document properties word password#

Some possible values are 0 = File on disk is read/write 1 = Protect Document: File is encrypted and requires a password to open 2 = Protect Document: Always Open as Read-Only 3 = Protect Document: Both #1 and #2 4 = File on disk is read only 5 = Both #1 and #4 6 = Both #2 and #4 7 = All of #1, #2, and #4 8 = Protect Document: Restrict Edit to read-only 9 = Both #1 and #8 10 = Both #2 and #8 11 = All of #1, #2, and #8 12 = Both #4 and #8 13 = All of #1, #4, and #8 14 = All of #2, #4, and #8 15 = All of #1, #2, #4, and #8. Some are access restrictions on the file on disk. Gets the revision number of the document. Gets or sets the manager of the document. Gets the last print date of the document. Gets or sets the keywords of the document. Gets the collection of custom properties of the document. This connects the add-in's process to the Office host application's process. The request context associated with the object. Gets or sets the company of the document. Gets or sets the comments of the document. Gets or sets the category of the document. Gets the application name of the document.













How apply tag in document properties word