Skip to content

Commit 89ac53a

Browse files
authored
Merge branch 'hotfix/hotfix-v31.2.2' into 990137-MacrosUG
2 parents a31a8db + 6c73f48 commit 89ac53a

File tree

205 files changed

+8081
-929
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+8081
-929
lines changed

Document-Processing-toc.html

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@
99
<li>
1010
<a href="/document-processing/System-Requirements">System Requirements</a>
1111
</li>
12+
<li>AI Coding Assistant
13+
<ul>
14+
<li>
15+
<a href="/document-processing/ai-coding-assistant/overview">Overview</a>
16+
</li>
17+
<li>
18+
<a href="/document-processing/ai-coding-assistant/mcp-server">MCP Server</a>
19+
</li>
20+
</ul>
21+
</li>
1222
<li>
1323
Installation<ul>
1424
<li>
@@ -2603,6 +2613,9 @@
26032613
<li>
26042614
<a href="/document-processing/pdf/conversions/html-to-pdf/net/Convert-HTML-to-PDF-in-AWS-Elastic-Beanstalk">AWS Elastic Beanstalk</a>
26052615
</li>
2616+
<li>
2617+
<a href="/document-processing/pdf/conversions/html-to-pdf/net/Convert-HTML-to-PDF-in-Amazon-ECS-with-Fargate">AWS Fargate (ECS)</a>
2618+
</li>
26062619
</ul>
26072620
</li>
26082621
<li>
@@ -2612,7 +2625,7 @@
26122625
<a href="/document-processing/pdf/conversions/html-to-pdf/net/Convert-HTML-to-PDF-in-GCP">Google Cloud Platform (GCP)</a>
26132626
<ul>
26142627
<li>
2615-
<a href="/document-processing/pdf/pdf-library/net/Convert-HTML-to-PDF-in-Google-App-Engine">Google App Engine</a>
2628+
<a href="/document-processing/pdf/conversions/html-to-pdf/net/Convert-HTML-to-PDF-in-Google-App-Engine">Google App Engine</a>
26162629
</li>
26172630
</ul>
26182631
</li>
@@ -4335,6 +4348,9 @@
43354348
<li>
43364349
<a href="/document-processing/word/word-library/net/Support-File-Formats">Supported File Formats</a>
43374350
</li>
4351+
<li>
4352+
<a href="/document-processing/word/word-library/net/Feature-Matrix">Feature Matrix</a>
4353+
</li>
43384354
<li>
43394355
<a href="/document-processing/word/word-library/net/FAQ">FAQs</a>
43404356
<ul>
@@ -4662,6 +4678,7 @@
46624678
<li>
46634679
How To
46644680
<ul>
4681+
<li><a href="/document-processing/excel/spreadsheet/asp-net-core/how-to/create-a-object-structure">Create a object structure </a></li>
46654682
<li><a href="/document-processing/excel/spreadsheet/asp-net-core/how-to/change-active-sheet">Changing the active sheet while importing a file</a></li>
46664683
<li><a href="/document-processing/excel/spreadsheet/asp-net-core/how-to/identify-the-context-menu-opened">Identify the context menu opened</a></li>
46674684
</ul>
@@ -4712,6 +4729,7 @@
47124729
<li>
47134730
How To
47144731
<ul>
4732+
<li><a href="/document-processing/excel/spreadsheet/asp-net-mvc/how-to/create-a-object-structure">Create a object structure </a></li>
47154733
<li><a href="/document-processing/excel/spreadsheet/asp-net-mvc/how-to/change-active-sheet">Changing the active sheet while importing a file</a></li>
47164734
<li><a href="/document-processing/excel/spreadsheet/asp-net-mvc/how-to/identify-the-context-menu-opened">Identify the context menu opened</a></li>
47174735
</ul>
@@ -4764,6 +4782,7 @@
47644782
<li>
47654783
How To
47664784
<ul>
4785+
<li><a href="/document-processing/excel/spreadsheet/angular/how-to/create-a-object-structure">Create a object structure </a></li>
47674786
<li><a href="/document-processing/excel/spreadsheet/angular/how-to/change-active-sheet">Changing the active sheet while importing a file</a></li>
47684787
<li><a href="/document-processing/excel/spreadsheet/angular/how-to/identify-the-context-menu-opened">Identify the context menu opened</a></li>
47694788
</ul>
@@ -4862,6 +4881,7 @@
48624881
<li>
48634882
How To
48644883
<ul>
4884+
<li><a href="/document-processing/excel/spreadsheet/vue/how-to/create-a-object-structure">Create a object structure </a></li>
48654885
<li><a href="/document-processing/excel/spreadsheet/vue/how-to/change-active-sheet">Changing the active sheet while importing a file</a></li>
48664886
<li><a href="/document-processing/excel/spreadsheet/vue/how-to/identify-the-context-menu-opened">Identify the context menu opened</a></li>
48674887
</ul>
@@ -5874,6 +5894,31 @@
58745894
<li>
58755895
<a href="/document-processing/excel/excel-library/net/faqs/what-ExcelKnownColors-are-available-in-syncfusion-xlsio">What ExcelKnownColors are available in Syncfusion XlsIO?</a>
58765896
</li>
5897+
<li>
5898+
<a href="/document-processing/excel/excel-library/net/faqs/does-xlsio-support-autofit-for-merged-cells">Does XlsIO support autofit for merged cells?</a>
5899+
</li>
5900+
<li>
5901+
<a href="/document-processing/excel/excel-library/net/faqs/does-xlsio-support-multiple-markers-in-a-single-Excel-cell">Does XlsIO support multiple markers in a single Excel cell?</a>
5902+
</li>
5903+
<li>
5904+
<a href="/document-processing/excel/excel-library/net/faqs/does-xlsio-support-setting-row-height-for-individual-cells-in-Excel">Does XlsIO support setting row height for individual cells in Excel?</a>
5905+
</li>
5906+
<li>
5907+
<a href="/document-processing/excel/excel-library/net/faqs/how-to-access-the-built-in-properties-of-Excel-documents">How to access the built-in properties of Excel documents?</a>
5908+
</li>
5909+
<li>
5910+
<a href="/document-processing/excel/excel-library/net/faqs/how-to-get-the-column-width-and-row-height-in-pixels">How to get the column width and row height in pixels?</a>
5911+
</li>
5912+
<li>
5913+
<a href="/document-processing/excel/excel-library/net/faqs/does-xlsio-support-sensititivity-labels">Does XlsIO support sensitivity labels?</a>
5914+
</li>
5915+
<li>
5916+
<a href="/document-processing/excel/excel-library/net/faqs/how-to-set-hex-color-value-to-the-cell">How to set a hex color value for a cell?</a>
5917+
</li>
5918+
<li>
5919+
<a href="/document-processing/excel/excel-library/net/faqs/in-which-situation-we-use-EnablePartialTrustCode-property">When should use EnablePartialTrustCode property?</a>
5920+
</li>
5921+
58775922
</ul>
58785923
</li>
58795924
</ul>
@@ -6678,6 +6723,9 @@
66786723
<li>
66796724
<a href="/document-processing/powerpoint/powerpoint-library/net/Supported-and-Unsupported-Features">Supported and Unsupported Features</a>
66806725
</li>
6726+
<li>
6727+
<a href="/document-processing/powerpoint/powerpoint-library/net/Feature-Matrix">Feature Matrix</a>
6728+
</li>
66816729
<li>
66826730
<a href="/document-processing/powerpoint/powerpoint-library/net/FAQ">FAQs</a>
66836731
<ul>
@@ -7026,7 +7074,9 @@
70267074
<ul>
70277075
<li>
70287076
Weekly Nuget Release
7029-
<ul><li><a href="/document-processing/release-notes/v31.2.4">v31.2.4</a></li>
7077+
<ul><li><a href="/document-processing/release-notes/v31.2.10">v31.2.10</a></li>
7078+
<li><a href="/document-processing/release-notes/v31.2.5">v31.2.5</a></li>
7079+
<li><a href="/document-processing/release-notes/v31.2.4">v31.2.4</a></li>
70307080
<li><a href="/document-processing/release-notes/v31.2.3">v31.2.3</a></li>
70317081
<li><a href="/document-processing/release-notes/v31.1.22">v31.1.22</a></li>
70327082
<li><a href="/document-processing/release-notes/v31.1.21">v31.1.21</a></li>

Document-Processing/Excel/Conversions/CSV-to-Excel/NET/CSV-to-Excel-Conversion.md

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,13 @@ using (ExcelEngine excelEngine = new ExcelEngine())
2727
{
2828
IApplication application = excelEngine.Excel;
2929
application.DefaultVersion = ExcelVersion.Xlsx;
30-
FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/InputTemplate.csv"), FileMode.Open, FileAccess.Read);
3130

3231
//Open the CSV file
33-
IWorkbook workbook = application.Workbooks.Open(inputStream, ",");
32+
IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.csv"), ",");
3433
IWorksheet worksheet = workbook.Worksheets[0];
3534

36-
//Saving the workbook as stream
37-
FileStream outputStream = new FileStream(Path.GetFullPath("Output/Output.xlsx"), FileMode.Create, FileAccess.Write);
38-
workbook.SaveAs(outputStream);
39-
40-
//Dispose streams
41-
outputStream.Dispose();
42-
inputStream.Dispose();
35+
//Saving the workbook
36+
workbook.SaveAs(Path.GetFullPath("Output/Output.xlsx"));
4337
}
4438
{% endhighlight %}
4539

@@ -85,16 +79,10 @@ using (ExcelEngine excelEngine = new ExcelEngine())
8579
application.DefaultVersion = ExcelVersion.Xlsx;
8680

8781
//Open the TSV file
88-
FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/InputTemplate.tsv"), FileMode.Open, FileAccess.Read);
89-
IWorkbook workbook = application.Workbooks.Open(inputStream, "\t");
82+
IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.tsv"), "\t");
9083

9184
//Save the workbook
92-
FileStream outputStream = new FileStream(Path.GetFullPath("Output/Output.xlsx"), FileMode.Create, FileAccess.ReadWrite);
93-
workbook.SaveAs(outputStream);
94-
95-
//Dispose streams
96-
outputStream.Dispose();
97-
inputStream.Dispose();
85+
workbook.SaveAs(Path.GetFullPath("Output/Output.xlsx"));
9886
}
9987
{% endhighlight %}
10088

Document-Processing/Excel/Conversions/CSV-to-Excel/overview.md

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,13 @@ using (ExcelEngine excelEngine = new ExcelEngine())
2727
{
2828
IApplication application = excelEngine.Excel;
2929
application.DefaultVersion = ExcelVersion.Xlsx;
30-
FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/InputTemplate.csv"), FileMode.Open, FileAccess.Read);
3130

3231
//Open the CSV file
33-
IWorkbook workbook = application.Workbooks.Open(inputStream, ",");
32+
IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.csv"), ",");
3433
IWorksheet worksheet = workbook.Worksheets[0];
3534

36-
//Saving the workbook as stream
37-
FileStream outputStream = new FileStream(Path.GetFullPath("Output/Output.xlsx"), FileMode.Create, FileAccess.Write);
38-
workbook.SaveAs(outputStream);
39-
40-
//Dispose streams
41-
outputStream.Dispose();
42-
inputStream.Dispose();
35+
//Saving the workbook
36+
workbook.SaveAs(Path.GetFullPath("Output/Output.xlsx"));
4337
}
4438
{% endhighlight %}
4539

@@ -85,16 +79,10 @@ using (ExcelEngine excelEngine = new ExcelEngine())
8579
application.DefaultVersion = ExcelVersion.Xlsx;
8680

8781
//Open the TSV file
88-
FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/InputTemplate.tsv"), FileMode.Open, FileAccess.Read);
89-
IWorkbook workbook = application.Workbooks.Open(inputStream, "\t");
82+
IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.tsv"), "\t");
9083

9184
//Save the workbook
92-
FileStream outputStream = new FileStream(Path.GetFullPath("Output/Output.xlsx"), FileMode.Create, FileAccess.ReadWrite);
93-
workbook.SaveAs(outputStream);
94-
95-
//Dispose streams
96-
outputStream.Dispose();
97-
inputStream.Dispose();
85+
workbook.SaveAs(Path.GetFullPath("Output/Output.xlsx"));
9886
}
9987
{% endhighlight %}
10088

Document-Processing/Excel/Conversions/Chart-to-Image/NET/Chart-to-Image-Conversion.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ using (ExcelEngine excelEngine = new ExcelEngine())
3535
application.XlsIORenderer.ChartRenderingOptions.ScalingMode = ScalingMode.Best;
3636

3737
//Open existing workbook with chart
38-
FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/InputTemplate.xlsx"), FileMode.Open, FileAccess.Read);
39-
IWorkbook workbook = application.Workbooks.Open(inputStream);
38+
IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.xlsx"));
4039
IWorksheet worksheet = workbook.Worksheets[0];
4140

4241
//Access the chart from the worksheet
@@ -50,7 +49,6 @@ using (ExcelEngine excelEngine = new ExcelEngine())
5049

5150
//Dispose streams
5251
outputStream.Dispose();
53-
inputStream.Dispose();
5452
}
5553
{% endhighlight %}
5654

Document-Processing/Excel/Conversions/Chart-to-Image/overview.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ using (ExcelEngine excelEngine = new ExcelEngine())
2828
//Set converter chart image format to PNG
2929
application.XlsIORenderer.ChartRenderingOptions.ImageFormat = ExportImageFormat.Png;
3030

31-
FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/InputTemplate.xlsx"), FileMode.Open, FileAccess.Read);
32-
IWorkbook workbook = application.Workbooks.Open(inputStream);
31+
IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.xlsx"));
3332
IWorksheet worksheet = workbook.Worksheets[0];
3433

3534
IChart chart = worksheet.Charts[0];
@@ -42,7 +41,6 @@ using (ExcelEngine excelEngine = new ExcelEngine())
4241

4342
//Dispose streams
4443
outputStream.Dispose();
45-
inputStream.Dispose();
4644
}
4745
{% endhighlight %}
4846

Document-Processing/Excel/Conversions/Excel-to-CSV/NET/Excel-to-CSV-Conversion.md

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,10 @@ using (ExcelEngine excelEngine = new ExcelEngine())
2727
{
2828
IApplication application = excelEngine.Excel;
2929
application.DefaultVersion = ExcelVersion.Xlsx;
30-
FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/InputTemplate.xlsx"), FileMode.Open, FileAccess.Read);
31-
IWorkbook workbook = application.Workbooks.Open(inputStream);
30+
IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.xlsx"));
3231

33-
//Saving the workbook as streams
34-
FileStream outputStream = new FileStream(Path.GetFullPath("Output/Sample.csv"), FileMode.Create, FileAccess.ReadWrite);
35-
workbook.SaveAs(outputStream, ",");
36-
37-
//Dispose streams
38-
outputStream.Dispose();
39-
inputStream.Dispose();
32+
//Saving the workbook
33+
workbook.SaveAs(Path.GetFullPath("Output/Sample.csv"), ",");
4034
}
4135
{% endhighlight %}
4236

@@ -83,16 +77,14 @@ using (ExcelEngine excelEngine = new ExcelEngine())
8377
application.MaximumRowsForCsv = 3000000;
8478
application.MaximumColumnsForCsv = 20000;
8579

86-
FileStream inputStream = new FileStream("Sample.csv", FileMode.Open, FileAccess.Read);
87-
IWorkbook workbook = application.Workbooks.Open(inputStream);
80+
IWorkbook workbook = application.Workbooks.Open("Sample.csv");
8881
IWorksheet sheet = workbook.Worksheets[0];
8982

9083
sheet.Range[2000000, 1].Text = "Syncfusion";
9184
sheet.Range[20, 18000].Text = "Syncfusion";
9285

93-
//Saving the workbook as stream
94-
FileStream outputStream = new FileStream("Output.csv", FileMode.Create, FileAccess.ReadWrite);
95-
workbook.SaveAs(outputStream,",");
86+
//Saving the workbook
87+
workbook.SaveAs("Output.csv",",");
9688
}
9789
{% endhighlight %}
9890

@@ -149,12 +141,10 @@ using (ExcelEngine excelEngine = new ExcelEngine())
149141
IApplication application = excelEngine.Excel;
150142
application.DefaultVersion = ExcelVersion.Xlsx;
151143

152-
FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/InputTemplate.xlsx"), FileMode.Open, FileAccess.Read);
153-
IWorkbook workbook = application.Workbooks.Open(inputStream);
144+
IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.xlsx"));
154145

155146
//Save the workbook in CSV format with tab(\t) as delimiter
156-
FileStream outputStream = new FileStream(Path.GetFullPath("Output/Output.tsv"), FileMode.Create, FileAccess.ReadWrite);
157-
workbook.SaveAs(outputStream, "\t");
147+
workbook.SaveAs(Path.GetFullPath("Output/Output.tsv"), "\t");
158148
}
159149
{% endhighlight %}
160150

Document-Processing/Excel/Conversions/Excel-to-CSV/overview.md

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,10 @@ using (ExcelEngine excelEngine = new ExcelEngine())
2727
{
2828
IApplication application = excelEngine.Excel;
2929
application.DefaultVersion = ExcelVersion.Xlsx;
30-
FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/InputTemplate.xlsx"), FileMode.Open, FileAccess.Read);
31-
IWorkbook workbook = application.Workbooks.Open(inputStream);
30+
IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.xlsx"));
3231

33-
//Saving the workbook as streams
34-
FileStream outputStream = new FileStream(Path.GetFullPath("Output/Sample.csv"), FileMode.Create, FileAccess.ReadWrite);
35-
workbook.SaveAs(outputStream, ",");
36-
37-
//Dispose streams
38-
outputStream.Dispose();
39-
inputStream.Dispose();
32+
//Saving the workbook
33+
workbook.SaveAs(Path.GetFullPath("Output/Sample.csv"), ",");
4034
}
4135
{% endhighlight %}
4236

@@ -83,16 +77,14 @@ using (ExcelEngine excelEngine = new ExcelEngine())
8377
application.MaximumRowsForCsv = 3000000;
8478
application.MaximumColumnsForCsv = 20000;
8579

86-
FileStream inputStream = new FileStream("Sample.csv", FileMode.Open, FileAccess.Read);
87-
IWorkbook workbook = application.Workbooks.Open(inputStream);
80+
IWorkbook workbook = application.Workbooks.Open("Sample.csv");
8881
IWorksheet sheet = workbook.Worksheets[0];
8982

9083
sheet.Range[2000000, 1].Text = "Syncfusion";
9184
sheet.Range[20, 18000].Text = "Syncfusion";
9285

93-
//Saving the workbook as stream
94-
FileStream outputStream = new FileStream("Output.csv", FileMode.Create, FileAccess.ReadWrite);
95-
workbook.SaveAs(outputStream,",");
86+
//Saving the workbook
87+
workbook.SaveAs("Output.csv",",");
9688
}
9789
{% endhighlight %}
9890

@@ -149,12 +141,10 @@ using (ExcelEngine excelEngine = new ExcelEngine())
149141
IApplication application = excelEngine.Excel;
150142
application.DefaultVersion = ExcelVersion.Xlsx;
151143

152-
FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/InputTemplate.xlsx"), FileMode.Open, FileAccess.Read);
153-
IWorkbook workbook = application.Workbooks.Open(inputStream);
144+
IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.xlsx"));
154145

155146
//Save the workbook in CSV format with tab(\t) as delimiter
156-
FileStream outputStream = new FileStream(Path.GetFullPath("Output/Output.tsv"), FileMode.Create, FileAccess.ReadWrite);
157-
workbook.SaveAs(outputStream, "\t");
147+
workbook.SaveAs(Path.GetFullPath("Output/Output.tsv"), "\t");
158148
}
159149
{% endhighlight %}
160150

Document-Processing/Excel/Conversions/Excel-to-HTML/NET/Excel-to-HTML-Conversion.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ using (ExcelEngine excelEngine = new ExcelEngine())
3535
worksheet.SaveAsHtml(stream);
3636

3737
//Save a workbook as HTML file
38-
workbook.SaveAsHtml(stream, Syncfusion.XlsIO.Implementation.HtmlSaveOptions.Default);
38+
workbook.SaveAsHtml("Sample.html", Syncfusion.XlsIO.Implementation.HtmlSaveOptions.Default);
3939
stream.Dispose();
4040
workbook.Close();
4141
}
@@ -97,12 +97,8 @@ using (ExcelEngine excelEngine = new ExcelEngine())
9797

9898
#region Save as HTML
9999
//Saving the workbook
100-
FileStream outputStream = new FileStream(Path.GetFullPath("Output/Output.html"), FileMode.Create, FileAccess.Write);
101-
workbook.SaveAsHtml(outputStream, saveOptions);
100+
workbook.SaveAsHtml(Path.GetFullPath("Output/Output.html"), saveOptions);
102101
#endregion
103-
104-
//Dispose streams
105-
outputStream.Dispose();
106102
}
107103
{% endhighlight %}
108104

0 commit comments

Comments
 (0)