Skip to content

Commit 265f12e

Browse files
authored
Merge branch 'hotfix/hotfix-v31.2.2' into Nov1SprintDocHtmlPR
2 parents 95fe6f5 + de3b7af commit 265f12e

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Support for auto-correcting formulas | Syncfusion
3+
description: This page explains whether Syncfusion XlsIO supports auto-correcting formulas using Syncfusion .NET Excel library (XlsIO).
4+
platform: document-processing
5+
control: XlsIO
6+
documentation: UG
7+
---
8+
9+
# Does XlsIO support auto-correcting formulas?
10+
11+
No, Syncfusion XlsIO does not support auto-correcting or recalculating formulas automatically when loading Excel files. To resolve this, open and resave the Excel file using Microsoft Excel. This triggers formula evaluation and updates the cached results. Once resaved, XlsIO can process the file and return the correct values.
12+
13+
Alternatively, invoke the <a href="https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html#Syncfusion_XlsIO_IWorksheet_Calculate">Calculate</a> method of <a href="https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html">IWorksheet</a> to evaluate and update all formulas in the worksheet.
14+
15+
Use the <a href="https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html#Syncfusion_XlsIO_IWorksheet_EnableSheetCalculations">EnableSheetCalculations</a> method of <a href="https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html">IWorksheet</a> to initialize <a href="https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-formulas#calculation-engine">CalcEngine</a> objects and retrieve calculated values of formulas in a worksheet. On completion of worksheet calculation, invoke the <a href="https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html#Syncfusion_XlsIO_IWorksheet_DisableSheetCalculations">DisableSheetCalculations</a> method of <a href="https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html">IWorksheet</a> to dispose all <a href="https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-formulas#calculation-engine">CalcEngine</a> objects.
16+
17+
For more details, please refer to <a href="https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-formulas">Working with Formulas | Syncfusion</a>.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Support for reading Excel directly from Azure streams | Syncfusion
3+
description: This page explains whether Syncfusion XlsIO supports reading Excel files directly from Azure Blob Storage streams using Syncfusion .NET Excel library (XlsIO).
4+
platform: document-processing
5+
control: XlsIO
6+
documentation: UG
7+
---
8+
9+
# Does XlsIO support reading Excel from Azure Blob Storage?
10+
11+
No, Syncfusion XlsIO does not support reading Excel files directly from Azure Blob Storage streams due to stream compatibility limitations. Excel files (.xlsx) are internally ZIP packages, and XlsIO requires a seekable stream to parse and decompress their structure. Streams provided by Azure Blob Storage are typically non-seekable and optimized for forward only access, which is not suitable for ZIP based formats like Excel.
12+
13+
The recommended approach is to first download the blob content into a MemoryStream. This ensures the stream is seekable and compatible with XlsIO for parsing and decompression. In general, when working with blob content that needs to be parsed or decompressed such as Excel or ZIP files, loading into a memory buffer is the correct approach.
14+
15+
For implementation details, please refer to <a href="https://help.syncfusion.com/document-processing/excel/excel-library/net/loading-and-saving/loading-and-saving-excel-files-in-azure-cloud-storage">Loading and saving Excel document in Azure Cloud Storage</a>.

0 commit comments

Comments
 (0)