As you can see from the XML, the "%." and "." are in separated segments link the following although they have the same text formatting with other parts of the text.:
%.
That makes the text wrapping seem odd. We need the cooperation of the Aspose.Words team to resolve this problem. I have reported this issue to the Aspose.Words team before. I will contact them again to see when this can be supported.
I have updated the code to make it works better. Please try the attachment. There is still problem for the text with different formatting. For example, the "£10.00" in your document. As a workaround, please use same text formatting for such text, e.g., "£10.00" (without bold for the £).
I don’t know if this is relevant, but does page size/formatting have any bearing on the line wrapping problem?
I haven’t had a chance to test it or discover all the methods/properties of Aspose.WORD, but it seems that most of the world uses A4 sized paper, while US uses Letter sized.
Being that I am developing an application for a US based company, could some of the word wrap issues be related to this page size?
The latest fix has rectified the problem on our last problem document, thank you.
However there appears to be an udesirable side effect, in that our main body font has been changed from Arial to Times New Roman. Which is odd as the XML states 'Arial' throughout...
I attach the relevant documents, which are the xml & pdf produced from the previously posted document with PDF 3.0.2.4.