Commit 8ef9fe8a authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Добавил в апи функцию asc_setCellStyle (name)

для выставления стиля ячейки

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47946 954022d7-b5bf-4e40-9824-e11837661b57
parent 88718a9f
...@@ -2248,6 +2248,11 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -2248,6 +2248,11 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
this.wb.restoreFocus(); this.wb.restoreFocus();
}, },
asc_setCellStyle: function (name) {
this.wb.getWorksheet().setSelectionInfo("style", name);
this.wb.restoreFocus();
},
asc_increaseCellDigitNumbers: function () { asc_increaseCellDigitNumbers: function () {
this.wb.getWorksheet().setSelectionInfo("changeDigNum", +1); this.wb.getWorksheet().setSelectionInfo("changeDigNum", +1);
this.wb.restoreFocus(); this.wb.restoreFocus();
...@@ -2909,6 +2914,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -2909,6 +2914,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
prot["asc_setCellFinancialFormat"] = prot.asc_setCellFinancialFormat; prot["asc_setCellFinancialFormat"] = prot.asc_setCellFinancialFormat;
prot["asc_setCellPercentFormat"] = prot.asc_setCellPercentFormat; prot["asc_setCellPercentFormat"] = prot.asc_setCellPercentFormat;
prot["asc_setCellDelimitedFormat"] = prot.asc_setCellDelimitedFormat; prot["asc_setCellDelimitedFormat"] = prot.asc_setCellDelimitedFormat;
prot["asc_setCellStyle"] = prot.asc_setCellStyle;
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_increaseFontSize"] = prot.asc_increaseFontSize;
......
...@@ -7123,6 +7123,9 @@ ...@@ -7123,6 +7123,9 @@
} }
} }
break; break;
case "style":
// ToDo add code here
break;
case "paste": case "paste":
var pasteExec = function() var pasteExec = function()
{ {
......
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