Merge pull request #55 from ONLYOFFICE/fix/api-description

[bu]/[plugins] Fixed description
This commit is contained in:
Oleg Korshul
2024-08-16 05:50:32 -07:00
committed by GitHub
2 changed files with 10 additions and 10 deletions

View File

@ -149,13 +149,13 @@
* @property {boolean} lockAspectRatio - Specifies if the aspect ratio of the picture form is locked or not. * @property {boolean} lockAspectRatio - Specifies if the aspect ratio of the picture form is locked or not.
* @property {boolean} respectBorders - Specifies if the form border width is respected or not when scaling the image. * @property {boolean} respectBorders - Specifies if the form border width is respected or not when scaling the image.
* @property {percentage} shiftX - Horizontal picture position inside the picture form measured in percent: * @property {percentage} shiftX - Horizontal picture position inside the picture form measured in percent:
* * <b>0</b> - the picture is placed on the left; * <b>0</b> - the picture is placed on the left;
* * <b>50</b> - the picture is placed in the center; * <b>50</b> - the picture is placed in the center;
* * <b>100</b> - the picture is placed on the right. * <b>100</b> - the picture is placed on the right.
* @property {percentage} shiftY - Vertical picture position inside the picture form measured in percent: * @property {percentage} shiftY - Vertical picture position inside the picture form measured in percent:
* * <b>0</b> - the picture is placed on top; * <b>0</b> - the picture is placed on top;
* * <b>50</b> - the picture is placed in the center; * <b>50</b> - the picture is placed in the center;
* * <b>100</b> - the picture is placed on the bottom. * <b>100</b> - the picture is placed on the bottom.
* @see office-js-api/Examples/Enumerations/PictureFormPrBase.js * @see office-js-api/Examples/Enumerations/PictureFormPrBase.js
*/ */

View File

@ -47,10 +47,10 @@
/** /**
* @typedef {(0 | 1 | 2 | 3)} ContentControlLock * @typedef {(0 | 1 | 2 | 3)} ContentControlLock
* A value that defines if it is possible to delete and/or edit the content control or not: * A value that defines if it is possible to delete and/or edit the content control or not:
* * **0** - only deleting * **0** - only deleting
* * **1** - disable deleting or editing * **1** - disable deleting or editing
* * **2** - only editing * **2** - only editing
* * **3** - full access * **3** - full access
* @see office-js-api/Examples/Plugins/Forms/Enumeration/ContentControlLock.js * @see office-js-api/Examples/Plugins/Forms/Enumeration/ContentControlLock.js
*/ */