Skip to content

Commit bfda323

Browse files
Merge pull request #1977 from syncfusion-content/995109-Updated-the-sample-hyperlink-in-DocIO-and-PPTX-UG-Hotfix
995109 - Update the hyperlinks in the DocIO and PowerPoint UG.
2 parents ab8f665 + 1631967 commit bfda323

File tree

8 files changed

+97
-11
lines changed

8 files changed

+97
-11
lines changed

Document-Processing/PowerPoint/Conversions/PowerPoint-To-Image/NET/Fallback-Fonts-in-PPTXtoImage-Conversion.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ using (FileStream fileStreamInput = new FileStream("Template.pptx", FileMode.Ope
103103

104104
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-Image-conversion/Fallback-fonts-based-on-scripttype).
105105

106-
## Fallback Symbols based on script type
106+
## Fallback fonts for symbols
107107

108108
The following code example demonstrates how a user can add fallback fonts for Symbols and Emojis, which Presentation considers internally when converting a PowerPoint presentation to an Image.
109109

@@ -142,6 +142,8 @@ using (FileStream fileStreamInput = new FileStream("Template.pptx", FileMode.Ope
142142

143143
{% endtabs %}
144144

145+
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-Image-conversion/Fallback-symbols-based-on-scripttype/)
146+
145147
## Fallback fonts for range of Unicode text
146148

147149
Users can set fallback fonts for specific Unicode range of text to be used in Presentation to Image conversion.

Document-Processing/PowerPoint/Conversions/PowerPoint-To-PDF/NET/Fallback-Fonts-in-PPTXtoPDF-Conversion.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ pptxDoc.Close()
210210

211211
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Fallback-fonts-based-on-scripttype).
212212

213-
## Fallback Symbols based on script type
213+
## Fallback fonts for symbols
214214

215215
The following code example demonstrates how a user can add fallback fonts for Symbols and Emojis, which Presentation considers internally when converting a PowerPoint presentation to PDF.
216216

@@ -298,6 +298,8 @@ pptxDoc.Close()
298298

299299
{% endtabs %}
300300

301+
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Fallback-symbols-based-on-scripttype/)
302+
301303
## Fallback fonts for range of Unicode text
302304

303305
Users can set fallback fonts for specific Unicode range of text to be used in presentation to PDF conversion.

Document-Processing/PowerPoint/Conversions/PowerPoint-To-PDF/overview.md

Lines changed: 73 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ control: PowerPoint
66
documentation: UG
77
---
88

9-
# Convert PowerPoint to PDF using Syncfusion<sup>&reg;</sup> PowerPoint library
9+
# Convert PowerPoint to PDF using Syncfusion® PowerPoint library
1010

1111
Syncfusion<sup>&reg;</sup> PowerPoint library (Presentation) allows you to convert PowerPoint Presentation document to PDF within a few lines of code in .NET applications and also it does not require Adobe and Microsoft PowerPoint application to be installed in the machine. Using this, you can create an input PowerPoint Presentation document from scratch or load an existing PowerPoint Presentation document and then easily convert to PDF.
1212

@@ -532,6 +532,75 @@ End Using
532532

533533
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Convert-PowerPoint-into-accessible-PDF).
534534

535+
## PowerPoint shapes to PDF form field
536+
537+
This setting allows you to **preserve PowerPoint shapes as PDF form fields** in the converted PDF document. Shapes with names starting with **FormField_** will be converted into **editable text form fields** in the resulting PDF. This feature helps in creating **interactive and fillable PDF forms** from PowerPoint presentations.
538+
539+
The following code sample shows how to preserve PowerPoint form fields as PDF form fields in the converted PDF document.
540+
541+
{% tabs %}
542+
543+
{% highlight C# tabtitle="C# [Cross-platform]" playgroundButtonLink="https://raw.githubusercontent.com/SyncfusionExamples/PowerPoint-Examples/master/PPTX-to-PDF-conversion/Create-fillable-PDF-from-PPTX/.NET/Create-fillable-PDF-from-PPTX/Program.cs" %}
544+
//Open the PowerPoint file stream.
545+
using (FileStream fileStream = new FileStream(Path.GetFullPath(@"Data/Template.pptx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
546+
{
547+
//Load an existing PowerPoint Presentation.
548+
using (IPresentation pptxDoc = Presentation.Open(fileStream))
549+
{
550+
// Create new instance for PresentationToPdfConverterSettings
551+
PresentationToPdfConverterSettings settings = new PresentationToPdfConverterSettings();
552+
//Enables a flag to preserve form fields by converting shapes with names starting with 'FormField_' into editable text form fields in the PDF.
553+
settings.PreserveFormFields = true;
554+
//Convert PowerPoint into PDF document.
555+
using (PdfDocument pdfDocument = PresentationToPdfConverter.Convert(pptxDoc))
556+
{
557+
//Save the PDF file to file system.
558+
using (FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/PPTXToPDF.pdf"), FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite))
559+
{
560+
pdfDocument.Save(outputStream);
561+
}
562+
}
563+
}
564+
}
565+
{% endhighlight %}
566+
567+
{% highlight C# tabtitle="C# [Windows-specific]" %}
568+
//Open a PowerPoint Presentation.
569+
using (IPresentation pptxDoc = Presentation.Open("Template.pptx"))
570+
{
571+
// Create new instance for PresentationToPdfConverterSettings
572+
PresentationToPdfConverterSettings settings = new PresentationToPdfConverterSettings();
573+
//Enables a flag to preserve form fields by converting shapes with names starting with 'FormField_' into editable text form fields in the PDF.
574+
settings.PreserveFormFields = true;
575+
//Convert the PowerPoint Presentation into a PDF document.
576+
using (PdfDocument pdfDocument = PresentationToPdfConverter.Convert(pptxDoc, pdfConverterSettings))
577+
{
578+
//Save a PDF document.
579+
pdfDocument.Save("Result.pdf");
580+
}
581+
}
582+
{% endhighlight %}
583+
584+
{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %}
585+
'Open a PowerPoint Presentation.
586+
Using pptxDoc As IPresentation = Presentation.Open("Template.pptx")
587+
'Create new instance for PresentationToPdfConverterSettings
588+
Dim settings As New PresentationToPdfConverterSettings()
589+
'Enables a flag to preserve form fields by converting shapes with names starting with 'FormField_' into editable text form fields in the PDF.
590+
settings.PreserveFormFields = True
591+
'Convert the PowerPoint Presentation into a PDF document.
592+
Using pdfDocument As PdfDocument = PresentationToPdfConverter.Convert(pptxDoc, settings)
593+
'Save a PDF document.
594+
pdfDocument.Save("Result.pdf")
595+
End Using
596+
End Using
597+
598+
{% endhighlight %}
599+
600+
{% endtabs %}
601+
602+
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Create-fillable-PDF-from-PPTX).
603+
535604
## Chart quality
536605

537606
The Presentation library provides an option to decide the quality of the charts to optimize the converted PDF document size.
@@ -681,9 +750,9 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
681750

682751
## Online Demo
683752

684-
* Explore how to convert a PowerPoint presentation to PDF using the .NET PowerPoint Library (Presentation) in a live demo [here](https://ej2.syncfusion.com/aspnetcore/powerpoint/pptxtopdf#/bootstrap5).
685-
* See how to convert a PowerPoint presentation to PDF/UA using the .NET PowerPoint Library (Presentation) in a live demo [here](https://ej2.syncfusion.com/aspnetcore/powerpoint/pptxtopdfua#/bootstrap5).
686-
* See how to convert a PowerPoint presentation to PDF/A using the .NET PowerPoint Library (Presentation) in a live demo [here](https://ej2.syncfusion.com/aspnetcore/powerpoint/pptxtopdfa#/bootstrap5).
753+
* Explore how to convert a PowerPoint presentation to PDF using the .NET PowerPoint Library (Presentation) in a live demo [here](https://document.syncfusion.com/demos/powerpoint/pptxtopdf#/tailwind).
754+
* See how to convert a PowerPoint presentation to PDF/UA using the .NET PowerPoint Library (Presentation) in a live demo [here](https://document.syncfusion.com/demos/powerpoint/pptxtopdfua#/tailwind).
755+
* See how to convert a PowerPoint presentation to PDF/A using the .NET PowerPoint Library (Presentation) in a live demo [here](https://document.syncfusion.com/demos/powerpoint/pptxtopdfa#/tailwind).
687756

688757
## See Also
689758

Document-Processing/Word/Conversions/Word-To-Image/NET/Fallback-fonts-word-to-image.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ using (FileStream inputStream = new FileStream("Template.docx", FileMode.Open, F
111111

112112
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-Image-conversion/Fallback-fonts-based-on-scripttype).
113113

114-
## Fallback Symbols based on script type
114+
## Fallback fonts for symbols
115115

116116
The following code example demonstrates how a user can add fallback fonts for Symbols and Emojis, which DocIO considers internally when converting a Word document to image.
117117

@@ -154,6 +154,8 @@ using (FileStream inputStream = new FileStream("Template.docx", FileMode.Open, F
154154

155155
{% endtabs %}
156156

157+
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-Image-conversion/Fallback-symbol-based-on-scripttype/)
158+
157159
## Fallback fonts for range of Unicode text
158160

159161
Users can set fallback fonts for specific Unicode range of text to be used in Word to Image conversion.

Document-Processing/Word/Conversions/Word-To-Image/NET/Font-substituion-word-to-image.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,3 +222,7 @@ End Sub
222222
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-Image-conversion/Use-alternate-font-without-installing).
223223

224224
N> The above event will be triggered only if the specified font is not installed in production machine.
225+
226+
## See Also
227+
228+
* [How to get the list of font names used in a Word document?](https://support.syncfusion.com/kb/article/22134/how-to-get-the-list-of-font-names-used-in-a-word-document-in-c-net-core)

Document-Processing/Word/Conversions/Word-To-PDF/NET/Fallback-fonts-word-to-pdf.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ End Using
195195

196196
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-PDF-Conversion/Fallback-fonts-based-on-scripttype).
197197

198-
## Fallback Symbols based on script type
198+
## Fallback fonts for symbols
199199

200200
The following code example demonstrates how a user can add fallback fonts for Symbols and Emojis, which DocIO considers internally when converting a Word document to PDF.
201201

@@ -276,7 +276,7 @@ End Using
276276

277277
{% endtabs %}
278278

279-
279+
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-PDF-Conversion/Fallback-fonts-based-on-scripttype/)
280280

281281
## Fallback fonts for range of Unicode text
282282

Document-Processing/Word/Conversions/Word-To-PDF/NET/Font-substituion-word-to-pdf.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,3 +216,7 @@ End Sub
216216
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-PDF-Conversion/Use-alternate-font-without-installing).
217217

218218
N> The above event will be triggered only if the specified font is not installed in production machine.
219+
220+
## See Also
221+
222+
* [How to get the list of font names used in a Word document?](https://support.syncfusion.com/kb/article/22134/how-to-get-the-list-of-font-names-used-in-a-word-document-in-c-net-core)

Document-Processing/Word/Word-Library/NET/Working-with-LaTeX.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ documentation: UG
99
# Create Equation using LaTeX
1010
The .NET Word (DocIO) library allows to create mathematical equation in Word document using **LaTeX**.
1111

12+
To quickly start working with LaTeX Equations, please check out this video:
13+
{% youtube "https://www.youtube.com/watch?v=pdN4HNlKTJs" %}
14+
1215
## Accent
1316

1417
Add **accent** equation to a Word document using the LaTeX through [AppendMath](https://help.syncfusion.com/cr/document-processing/Syncfusion.DocIO.DLS.WParagraph.html#Syncfusion_DocIO_DLS_WParagraph_AppendMath_System_String_) API.
@@ -2061,8 +2064,8 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
20612064

20622065
## Online Demo
20632066

2064-
* Explore how to create a Word document with mathematical equations using LaTeX and the .NET Word Library (DocIO) in a live demo [here](https://ej2.syncfusion.com/aspnetcore/word/createusinglatex#/bootstrap5).
2065-
* See how to modify a mathematical equation using LaTeX in a Word document using the .NET Word Library (DocIO) in a live demo [here](https://ej2.syncfusion.com/aspnetcore/word/editusinglatex#/bootstrap5).
2067+
* Explore how to create a Word document with mathematical equations using LaTeX and the .NET Word Library (DocIO) in a live demo [here](https://document.syncfusion.com/demos/word/createusinglatex#/tailwind).
2068+
* See how to modify a mathematical equation using LaTeX in a Word document using the .NET Word Library (DocIO) in a live demo [here](https://document.syncfusion.com/demos/word/editusinglatex#/tailwind).
20662069

20672070
## See Also
20682071

0 commit comments

Comments
 (0)