Skip to content

Commit 037a06c

Browse files
Revert "DYN-7963 Obsolote Excel Interop Node - Regression"
This reverts commit 34464c9.
1 parent 34464c9 commit 037a06c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Libraries/DSOffice/Excel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ public static partial class Data
212212
/// <param name="showExcel">Toggle to show excel's main window</param>
213213
/// <returns name="data">Rows of data from the Excel worksheet</returns>
214214
/// <search>office,excel,spreadsheet,ifequalreturnindex</search>
215+
[NodeObsolete("ExcelInteropObsoleteNode", typeof(Properties.Resources))]
215216
public static object[][] ImportExcel(FileInfo file, string sheetName, bool readAsStrings = false, bool showExcel = true)
216217
{
217218
return Excel.ReadFromFile(file, sheetName, readAsStrings, showExcel);
@@ -258,6 +259,7 @@ public static object[][] ExportExcel(string filePath, string sheetName, int star
258259
/// <param name="writeAsString">Toggle to switch between writing Excel file as strings</param>
259260
/// <returns name="data">Rows of data from the Excel worksheet</returns>
260261
/// <search>office,excel,spreadsheet</search>
262+
[NodeObsolete("ExcelInteropObsoleteNode", typeof(Properties.Resources))]
261263
public static object[][] ExportToExcel(string filePath, string sheetName, int startRow, int startColumn, object[][] data, bool overWrite = false, bool writeAsString = false)
262264
{
263265
return ExcelWriteUtils.WriteData(filePath, sheetName, startRow, startColumn, data, overWrite, writeAsString);

0 commit comments

Comments
 (0)