Alignment of Tables in Aspose.Words

The template I am using is haveing a lot of merge fields. Some of them have text inputs which may span to more than the space provided to them. In that case te report gets misaligned. Is there a way to show only that much text in a field so that the report has all the tables aligned as were meant to. I am attaching the o/p ie the report for more clarity.

Hi
Thanks for your request. You can use MergeField event to check length of string that will be inserted (e.Value). See the following link for more information.
https://reference.aspose.com/words/net/aspose.words.mailmerging/ifieldmergingcallback/
Also you use spaces to format your document. Try to use floating text box. See the attachment.
Best regards.

Ok that works fine for the table de alignemnt but what about that seond problem. That thing were the values 3 and 4 as commented in the document. It still is the same. Why they are not coming under proper headings?

Hi
Have you tried to use the floating text boxes? Please, attach the template that you use.
Best regards.

This is the template that I am using. I am afraid i am not using floating text boxes? What is it?

Hi
I have modified your template. Try to use it. See the attachment.
Best regards.