Text is printed outside the Table cell in PDF.....

Hi Amit,
Thank you for your interest in Syncfusion
products.
We are unable to reproduce the mentioned issue
with table content in Doc to Pdf conversions with our latest version of
Essential studio 12.3.0.36. Could you please let us know currently which
version of Essential studio you are using? It will help us to analyse further
on the mentioned issue.
You can download our latest version Essential
studio from below link:
Please let us know if
you have any other questions.
Regards,
Sathish
Hi Amit,
We unable to reproduce
the mentioned issue with table contents in Doc to Pdf conversion even with
11.3.0.30 version also. We have prepared a sample to illustrate the same.
Kindly modify the attached sample to reproduce the issue and update us the
same. Thereby we will analyze further on the mentioned issue and provide you
appropriate solution.
Please let us know if
you have any other questions.
Regards,
Sathish
Attachment: Sample_c68da185.zip
Attachment: Sample_c68da185_72916b1f.zip
Hi Amit,
Thank you for your
update.
When we set
“Automatically resize to fit contents” property of the table in the Word
document to true, then the viewer (MS Word) will automatically resizes the
width of the table based on the contents while opening the document. MS Word
generated Pdf documents will contain the same width for the table when
“Automatically resize to fit contents” property is set to true.
By default value of
the “Automatically resize to fit contents” property is false. You can define this
property value to true in DocIO by using the below code snippet.
Code snippet:
table.TableFormat.IsAutoResized = true;
This will be reflected
in the Word document while opening the document in MS Word and it will not be
reflected in the generated Pdf document since currently DocIO doesn’t support
“Automatically resize to fit contents” property in Doc to Pdf conversion. We have already
logged this as a feature request in our database. We will implement this
feature in any of our upcoming releases. We usually have an interval of at
least three months between releases. The feature implementation would also
greatly depend on the factors such as product design, code compatibility and
complexity. We will update you when this feature has been implemented.
As a workaround kindly
define the desired width to the table in order to retain the expected format.
We have modified your sample according to the same. Please find the modified
sample from below link.
Modified sample link:
http://www.syncfusion.com/downloads/support/directtrac/general/Sample501008199.zip
Please let us know if
you have any other questions.
Regards,
Sathish
Hi Nishant,
Thank you for your interest in Syncfusion products.
Auto fit to contents for tables in Doc to Pdf conversion is not yet added in DocIO. We have already logged this as a feature request in our database. We will implement this feature in any of our upcoming releases. We usually have an interval of at least three months between releases. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity. We will update you when this feature has been implemented.
Please let us know if you have any other questions.
Regards,
Sathish
Thanks!!!
Thank you for your update.
Microsoft Word adjusts table/cell width automatically while rendering the table based on its content in Word documents. Whereas Essential DocIO renders the table/cell using the width defined in the Word documents, causes difference in table width preservation compared to the Microsoft Word. In order to render the table/cell similar to Microsoft Word, we need to implement auto fit table lay outing algorithm specifically to calculate the table/cell width and render table/cell based on the calculated width. This implementation requires in depth analysis of the Microsoft Word auto fit table lay outing algorithm and it greatly depend upon the factors like product design, code complexity and compatibility. Hence we cannot provide a concrete timeline for this feature implementation. We will update you once this feature is implemented.
Thanks,
Sathish
Hi Nishant,
As mentioned earlier, kindly define the desired width for the table cells in the input Word document in order to preserve the well formatted table in the generated Pdf document.
Thanks,
Sathish
Thank you for your update.
The Auto fit to content support of tables in Doc to Pdf conversion is not yet implemented. We have already explained the complexities associated with the development of Auto Fit to content support of tables in Doc to Pdf conversion and hence we can’t provide any concrete timeline for this feature implementation. We will let you once we have implemented this feature.
Thanks,
Sathish
- 12 Replies
- 3 Participants
-
AK Amit Kumar
- Nov 28, 2014 11:28 AM UTC
- Apr 7, 2015 05:22 AM UTC