We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Whether text wrap occured -- a problems from a beginner

In our application, we need to find out whether text wrap occured in a cell. If text wrap occured, we’ll merge right cells to avoid it. So, the problem is how can i find out whether text wrap occured in a cell? I have a bee in my head several days for following solutions:

1. Can i get the actual number of text lines in a cell (considering maybe text wrap occured) ?

2. Or can i get the line number of a form field (means get its’ actual position of document) ?


thanks for any suggestion!


davidw

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Unfortunately there is no way to determine whether text is wrapped inside table cell. Aspose.Words document represents content and formatting of a document, not its layout into lines and pages. This feature is called pagination and it is not released yet. Please see FAQ for more information.

Best regards.