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

Free Support Forum - aspose.com

Layout Enumerator does not accurately reflect text direction

The layout enumerator fails to to get an accurate layout rectangle for nodes inside tables with Text Alignment (Orientation) Upward/Downward.

I’ve confirmed this with the latest version of your example app found here:

Specifically, the example: Rendering-Printing - EnumerateLayoutElements

Using the attached Word document produces the attached image as the output. As you can see, the layout rectangles assume the content has not been rotated. I need the coordinates for the rotated content.

Can you please help?

TestFile.EnumerateLayout.zip (71.5 KB)

@jabell

Thanks for your inquiry. You are facing the expected behavior of Aspose.Words’ layout API. However, for your case, we have logged a feature request as WORDSNET-18044 in our issue tracking system. You will be notified via this forum thread once this feature is available. We apologize for your inconvenience.

@jabell

Thanks for your patience. In your case, the content are rotated in the document. The rotated coordinates are computed at time of rendering and thus unavailable to layout. Hence these are not reported correctly.

We regret to share with you that the implementation of this feature has been postponed (no estimate is available at the moment). We will inform you via this thread as soon as this issue is resolved. We apologize for your inconvenience.