Commit 25ecfe35 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

asc_findText add isMatchCase, isWholeWord arguments (ToDo process isMatchCase,...

asc_findText add isMatchCase, isWholeWord arguments (ToDo process isMatchCase, isWholeWord arguments)
add function asc_replaceText (ToDo add code here)
add function asc_increaseFontSize (ToDo add code here)
add function asc_decreaseFontSize (ToDo add code here)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47858 954022d7-b5bf-4e40-9824-e11837661b57
parent 9f321333
...@@ -1792,7 +1792,8 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -1792,7 +1792,8 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
this.wb.enableKeyEventsHandler(isEnabled); this.wb.enableKeyEventsHandler(isEnabled);
}, },
asc_findText: function (text, scanByRows, scanForward) { asc_findText: function (text, scanByRows, scanForward, isMatchCase, isWholeWord) {
// ToDo process isMatchCase, isWholeWord arguments
var d = this.wb.findCellText(text, scanByRows, scanForward); var d = this.wb.findCellText(text, scanByRows, scanForward);
if (d) { if (d) {
if (d.deltaX) {this.controller.scrollHorizontal(d.deltaX);} if (d.deltaX) {this.controller.scrollHorizontal(d.deltaX);}
...@@ -1801,6 +1802,10 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -1801,6 +1802,10 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
return !!d; return !!d;
}, },
asc_replaceText: function (findWhat, replaceWith, isReplaceAll, isMatchCase, isWholeWord) {
// ToDo add code here
},
/** /**
* Делает активной указанную ячейку * Делает активной указанную ячейку
* @param {String} reference Ссылка на ячейку вида A1 или R1C1 * @param {String} reference Ссылка на ячейку вида A1 или R1C1
...@@ -2246,6 +2251,14 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -2246,6 +2251,14 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
this.wb.restoreFocus(); this.wb.restoreFocus();
}, },
asc_increaseFontSize: function () {
// ToDo add code here
},
asc_decreaseFontSize: function () {
// ToDo add code here
},
asc_onMouseUp: function (x, y) { asc_onMouseUp: function (x, y) {
this.controller._onWindowMouseUpExternal(x, y); this.controller._onWindowMouseUpExternal(x, y);
}, },
...@@ -2788,6 +2801,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -2788,6 +2801,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
prot["asc_setZoom"] = prot.asc_setZoom; prot["asc_setZoom"] = prot.asc_setZoom;
prot["asc_enableKeyEvents"] = prot.asc_enableKeyEvents; prot["asc_enableKeyEvents"] = prot.asc_enableKeyEvents;
prot["asc_findText"] = prot.asc_findText; prot["asc_findText"] = prot.asc_findText;
prot["asc_replaceText"] = prot.asc_replaceText;
prot["asc_findCell"] = prot.asc_findCell; prot["asc_findCell"] = prot.asc_findCell;
//prot["asc_openCellEditor"] = prot.asc_openCellEditor; - не используется (и не стоит так делать) //prot["asc_openCellEditor"] = prot.asc_openCellEditor; - не используется (и не стоит так делать)
prot["asc_closeCellEditor"] = prot.asc_closeCellEditor; prot["asc_closeCellEditor"] = prot.asc_closeCellEditor;
...@@ -2886,6 +2900,8 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -2886,6 +2900,8 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
prot["asc_setCellDelimitedFormat"] = prot.asc_setCellDelimitedFormat; prot["asc_setCellDelimitedFormat"] = prot.asc_setCellDelimitedFormat;
prot["asc_increaseCellDigitNumbers"] = prot.asc_increaseCellDigitNumbers; prot["asc_increaseCellDigitNumbers"] = prot.asc_increaseCellDigitNumbers;
prot["asc_decreaseCellDigitNumbers"] = prot.asc_decreaseCellDigitNumbers; prot["asc_decreaseCellDigitNumbers"] = prot.asc_decreaseCellDigitNumbers;
prot["asc_increaseFontSize"] = prot.asc_increaseFontSize;
prot["asc_decreaseFontSize"] = prot.asc_decreaseFontSize;
prot["asc_onMouseUp"] = prot.asc_onMouseUp; prot["asc_onMouseUp"] = prot.asc_onMouseUp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment