From 35eb144ce8562ce5b1cb51c1723a0057419b1a42 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 11 Dec 2023 18:18:25 +0900 Subject: [PATCH] Update msoffice.js (compatibility) --- lib/msoffice.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/msoffice.js b/lib/msoffice.js index 9fd6f25..f1a016c 100644 --- a/lib/msoffice.js +++ b/lib/msoffice.js @@ -180,14 +180,14 @@ function Excel() { return new Excel.Range(this.currentWorksheet.Range(range)); }; - this.getCell = function(row, col) { + this.getCellByPosition = function(row, col) { return new Excel.Cell(this.currentWorksheet.Cells(row, col)); }; }; Excel.SupportedFileTypes = FileTypes.Excel; Excel.Range = function(range) { this.range = range; - this.getCell = function(row, col) { + this.getCellByPosition = function(row, col) { return new Excel.Cell(this.range.Cells(row, col)); }; }; @@ -228,7 +228,7 @@ exports.Excel = Excel; exports.PowerPoint = PowerPoint; exports.Word = Word; -exports.VERSIONINFO = "Microsoft Office interface (msoffice.js) version 0.1.7"; +exports.VERSIONINFO = "Microsoft Office interface (msoffice.js) version 0.1.8"; exports.AUTHOR = "abuse@catswords.net"; exports.global = global; exports.require = global.require;