I am trying to get the correct page number when searching through a document for text. I get the Page object that contains the text, but the page number is the number of pages from the start of the document, rather than the actual page number. The documents I am working on starts with page numbers 36, 130, 222, etc. So the 5th page that contains the text I am after is actually page 41.
Another solution would be to just look at the document properties and find the starting page number and count from there, but I cannot find that property in the object model either.