We would like this ability to match a node to a page, as we are building a thumbnail-based navigation feature for a new release of of our document localisation package.
A little background first - basically, we read all the paragraphs in a Word document into an ArrayList using Aspose.Words, and present the paragraphs sequentially in a specially numbered, scrollable, “string view.” At the same time, I’m using the Aspose.Words rendering engine to generate individual thumbnails of each page in the Word doc, which we present to the user in our software’s UI.
What we want to do is allow a user to click on a thumbnail, and our string viewer will automatically scroll up or down to the first paragraph for the page being previewed in the selected thumbnail.
I have implemented this for Powerpoint documents, as Powerpoint does have the notion of a page (slide) and it is trivial to reconcile a paragraph with a particular slide. But, as you mentioned, Word does not really associate paragraphs with pages, so it’s difficult for us to implement this feature for Word. Ideally there would be some Paragraph property in the Aspose.Words namespace which gives the number of the page containing the current paragraph, but maybe there is an alternative to this.