Skip to content
Merged
1 change: 1 addition & 0 deletions File-Formats-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -1669,6 +1669,7 @@
<li><a href="/file-formats/xlsio/faqs/how-to-vary-colors-by-point-for-line-and-column-chart">How to vary colors by point for line and column chart</a></li>
<li><a href="/file-formats/xlsio/faqs/how-to-upload-a-file-to-azure-blob-and-download-as-stream">How to upload a file to Azure blob and download as stream</a></li>
<li><a href="/file-formats/xlsio/faqs/how-to-set-rounded-corner-for-chart-in-excel-document">How to set rounded corner for chart in Excel document</a></li>
<li><a href="/file-formats/xlsio/faqs/how-to-find-and-replace-text-in-hyperlinks">How to find and replace text in hyperlinks</a></li>
</ul>
</li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions File-Formats/DocIO/Assemblies-Required.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Platform(s)<br/></th><th>
Assembly<br/></th></tr></thead>
<tr>
<td>
{{'[WPF](https://help.syncfusion.com/file-formats/docio/create-word-document-in-wpf)' | markdownify}}, {{'[Windows Forms](https://help.syncfusion.com/file-formats/docio/create-word-document-in-windows-forms)' | markdownify}}, {{'[ASP.NET]https://help.syncfusion.com/file-formats/docio/create-word-document-in-asp-net)' | markdownify}}, {{'[ASP.NET MVC](https://help.syncfusion.com/file-formats/docio/create-word-document-in-asp-net-mvc)' | markdownify}}<br/></td><td>
{{'[WPF](https://help.syncfusion.com/file-formats/docio/create-word-document-in-wpf)' | markdownify}}, {{'[Windows Forms](https://help.syncfusion.com/file-formats/docio/create-word-document-in-windows-forms)' | markdownify}}, {{'[ASP.NET](https://help.syncfusion.com/file-formats/docio/create-word-document-in-asp-net)' | markdownify}}, {{'[ASP.NET MVC](https://help.syncfusion.com/file-formats/docio/create-word-document-in-asp-net-mvc)' | markdownify}}<br/></td><td>
Syncfusion.DocIO.Base<br/>Syncfusion.Compression.Base<br/>Syncfusion.OfficeChart.Base<br/></td></tr>
<tr>
<td>
Expand Down Expand Up @@ -66,7 +66,7 @@ Universal (Classic)<br/></td><td>
Syncfusion.DocIO.Universal<br/></td></tr>
<tr>
<td>
Windows UI Library (WinUI)<br/> .NET Multi-platform App UI (.NET MAUI)<br/>
{{'[Windows UI Library (WinUI)](https://help.syncfusion.com/file-formats/docio/create-word-document-in-winui)' | markdownify}}<br/> {{'[.NET Multi-platform App UI (.NET MAUI)](https://help.syncfusion.com/file-formats/presentation/create-read-edit-powerpoint-files-in-maui)' | markdownify}}<br/>
</td><td>
Syncfusion.DocIO.NET<br/>Syncfusion.Compression.NET<br/>Syncfusion.OfficeChart.NET<br/></td></tr>
</table>
Expand Down
54 changes: 27 additions & 27 deletions File-Formats/Presentation/Assemblies-Required.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,32 +90,6 @@ Syncfusion.OfficeChart.NET<br/>Syncfusion.PresentationRenderer.NET<br/>Syncfusio
</tr>
</table>

## Converting Charts

The following assemblies are required to be referred in addition to the above mentioned assemblies for converting the chart present in the PowerPoint Presentation into PDF.
<table>
<tr>
<thead>
<th>
Platform(s)</th>
<th>
Assembly
</th>
</thead>
</tr>
<tr>
<td>
WPF, Windows Forms, ASP. NET and ASP.NET MVC<br/>
</td>
<td>
Syncfusion.OfficeChartToImageConverter.WPF<br/>
Syncfusion.SfChart.WPF<br/>
</td>
</tr>
</table>
N> 1. The “Syncfusion.OfficeChartToImageConverter.WPF” assembly is supported from .NET Framework 4.0 onwards.
N> 2. Starting with the v24.1.x, if you reference "Syncfusion.PresentationRenderer", you have to add the "Syncfusion.Pdf.Imaging" assembly reference in your projects to perform PowerPoint Presentation to PDF conversion.

## Converting PowerPoint Presentation to Image

For converting a PowerPoint Presentation to Image, the following assemblies needed to be referenced in your application
Expand Down Expand Up @@ -170,4 +144,30 @@ Syncfusion.OfficeChartToImageConverter.UWP<br/>
Syncfusion.SfChart.UWP<br/>
</td>
</tr>
</table>
</table>
N> Starting with the v24.1.x, if you reference "Syncfusion.PresentationRenderer", you have to add the "Syncfusion.Pdf.Imaging" assembly reference in your projects to perform PowerPoint Presentation to PDF conversion.

## Converting Charts

The following assemblies are required to be referred in addition to the above mentioned assemblies for converting the chart present in the PowerPoint Presentation into PDF and image.
<table>
<tr>
<thead>
<th>
Platform(s)</th>
<th>
Assembly
</th>
</thead>
</tr>
<tr>
<td>
WPF, Windows Forms, ASP. NET and ASP.NET MVC<br/>
</td>
<td>
Syncfusion.OfficeChartToImageConverter.WPF<br/>
Syncfusion.SfChart.WPF<br/>
</td>
</tr>
</table>
N> The “Syncfusion.OfficeChartToImageConverter.WPF” assembly is supported from .NET Framework 4.0 onwards.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync

By executing the program, you will get the **PowerPoint** as follows.

![Output PowerPoint in .NET Core console application](PPTXtoPDF_images/Output_PowerPoint_Presentation_to-PDF.png)
![Output PowerPoint in .NET Core console application](GettingStarted_images/gettingstartedsample.png)

## Create a PowerPoint in .NET Framework

Expand Down Expand Up @@ -173,4 +173,4 @@ You can download a complete working sample from [GitHub](https://github.com/Sync

By executing the program, you will get the **PowerPoint** as follows.

![Output PowerPoint in .NET FrameWork console application](PPTXtoPDF_images/Output_PowerPoint_Presentation_to-PDF.png)
![Output PowerPoint in .NET FrameWork console application](GettingStarted_images/gettingstartedsample.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions File-Formats/Release-Notes/v24.2.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@ documentation: ug

{% include release-info.html date="February 06, 2024" version="v24.2.4" %}

<style>
#license {
font-size: .88em!important;
margin-top: 1.5em;
margin-bottom: 1.5em;
background-color: #def8ff;
padding: 10px 17px 14px;
}
</style>

<div id="license">
With the 2024 Volume 1 release, we will discontinue support for .NET Framework 4.5, 4.5.1, and 4.6 in WinForms, WPF, and the File-Format Frameworks. Instead, we will provide support for .NET 4.6.2.
</div>

## DocIO

Expand Down
3 changes: 2 additions & 1 deletion File-Formats/XlsIO/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,5 @@ The frequently asked questions in Essential XlsIO are listed below.
* [How to change the shape text font?](faqs/how-to-change-the-shape-text-font)
* [Why cone chart shows itself as column or bar chart?](faqs/why-cone-chart-shows-itself-as-colum-or-bar-chart)
* [How to vary colors by point for line and column chart?](faqs/how-to-vary-colors-by-point-for-line-and-column-chart)
* [How to upload a file to Azure blob and download as stream?](faqs/how-to-upload-a-file-to-azure-blob-and-download-as-stream)
* [How to upload a file to Azure blob and download as stream?](faqs/how-to-upload-a-file-to-azure-blob-and-download-as-stream)
* [How to find and replace text in hyperlinks](faqs/how-to-find-and-replace-text-in-hyperlinks)
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
---
title: Find and Replace text in Hyperlinks | Syncfusion
description: This page shows how to find and replace text in hyperlinks using the Syncfusion .NET Excel library (XlsIO).
platform: file-formats
control: XlsIO
documentation: UG
---

# How to find and replace text in hyperlinks?

The following code illustrates how to find and replace text in hyperlinks.

{% tabs %}
{% highlight c# tabtitle="C# [Cross-platform]" %}
using (ExcelEngine excelEngine = new ExcelEngine())
{
IApplication application = excelEngine.Excel;
application.DefaultVersion = ExcelVersion.Xlsx;

//Loads an existing file.
FileStream inputstream = new FileStream("InputTemplate.xlsx", FileMode.Open, FileAccess.Read);
IWorkbook workbook = application.Workbooks.Open(inputstream);
IWorksheet sheet = workbook.Worksheets[0];

//Find and Replace text in hyperlinks
for (int i = 0; i < sheet.HyperLinks.Count; i++)
{
IHyperLink hyperLink = sheet.HyperLinks[i];
string address = hyperLink.Address;
string displayText = hyperLink.TextToDisplay;
hyperLink.Address = address.Replace("http://", "https://");
if (!string.IsNullOrEmpty(displayText))
hyperLink.TextToDisplay = displayText.Replace("http://", "https://");
}

// Saving the workbook
FileStream outputstream = new FileStream("Output.xlsx", FileMode.Create, FileAccess.ReadWrite);
workbook.SaveAs(outputstream);
outputstream.Dispose();
}
{% endhighlight %}

{% highlight c# tabtitle="C# [Windows-specific]" %}
using (ExcelEngine excelEngine = new ExcelEngine())
{
IApplication application = excelEngine.Excel;
application.DefaultVersion = ExcelVersion.Xlsx;

//Loads an existing file.
IWorkbook workbook = application.Workbooks.Open("InputTemplate.xlsx");
IWorksheet sheet = workbook.Worksheets[0];

//Find and Replace text in hyperlinks
for (int i = 0; i < sheet.HyperLinks.Count; i++)
{
IHyperLink hyperLink = sheet.HyperLinks[i];
string address = hyperLink.Address;
string displayText = hyperLink.TextToDisplay;
hyperLink.Address = address.Replace("http://", "https://");
if (!string.IsNullOrEmpty(displayText))
hyperLink.TextToDisplay = displayText.Replace("http://", "https://");
}

// Saving the workbook
workbook.SaveAs("Output1.xlsx");
}
{% endhighlight %}

{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %}
Using excelEngine As ExcelEngine = New ExcelEngine()
Dim application As IApplication = excelEngine.Excel
application.DefaultVersion = ExcelVersion.Xlsx

'Loads an existing file.
Dim workbook As IWorkbook = application.Workbooks.Open("InputTemplate.xlsx")
Dim sheet As IWorksheet = workbook.Worksheets(0)

'Find and Replace text in hyperlinks
For i As Integer = 0 To sheet.HyperLinks.Count - 1
Dim hyperLink As IHyperLink = sheet.HyperLinks(i)
Dim address As String = hyperLink.Address
Dim displayText As String = hyperLink.TextToDisplay
hyperLink.Address = address.Replace("http://", "https://")
If Not String.IsNullOrEmpty(displayText) Then
hyperLink.TextToDisplay = displayText.Replace("http://", "https://")
End If
Next

'Saving the workbook
workbook.SaveAs("Output.xlsx")
End Using
{% endhighlight %}
{% endtabs %}
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ if(currentBuild.result != 'FAILURE')

stage 'Delete Workspace'

def files = findFiles(glob: '**/cireports/spellcheck/*.*')
def files = findFiles(glob: '**/cireports/*.*')

if(files.size() > 0)
{
Expand Down