Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions File-Formats/DocIO/FAQ.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: FAQ Section | DocIO | Syncfusion
description: Learn about the frequently asked questions in the .NET Word (DocIO) library.
description: In this section, you can discover the various questions asked about manipulation of Word documents using the .NET Word Library (DocIO).
platform: file-formats
control: DocIO
documentation: UG
Expand Down Expand Up @@ -2432,7 +2432,7 @@ RUN apt-get update -y && apt-get install libfontconfig -y

* In production environment (hosted server machine), ensure whether the Visual C++ Redistributable is properly installed.

[Download](https://www.microsoft.com/en-us/download/details.aspx?id=53587) and install Visual C++, if not installed.
[Download](https://www.microsoft.com/en-us/download/details.aspx?id=53840) and install Visual C++, if not installed.

## How to set title when converting Word document to EPUB

Expand Down Expand Up @@ -2885,3 +2885,9 @@ From v20.2
</td>
</tr>
</table>

## Why are content controls not preserved as editable form fields in the converted PDF document even when PreserveFormFields is enabled?

Content controls behave differently from legacy form fields, such as Text, Checkbox, and Drop-down fields, during conversions to PDF format. While legacy form fields are typically preserved as editable form fields in the resulting PDF document, content controls are converted to plain text. The [PreserveFormFields](https://help.syncfusion.com/cr/file-formats/Syncfusion.DocToPDFConverter.DocToPDFConverterSettings.html#Syncfusion_DocToPDFConverter_DocToPDFConverterSettings_PreserveFormFields) API specifically retains the interactive nature of legacy form fields, not content controls.
To ensure that form fields remain editable in the PDF converted from Word document, it is recommended to use [Text](https://help.syncfusion.com/file-formats/docio/working-with-form-fields#text-form-field), [Checkbox](https://help.syncfusion.com/file-formats/docio/working-with-form-fields#check-box), and [Drop-down](https://help.syncfusion.com/file-formats/docio/working-with-form-fields#drop-down) form fields instead of content controls in the Word document. Additionally, to preserve the form fields as editable in the resulting PDF, set the [PreserveFormFields](https://help.syncfusion.com/cr/file-formats/Syncfusion.DocToPDFConverter.DocToPDFConverterSettings.html#Syncfusion_DocToPDFConverter_DocToPDFConverterSettings_PreserveFormFields) API to true.
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-PDF-Conversion/Create-fillable-PDF-from-Word).
16 changes: 8 additions & 8 deletions File-Formats/PDF/Working-with-OCR/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ keywords: Assemblies
<td>
Set proper tesseract binaries and tessdata folder with all files and inner folders. The tessdata folder name is case-sensitive and should not change.
<br/><br/>
{% highlight c# tabtitle="C#" %}
{% highlight c# tabtitle="C# [Cross-platform]" %}

//TesseractBinaries - path of the folder tesseract binaries.
OCRProcessor processor = new OCRProcessor(@"TesseractBinaries/");
Expand Down Expand Up @@ -180,7 +180,7 @@ By using the best tessdata, we can improve the OCR results. For more information
<br><br/>
1.Execute the following command to install Tesserat 5.
<br><br/>
{% highlight c# tabtitle="C#" %}
{% highlight %}

brew install tesseract

Expand All @@ -189,7 +189,7 @@ brew install tesseract
<br><br/>
If the "brew" is not installed on your machine, you can install it using the following command.
<br><br/>
{% highlight c# tabtitle="C#" %}
{% highlight %}

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Expand All @@ -199,7 +199,7 @@ If the "brew" is not installed on your machine, you can install it using the fol

2.Once Tesseract 5 is successfully installed, you can configure the path to the latest binaries by copying the location of the Tesseract folder and setting it as the Tesseract binaries path when setting up the OCR processor. Refer to the example code below:
<br><br/>
{% highlight c# tabtitle="C#" %}
{% highlight %}

//Initialize the OCR processor by providing the path of tesseract binaries.
using (OCRProcessor processor = new OCRProcessor("/opt/homebrew/Cellar/tesseract/5.3.2/lib"))
Expand All @@ -209,7 +209,7 @@ using (OCRProcessor processor = new OCRProcessor("/opt/homebrew/Cellar/tesseract

3.Add the TessDataPath from bin folder. Refer to the example code below:
<br></br>
{% highlight c# tabtitle="C#" %}
{% highlight c# tabtitle="C# [Cross-platform]" %}

using (OCRProcessor processor = new OCRProcessor("/opt/homebrew/Cellar/tesseract/5.3.2/lib"))
{
Expand Down Expand Up @@ -253,7 +253,7 @@ using (OCRProcessor processor = new OCRProcessor("/opt/homebrew/Cellar/tesseract
<br><br/>
1. Install the leptonica.
<br>
{% highlight c# tabtitle="C#" %}
{% highlight %}

sudo apt-get install libleptonica-dev

Expand All @@ -264,7 +264,7 @@ sudo apt-get install libleptonica-dev
2.Install the tesseract.
<br>

{% highlight c# tabtitle="C#" %}
{% highlight %}

sudo apt-get install tesseract-ocr-eng

Expand All @@ -280,7 +280,7 @@ cp /usr/lib/x86_64-linux-gnu/liblept.so /home/syncfusion/linuxdockersample/linux

{% endhighlight %}
<br>
{% highlight c# tabtitle="C#" %}
{% highlight %}

cp /usr/lib/x86_64-linux-gnu/libtesseract.so.4 /home/syncfusion/linuxdockersample/linuxdockersample/bin/Debug/net7.0/libSyncfusionTesseract.so

Expand Down
31 changes: 30 additions & 1 deletion File-Formats/Presentation/Charts/Chart-Data-Labels.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ control: PowerPoint
documentation: UG
---

# Chart Data Labels
# Chart Data Labels in PowerPoint

Data Labels on a chart make it easier to understand. They show important information about the lines or points on the chart. Using Presentation, you can **customize the data labels in the chart**.

Expand Down Expand Up @@ -247,6 +247,35 @@ chart.Series(0).DataPoints(0).DataLabels.Layout.ManualLayout.Top = 3
{% endhighlight %}
{% endtabs %}

## Show Leader lines

The leader lines can be shown in a chart through [ShowLeaderLines](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.Implementation.Charts.ChartDataLabelsImpl.html#Syncfusion_XlsIO_Implementation_Charts_ChartDataLabelsImpl_ShowLeaderLines) API which can be set to all data labels by enabling the leader lines for [DefaultDataPoint](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.Implementation.Charts.ChartDataPointsCollection.html#Syncfusion_XlsIO_Implementation_Charts_ChartDataPointsCollection_DefaultDataPoint).

The following code illustrates how to enable the leader lines for all data labels in the chart.

{% tabs %}
{% highlight c# tabtitle="C# [Cross-platform]" %}

// Enable the leader lines in Chart.
chart.Series[0].DataPoints.DefaultDataPoint.DataLabels.ShowLeaderLines = true;

{% endhighlight %}
{% highlight c# tabtitle="C# [Windows-specific]" %}

// Enable the leader lines in Chart.
chart.Series[0].DataPoints.DefaultDataPoint.DataLabels.ShowLeaderLines = true;

{% endhighlight %}
{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %}

' Enable the leader lines in Chart.
chart.Series[0].DataPoints.DefaultDataPoint.DataLabels.ShowLeaderLines = true;

{% endhighlight %}
{% endtabs %}

You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Charts/Show-Leader-Lines/.NET).

## See Also

* [How to change text of data labels for Chart in Presentation](https://support.syncfusion.com/kb/article/13828/how-to-change-the-text-in-data-labels-inside-a-chart-in-presentation-using-c-in-aspnet-core)
2 changes: 1 addition & 1 deletion File-Formats/XlsIO/Overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Overview of Syncfusion Excel (XlsIO) library | Syncfusion
description: Essential XlsIO is a .NET Excel library to create, read, edit & convert Excel file in WinForms, WPF, UWP, ASP.NET Core, ASP.NET MVC, Xamarin, Blazor, WinUI and .NET MAUI applications
description: .NET Excel library create, read, edit & convert Excel file in WinForms, WPF, UWP, ASP.NET Core, ASP.NET MVC, Xamarin, Blazor, WinUI and .NET MAUI applications.
platform: file-formats
control: XlsIO
documentation: UG
Expand Down