Issue with DOCX to PDF Conversion - WTextBox Not Getting Converted Properly

We are experiencing an issue with converting DOCX files to PDF using Syncfusion. Specifically, the WTextBox elements in the DOCX are not being converted properly in the output PDF. The content inside the WTextBox is either misplaced or not rendered as expected.

Issue Details:

  • Problem: During DOCX to PDF conversion, WTextBox elements are not handled correctly. The contents inside the WTextBox do not appear in the output PDF or appear in an incorrect position. We have tried adjusting various properties but the issue persists.

  • Question: Is WTextBox fully supported during DOCX to PDF conversion in Syncfusion? If so, are there any specific configurations or workarounds to handle WTextBox properly during conversion?

Steps to Reproduce:

  1. Create a DOCX file containing a WTextBox.

  2. Convert the DOCX file to PDF using Syncfusion.

  3. Observe the issue with the WTextBox in the PDF output (misalignment or missing content).

Expected Outcome:

The WTextBox content should be rendered correctly and placed inline without any floating or layout issues in the output PDF.


7 Replies

SR Sindhu Ramesh Syncfusion Team April 30, 2025 11:54 AM UTC

Hi Mohammad,
We have tried to reproduce the reported issue “TextBox not preserved properly while converting DOCX to PDF” by using simple document containing text box, but it is working properly on our end. Kindly refer to the attached sample.

If you are still encountering an issue, kindly share the following things: This will help us to replicate the issue and provide solution at the earliest.
   1. Input document
   2. Output PDF
   3. Modify and share the sample as issue reproducible sample.
   4. Environment details (Operating system, if any cloud or docker means, share configuration and plan details)

Regards,
Sindhu Ramesh.



MT Mohammad Taha Yaseen May 13, 2025 05:32 AM UTC

@Sindhu Have attached the input file. Could you please verify and let me know


Attachment: UBS_Hedge_Fund_Solutions'_OpDD_Annual_Questionnaire_Axonic_Credit_Opps__SBL_Feb_2025__Answered2_(1)_e687736d.pdf


MT Mohammad Taha Yaseen May 13, 2025 05:34 AM UTC



SR Sindhu Ramesh Syncfusion Team May 14, 2025 02:22 PM UTC

Mohammad,
We have already logged the bug report titled 
"Table inside TextBox is not preserved properly while converting DOCX to PDF”. We will include the fix for this defect in our weekly NuGet release, which is estimated to be available on 20th May 2025.

The status of this bug can be tracked through the below link:
Table inside TextBox is not preserved properly while converting DOCX to PDF in ASP.NET Core | Feedback Portal

Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.



SR Sindhu Ramesh Syncfusion Team May 22, 2025 04:09 AM UTC

Mohammad,
We regret not including the fix for the issue "Table inside TextBox is not preserved properly while converting DOCX to PDF" as promised in the weekly release published on 20th May 2025. This fix will be included in the next weekly release which will be available on 27th May 2025 without further delay.

We apologize for any inconvenience this may have caused and appreciate your understanding.



SR Sindhu Ramesh Syncfusion Team May 28, 2025 05:10 AM UTC

Mohammad,
We regret not including the fix for the issue "Table inside TextBox is not preserved properly while converting DOCX to PDF" as promised in the weekly release published on 27th May 2025. We have identified some failures during testing. We will address these issues and include the fix in the next weekly release which will be available on 3rd June 2025 without further delay.

However, custom NuGet was prepared with our fix. Kindly refer to the attachment. We apologize for any inconvenience this may have caused and appreciate your understanding.


Attachment: syncfusion.docio.net.core.29.2.7_(2)_(1)_5693d74e.zip


SR Sindhu Ramesh Syncfusion Team June 3, 2025 06:59 AM UTC

Mohammad,
As promised earlier, we have included the fix for the reported issue with “Table inside TextBox is not preserved properly while converting DOCX to PDF” in our latest weekly NuGet release (v29.2.8).

Root cause of the issue:
TextBox with relative width not handled properly causing an issue

Please use the below link to download our latest weekly NuGet:
Syncfusion.DocIORenderer.Net.Core

The status of this bug can be tracked through the below link:
Table inside TextBox is not preserved properly while converting DOCX to PDF in ASP.NET Core | Feedback Portal

Note: We will include this fix in our 2025 Volume 2 main release, which will be available in the mid of June 2025.


Loader.
Up arrow icon