Skip to content

Commit 964d5a3

Browse files
Merge pull request #1515 from Syncfusion-Content/hotfix/hotfix-v31.1.17
DOCINFRA-2341_merged_using_automation
2 parents 03f1ad9 + 67e3c9b commit 964d5a3

File tree

48 files changed

+1164
-1244
lines changed

Some content is hidden

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

48 files changed

+1164
-1244
lines changed

Document-Processing-toc.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2650,7 +2650,7 @@
26502650
<li><a href="/document-processing/word/word-processor/angular/right-to-left">RTL</a></li>
26512651
<li><a href="/document-processing/word/word-processor/angular/chart">Chart</a></li>
26522652
<li><a href="/document-processing/word/word-processor/angular/content-control">Content Control</a></li>
2653-
<li><a href="/document-processing/word/word-processor/angular/document-management">Document Management</a></li>
2653+
<li><a href="/document-processing/word/word-processor/angular/restrict-editing">Restrict Editing</a></li>
26542654
<li><a href="/document-processing/word/word-processor/angular/spell-check">SpellCheck</a></li>
26552655
<li><a href="/document-processing/word/word-processor/angular/global-local">Globalization</a></li>
26562656
<li><a href="/document-processing/word/word-processor/angular/notes">Footnotes and Endnotes</a></li>
@@ -6709,7 +6709,7 @@
67096709
<ul>
67106710
<li>
67116711
Weekly Nuget Release
6712-
<ul><li><a href="/document-processing/release-notes/v31.1.22">v31.1.22</a></li>
6712+
<ul><li><a href="/document-processing/release-notes/v31.1.23">v31.1.23</a></li><li><a href="/document-processing/release-notes/v31.1.22">v31.1.22</a></li>
67136713
<li><a href="/document-processing/release-notes/v31.1.21">v31.1.21</a></li>
67146714
<li><a href="/document-processing/release-notes/v31.1.20">v31.1.20</a></li>
67156715
<li><a href="/document-processing/release-notes/v31.1.19">v31.1.19</a></li>

Document-Processing/PDF/Conversions/HTML-To-PDF/NET/Converting-HTML-to-PDF.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ Syncfusion<sup>&reg;</sup> HTML-to-PDF converter will work seamlessly in various
1616
* Converts any [webpage to PDF](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#url-to-pdf).
1717
* Converts any raw [HTML string to PDF](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#html-string-to-pdf).
1818
* Converts [HTML form to fillable PDF form](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#html-form-to-pdf-form).
19-
* Automatically creates [Table of Contents](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#table-of-contents).
19+
* Automatically creates [Table of Contents](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#table-of-contents-with-custom-style).
2020
* Automatically creates [bookmark hierarchy](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#bookmarks).
2121
* Converts only a [part of the web page to PDF](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#partial-webpage-to-pdf).
22-
* Supports PDF header and PDF footer.
22+
* Supports PDF [header and PDF footer](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#header-and-footer).
2323
* Repeats HTML table header and footer in PDF.
2424
* Supports HTML5, CSS3, SVG, and Web fonts.
2525
* Converts any [HTML to an image](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#url-to-image).
26-
* Converts any [SVG to image](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#url-to-image).
26+
* Converts any [SVG to image](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#svg-file-to-image).
2727
* Supports accessing HTML pages using both [HTTP POST and GET](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#http-get-and-post).
2828
* Supports [cookies-based form authentication](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#form-authentication).
2929
* Thread safe.

Document-Processing/PDF/Conversions/HTML-To-PDF/NET/NuGet-Packages-Required.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,31 @@ N> The HTML to PDF converter library internally uses the Blink rendering engine
2020
</tr>
2121
<tr>
2222
<td>
23-
(.NET Core, .NET 5, .NET 6 and .NET 8) Windows
23+
Windows (.NET Core, .NET8, and .NET9)
2424
</td>
2525
<td>
2626
{{'[Syncfusion.HtmlToPdfConverter.Net.Windows.nupkg](https://www.nuget.org/packages/Syncfusion.HtmlToPdfConverter.Net.Windows/)'| markdownify }}
2727
</td>
2828
</tr>
2929
<tr>
3030
<td>
31-
(.NET Core, .NET 5, .NET 6 and .NET 8) Linux
31+
Linux (.NET Core, .NET8, and .NET9)
3232
</td>
3333
<td>
3434
{{'[Syncfusion.HtmlToPdfConverter.Net.Linux.nupkg](https://www.nuget.org/packages/Syncfusion.HtmlToPdfConverter.Net.Linux/)'| markdownify }}
3535
</td>
3636
</tr>
3737
<tr>
3838
<td>
39-
(.NET Core, .NET 5, .NET 6 and .NET 8) Mac
39+
Mac (.NET Core, .NET8, and .NET9)
4040
</td>
4141
<td>
4242
{{'[Syncfusion.HtmlToPdfConverter.Net.Mac.nupkg](https://www.nuget.org/packages/Syncfusion.HtmlToPdfConverter.Net.Mac/)'| markdownify }}
4343
</td>
4444
</tr>
4545
<tr>
4646
<td>
47-
(.NET Core, .NET 5, .NET 6 and .NET 8) Aws
47+
AWS (.NET Core, .NET8, and .NET9)
4848
</td>
4949
<td>
5050
{{'[Syncfusion.HtmlToPdfConverter.Net.Aws.nupkg](https://www.nuget.org/packages/Syncfusion.HtmlToPdfConverter.Net.Aws/)'| markdownify }}

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,15 @@ Syncfusion<sup>&reg;</sup> HTML-to-PDF converter will work seamlessly in various
1616
* Converts any [webpage to PDF](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#url-to-pdf).
1717
* Converts any raw [HTML string to PDF](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#html-string-to-pdf).
1818
* Converts [HTML form to fillable PDF form](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#html-form-to-pdf-form).
19-
* Automatically creates [Table of Contents](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#table-of-contents).
19+
* Automatically creates [Table of Contents](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#table-of-contents-with-custom-style).
2020
* Automatically creates [bookmark hierarchy](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#bookmarks).
2121
* Converts only a [part of the web page to PDF](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#partial-webpage-to-pdf).
22-
* Supports PDF header and PDF footer.
22+
* Supports PDF [header and PDF footer](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#header-and-footer).
2323
* Repeats HTML table header and footer in PDF.
2424
* Supports HTML5, CSS3, SVG, and Web fonts.
2525
* Converts any [HTML to an image](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#url-to-image).
26-
* Converts any [SVG to image](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#url-to-image).
27-
* Supports accessing HTML pages using both [HTTP POST and GET](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#http-get-and-post) methods.
28-
* Supports [HTTP cookies](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#form-authentication).
26+
* Converts any [SVG to image](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#svg-file-to-image).
27+
* Supports accessing HTML pages using both [HTTP POST and GET](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#http-get-and-post).
2928
* Supports [cookies-based form authentication](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#form-authentication).
3029
* Thread safe.
3130
* Supports internal and external [hyperlinks](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features#hyperlinks).

Document-Processing/PDF/PDF-Library/NET/Create-PDF-document-in-AKS-Environment.md

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,21 @@ Step 3: Click **Create** button.
2323
Step 4: Install the [Syncfusion.Pdf.Net.Core](https://www.nuget.org/packages/Syncfusion.Pdf.Net.Core/) NuGet package as a reference to your project from [NuGet.org](https://www.nuget.org/).
2424
![Install Syncfusion.Pdf.Net.Core NuGet package](AKS_images/NuGet_package.png)
2525

26-
2726
Step 5: A default action method named Index will be present in *HomeController.cs*. Right click on Index method and select Go To View where you will be directed to its associated view page *Index.cshtml*. Add a new button in the *Index.cshtml* as shown below.
2827

2928
{% tabs %}
3029

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

33-
@{
34-
Html.BeginForm("CreatePDFDocument", "Home", FormMethod.Get);
35-
{
36-
<div>
37-
<input type="submit" value="Create PDF Document" style="width:200px;height:27px" />
38-
</div>
39-
}
40-
Html.EndForm();
32+
@{
33+
Html.BeginForm("CreatePDFDocument", "Home", FormMethod.Get);
34+
{
35+
<div>
36+
<input type="submit" value="Create PDF Document" style="width:200px;height:27px" />
37+
</div>
4138
}
39+
Html.EndForm();
40+
}
4241

4342
{% endhighlight %}
4443

@@ -50,10 +49,10 @@ Step 6: Include the following namespaces in *HomeController.cs*.
5049

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

53-
using Syncfusion.Pdf.Graphics;
54-
using Syncfusion.Pdf;
55-
using System.Diagnostics;
56-
using Syncfusion.Drawing;
52+
using Syncfusion.Pdf.Graphics;
53+
using Syncfusion.Pdf;
54+
using System.Diagnostics;
55+
using Syncfusion.Drawing;
5756

5857
{% endhighlight %}
5958

@@ -65,7 +64,7 @@ Step 7: Add a new action method named CreatePDFDocument in HomeController.cs fil
6564

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

68-
public IActionResult CreatePDFDocument()
67+
public IActionResult CreatePDFDocument()
6968
{
7069
//Create a new PDF document.
7170
PdfDocument document = new PdfDocument();
@@ -165,7 +164,7 @@ Step 2: You need to gather the credentials in order to interact with the cluster
165164

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

168-
az aks get-credentials --resource-group CreatePdfDocument --name aks-uk-demo-msdn
167+
az aks get-credentials --resource-group CreatePdfDocument --name aks-uk-demo-msdn
169168

170169
{% endhighlight %}
171170

@@ -175,7 +174,7 @@ Step 3: You can review the credentials with the following command:
175174
{% tabs %}
176175
{% highlight c# tabtitle="C#" %}
177176

178-
cat .kube/config
177+
cat .kube/config
179178

180179
{% endhighlight %}
181180

@@ -187,7 +186,7 @@ Step 4: Now in the Cloud Shell, create a new file called deploy.yaml as follows:
187186
{% tabs %}
188187
{% highlight c# tabtitle="C#" %}
189188

190-
code deploy.yaml
189+
code deploy.yaml
191190

192191
{% endhighlight %}
193192

@@ -236,7 +235,7 @@ Step 6: Once you save and close the code editor, it’s finally time to apply th
236235
{% tabs %}
237236
{% highlight c# tabtitle="C#" %}
238237

239-
kubectl apply -f deploy.yaml
238+
kubectl apply -f deploy.yaml
240239

241240
{% endhighlight %}
242241

@@ -250,10 +249,10 @@ Step 8: You can run the following commands:
250249
{% tabs %}
251250
{% highlight c# tabtitle="C#" %}
252251

253-
kubectl get pods
254-
kubectl get nodes
255-
kubectl get service
256-
kubectl describe deployment
252+
kubectl get pods
253+
kubectl get nodes
254+
kubectl get service
255+
kubectl describe deployment
257256

258257
{% endhighlight %}
259258
{% endtabs %}
@@ -262,7 +261,7 @@ or
262261
{% tabs %}
263262
{% highlight c# tabtitle="C#" %}
264263

265-
kubectl get all
264+
kubectl get all
266265

267266
{% endhighlight %}
268267
{% endtabs %}
@@ -286,8 +285,8 @@ If you want to clean up the cluster, you can run the following commands:
286285
{% tabs %}
287286
{% highlight c# tabtitle="C#" %}
288287

289-
kubectl delete -f deploy.yaml
290-
kubectl delete svc asp-docker-app --namespace=default
288+
kubectl delete -f deploy.yaml
289+
kubectl delete svc asp-docker-app --namespace=default
291290

292291
{% endhighlight %}
293292
{% endtabs %}

Document-Processing/PDF/PDF-Library/NET/Create-PDF-file-in-AWS-Elastic-Beanstalk.md

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ Step 4: A default controller named HomeController.cs gets added to create the AS
2929
{% tabs %}
3030
{% highlight c# tabtitle="C#" %}
3131

32-
using Syncfusion.Pdf;
33-
using Syncfusion.Pdf.Graphics;
34-
using Syncfusion.Pdf.Grid;
35-
using Syncfusion.Pdf.Parsing;
36-
using Syncfusion.Drawing;
32+
using Syncfusion.Pdf;
33+
using Syncfusion.Pdf.Graphics;
34+
using Syncfusion.Pdf.Grid;
35+
using Syncfusion.Pdf.Parsing;
36+
using Syncfusion.Drawing;
3737

3838
{% endhighlight %}
3939
{% endtabs %}
@@ -43,18 +43,18 @@ Step 5: Add a new button in index.cshtml as follows
4343
{% tabs %}
4444
{% highlight c# tabtitle="C#" %}
4545

46-
@{
47-
Html.BeginForm("CreatePDF", "Home", FormMethod.Get);
48-
{
49-
<div>
50-
<input type="submit" value="Create PDF" style="width:150px;height:27px" />
51-
<br />
52-
<div class="text-danger">
53-
@ViewBag.Message
54-
</div>
46+
@{
47+
Html.BeginForm("CreatePDF", "Home", FormMethod.Get);
48+
{
49+
<div>
50+
<input type="submit" value="Create PDF" style="width:150px;height:27px" />
51+
<br />
52+
<div class="text-danger">
53+
@ViewBag.Message
5554
</div>
56-
}
57-
Html.EndForm();
55+
</div>
56+
}
57+
Html.EndForm();
5858
}
5959

6060
{% endhighlight %}
@@ -65,43 +65,43 @@ Step 6: Add a new action method named CreatePDF in HomeController.cs file and in
6565
{% tabs %}
6666
{% highlight c# tabtitle="C#" %}
6767

68-
public IActionResult CreatePDF()
69-
{
70-
//Open an existing PDF document.
71-
FileStream fileStream = new FileStream("Data/Input.pdf", FileMode.Open, FileAccess.Read);
72-
PdfLoadedDocument document = new PdfLoadedDocument(fileStream);
73-
74-
//Get the first page from a document.
75-
PdfLoadedPage page = document.Pages[0] as PdfLoadedPage;
76-
77-
//Create PDF graphics for the page.
78-
PdfGraphics graphics = page.Graphics;
79-
80-
//Create a PdfGrid.
81-
PdfGrid pdfGrid = new PdfGrid();
82-
//Add values to the list.
83-
List<object> data = new List<object>();
84-
data.Add(new { Product_ID = "1001", Product_Name = "Bicycle", Price = "10,000" });
85-
data.Add(new { Product_ID = "1002", Product_Name = "Head Light", Price = "3,000" });
86-
data.Add(new { Product_ID = "1003", Product_Name = "Break wire", Price = "1,500" });
87-
88-
//Assign data source.
89-
pdfGrid.DataSource = data;
90-
91-
//Apply built-in table style.
92-
pdfGrid.ApplyBuiltinStyle(PdfGridBuiltinStyle.GridTable4Accent3);
93-
94-
//Draw the grid to the page of PDF document.
95-
pdfGrid.Draw(graphics, new RectangleF(40, 400, page.Size.Width - 80, 0));
96-
//Create the memory stream.
97-
MemoryStream stream = new MemoryStream();
98-
//Save the document to the memory stream.
99-
document.Save(stream);
100-
//Close the documet
101-
document.Close(true);
102-
//Return the PDF file as a download
103-
return File(stream.ToArray(), System.Net.Mime.MediaTypeNames.Application.Pdf, "Output.pdf");
104-
}
68+
public IActionResult CreatePDF()
69+
{
70+
//Open an existing PDF document.
71+
FileStream fileStream = new FileStream("Data/Input.pdf", FileMode.Open, FileAccess.Read);
72+
PdfLoadedDocument document = new PdfLoadedDocument(fileStream);
73+
74+
//Get the first page from a document.
75+
PdfLoadedPage page = document.Pages[0] as PdfLoadedPage;
76+
77+
//Create PDF graphics for the page.
78+
PdfGraphics graphics = page.Graphics;
79+
80+
//Create a PdfGrid.
81+
PdfGrid pdfGrid = new PdfGrid();
82+
//Add values to the list.
83+
List<object> data = new List<object>();
84+
data.Add(new { Product_ID = "1001", Product_Name = "Bicycle", Price = "10,000" });
85+
data.Add(new { Product_ID = "1002", Product_Name = "Head Light", Price = "3,000" });
86+
data.Add(new { Product_ID = "1003", Product_Name = "Break wire", Price = "1,500" });
87+
88+
//Assign data source.
89+
pdfGrid.DataSource = data;
90+
91+
//Apply built-in table style.
92+
pdfGrid.ApplyBuiltinStyle(PdfGridBuiltinStyle.GridTable4Accent3);
93+
94+
//Draw the grid to the page of PDF document.
95+
pdfGrid.Draw(graphics, new RectangleF(40, 400, page.Size.Width - 80, 0));
96+
//Create the memory stream.
97+
MemoryStream stream = new MemoryStream();
98+
//Save the document to the memory stream.
99+
document.Save(stream);
100+
//Close the documet
101+
document.Close(true);
102+
//Return the PDF file as a download
103+
return File(stream.ToArray(), System.Net.Mime.MediaTypeNames.Application.Pdf, "Output.pdf");
104+
}
105105

106106
{% endhighlight %}
107107
{% endtabs %}

0 commit comments

Comments
 (0)