From c3984639f7ff74bd877dbdd4195b9dc24e7bd3db Mon Sep 17 00:00:00 2001 From: sameerkhan001 Date: Mon, 13 Oct 2025 11:08:22 +0530 Subject: [PATCH 1/4] 986214-ug: Added hyperlink clickable issue in the html to pdf trouble shooting section --- .../HTML-To-PDF/NET/troubleshooting.md | 30 +++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md b/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md index 5599d4a2f..f2a54795e 100644 --- a/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md +++ b/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md @@ -628,7 +628,6 @@ blinkConverterSettings.CommandLineArguments.Add("--disable-setuid-sandbox"); - ## Converting the HTML to PDF fails in x32 bit windows system environment @@ -652,6 +651,33 @@ blinkConverterSettings.CommandLineArguments.Add("--disable-setuid-sandbox");
+## Hyperlinks appearances do not navigate to their referenced URLs when using `CreateTemplate` and `DrawPdfTemplate` methods + + + + + + + + + + + + + + +
Issue +Hyperlinks appearances do not navigate to their referenced URLs when using `CreateTemplate` and `DrawPdfTemplate` methods +
Reason +The CreateTemplate and DrawPdfTemplate methods generally do not import annotation details, including hyperlink information, from the original PDF document. This means that while the visual appearance of a hyperlink (blue, underlined text) might be preserved, the underlying functionality of navigating to the URL is not transferred. +
Solution +A workaround involves manually extracting and re-applying hyperlink annotations. This can be achieved by following these steps:
+1.Extract Annotations: Before creating and drawing the PDF template, extract all annotations, specifically hyperlink annotations, from the original PDF document.
+2.Draw PDF Template: Use the CreateTemplate and DrawPdfTemplate methods to draw the PDF content into a new document.
+3.Incorporate Annotations: After the template has been drawn, programmatically add the extracted hyperlink annotations to the corresponding positions in the new document. This will restore the interactive functionality of the hyperlinks.
+Please refer to the sample project: HTML-to-PDF-Hyperlink +
+ ## ERROR:The specified module could not be found in windows server 2012 R2 @@ -1381,7 +1407,7 @@ This issue may occur due to one of the following reasons:
Solution -To resolve the issue and ensure successful HTML to PDF conversion in Azure App Service (Linux), follow these steps: +To resolve the issue and ensure successful HTML to PDF conversion in Azure App Service (Linux), follow these steps:
1: Grant File Access Permissions
From 4d0432f1eb356fdaf159401f882486d342e94df4 Mon Sep 17 00:00:00 2001 From: sameerkhan001 Date: Mon, 13 Oct 2025 11:08:22 +0530 Subject: [PATCH 2/4] 986214-ug: Added hyperlink clickable issue in the html to pdf trouble shooting section --- .../HTML-To-PDF/NET/troubleshooting.md | 30 +++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md b/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md index da168c46b..2d54c86ab 100644 --- a/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md +++ b/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md @@ -628,7 +628,6 @@ blinkConverterSettings.CommandLineArguments.Add("--disable-setuid-sandbox"); - ## Converting the HTML to PDF fails in x32 bit windows system environment @@ -652,6 +651,33 @@ blinkConverterSettings.CommandLineArguments.Add("--disable-setuid-sandbox");
+## Hyperlinks appearances do not navigate to their referenced URLs when using `CreateTemplate` and `DrawPdfTemplate` methods + + + + + + + + + + + + + + +
Issue +Hyperlinks appearances do not navigate to their referenced URLs when using `CreateTemplate` and `DrawPdfTemplate` methods +
Reason +The CreateTemplate and DrawPdfTemplate methods generally do not import annotation details, including hyperlink information, from the original PDF document. This means that while the visual appearance of a hyperlink (blue, underlined text) might be preserved, the underlying functionality of navigating to the URL is not transferred. +
Solution +A workaround involves manually extracting and re-applying hyperlink annotations. This can be achieved by following these steps:
+1.Extract Annotations: Before creating and drawing the PDF template, extract all annotations, specifically hyperlink annotations, from the original PDF document.
+2.Draw PDF Template: Use the CreateTemplate and DrawPdfTemplate methods to draw the PDF content into a new document.
+3.Incorporate Annotations: After the template has been drawn, programmatically add the extracted hyperlink annotations to the corresponding positions in the new document. This will restore the interactive functionality of the hyperlinks.
+Please refer to the sample project: HTML-to-PDF-Hyperlink +
+ ## ERROR:The specified module could not be found in windows server 2012 R2 @@ -1381,7 +1407,7 @@ This issue may occur due to one of the following reasons:
Solution -To resolve the issue and ensure successful HTML to PDF conversion in Azure App Service (Linux), follow these steps: +To resolve the issue and ensure successful HTML to PDF conversion in Azure App Service (Linux), follow these steps:
1: Grant File Access Permissions
From ae75100c39baa9c8776ec6d9a2410c75be1375ca Mon Sep 17 00:00:00 2001 From: sameerkhan001 Date: Tue, 21 Oct 2025 11:27:38 +0530 Subject: [PATCH 3/4] 986214-ug: Added sample link --- .../PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md b/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md index 2d54c86ab..570ab7f07 100644 --- a/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md +++ b/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md @@ -673,7 +673,7 @@ blinkConverterSettings.CommandLineArguments.Add("--disable-setuid-sandbox"); 1.Extract Annotations: Before creating and drawing the PDF template, extract all annotations, specifically hyperlink annotations, from the original PDF document.
2.Draw PDF Template: Use the CreateTemplate and DrawPdfTemplate methods to draw the PDF content into a new document.
3.Incorporate Annotations: After the template has been drawn, programmatically add the extracted hyperlink annotations to the corresponding positions in the new document. This will restore the interactive functionality of the hyperlinks.
-Please refer to the sample project: HTML-to-PDF-Hyperlink +Please refer to the sample project: HTML-to-PDF-Hyperlink From 8be6f719c9b9f33fb5295604036f0ce1e05c3c43 Mon Sep 17 00:00:00 2001 From: sameerkhan001 Date: Tue, 21 Oct 2025 11:28:48 +0530 Subject: [PATCH 4/4] 986214-ug: Remove unwanted line. --- .../PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md b/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md index 570ab7f07..846f3a2f3 100644 --- a/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md +++ b/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md @@ -678,7 +678,6 @@ Please refer to the sample project: