Skip to content

Commit

Permalink
small updates for plugin docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ovchinnikova-natalya authored and K0R0L committed Feb 21, 2024
1 parent f204b42 commit ed1a21f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion common/apiBase_plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@
* @property {Array.<object>} paragraphs The array with paragraphs from the current watermark with their properties.
* @property {number} paragraphs.align The horizontal text align in the current paragraph: <b>0</b> - right, <b>1</b> - left, <b>2</b> - center, <b>3</b> - justify.
* @property {Array.<number>} paragraphs.fill The paragraph highlight in the RGB format. The empty array [] means that the paragraph is not highlighted.
* @property {number} paragraphs.linespacing The text linespecing in the current paragraph.
* @property {number} paragraphs.linespacing The text linespacing in the current paragraph.
* @property {Array.<object>} paragraphs.runs The array with runs from the current paragraph with their properties.
* @property {string} paragraphs.runs.text The run text.
* @property {Array.<number>} paragraphs.runs.fill The text highlight in the RGB format. The empty array [] means that the text is not highlighted.
Expand Down
8 changes: 4 additions & 4 deletions word/api_plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -475,13 +475,13 @@
this.WordControl.m_oLogicDocument.ReplaceSearchElement(sReplace, true, null, false);
};
/**
* Find and select the next occurrence of the text starting at the current position.
* Finds and selects the next occurrence of the text starting at the current position.
* @memberof Api
* @typeofeditors ["CDE"]
* @alias SearchAndReplace
* @param {Object} oProperties - An object which contains the search and replacement strings.
* @alias SearchNext
* @param {Object} oProperties - An object which contains the search string.
* @param {string} oProperties.searchString - The search string.
* @param {string} oProperties.replaceString - The replacement string.
* @param {boolean} [oProperties.matchCase=true] - Case sensitive or not.
* @param {boolean} [isForward=true] - Search direction.
* @returns {boolean} returns false if text was not found
*/
Expand Down

0 comments on commit ed1a21f

Please sign in to comment.