cc (DOCX)
A Word content command that alters the properties of its content control, specifically the title and the locking properties. If either of the locks are set through this command, the content control will not be removed during the evaluation process.
This command has a priority of 10.
Syntax:
cc(title,locked,contentLocked)
Attributes
#1 - title | ||
---|---|---|
Required | Value type | EL-evaluated |
No | String | Yes |
Defines a new title for the host content control. Note that either If not defined and the content control is retained, the content control will have no title. |
#2 - locked | ||
---|---|---|
Required | Value type | EL-evaluated |
No | Boolean | Yes |
Defines the Locking property "Content control cannot be deleted" for the host content control. If the resolved value is If either If not defined, the value of |
#3 - contentLocked | ||
---|---|---|
Required | Value type | EL-evaluated |
No | Boolean | Yes |
Defines the Locking property "Contents cannot be deleted" for the host content control. If the resolved value is If either If not defined, the value of |
Examples
Have both the second and third attributes locked
and contentLocked
resolve into true
to make the content control into a block of non-deletable content in the composed document, for users not familiar with Word's content controls at least. It can be used together with any other Word content commands in the same title.
cc(,true,true)