Skip to content

Commit

Permalink
[de][bu] Add methods to get content controls internal Id
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillovIlya committed Feb 8, 2025
1 parent f476f8a commit f740c3e
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions word/apiBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -17657,7 +17657,19 @@
{
return "inlineLvlSdt";
};


/**
* Returns an internal id of the current content control.
* @memberof ApiInlineLvlSdt
* @typeofeditors ["CDE"]
* @returns {string}
* @see office-js-api/Examples/{Editor}/ApiInlineLvlSdt/Methods/GetInternalId.js
*/
ApiInlineLvlSdt.prototype.GetInternalId = function()
{
return this.Sdt.GetId();
};

/**
* Sets the lock to the current inline text content control:
* <b>"contentLocked"</b> - content cannot be edited.
Expand Down Expand Up @@ -18615,7 +18627,19 @@
{
return "blockLvlSdt";
};


/**
* Returns an internal id of the current content control.
* @memberof ApiBlockLvlSdt
* @typeofeditors ["CDE"]
* @returns {string}
* @see office-js-api/Examples/{Editor}/ApiBlockLvlSdt/Methods/GetInternalId.js
*/
ApiBlockLvlSdt.prototype.GetInternalId = function()
{
return this.Sdt.GetId();
};

/**
* Sets the lock to the current block text content control:
* <b>"contentLocked"</b> - content cannot be edited.
Expand Down Expand Up @@ -22724,6 +22748,7 @@
ApiBullet.prototype["ToJSON"] = ApiBullet.prototype.ToJSON;

ApiInlineLvlSdt.prototype["GetClassType"] = ApiInlineLvlSdt.prototype.GetClassType;
ApiInlineLvlSdt.prototype["GetInternalId"] = ApiInlineLvlSdt.prototype.GetInternalId;
ApiInlineLvlSdt.prototype["SetLock"] = ApiInlineLvlSdt.prototype.SetLock;
ApiInlineLvlSdt.prototype["GetLock"] = ApiInlineLvlSdt.prototype.GetLock;
ApiInlineLvlSdt.prototype["SetTag"] = ApiInlineLvlSdt.prototype.SetTag;
Expand Down Expand Up @@ -22779,6 +22804,7 @@
ApiContentControlListEntry.prototype["SetValue"] = ApiContentControlListEntry.prototype.SetValue;

ApiBlockLvlSdt.prototype["GetClassType"] = ApiBlockLvlSdt.prototype.GetClassType;
ApiBlockLvlSdt.prototype["GetInternalId"] = ApiBlockLvlSdt.prototype.GetInternalId;
ApiBlockLvlSdt.prototype["SetLock"] = ApiBlockLvlSdt.prototype.SetLock;
ApiBlockLvlSdt.prototype["GetLock"] = ApiBlockLvlSdt.prototype.GetLock;
ApiBlockLvlSdt.prototype["SetTag"] = ApiBlockLvlSdt.prototype.SetTag;
Expand Down

0 comments on commit f740c3e

Please sign in to comment.