I'm creating docx file by using DocumentFormat OpenXML API, appending texts, tables, images, etc... at some point I'd like to know how much "space" (rows, pixels, whatever) I have before I reach the end of the page.
Is it possible to get this information? The page size, formatting, margins, etc, are all there - everything that's needed to calculate this is in the document.
I do understand that the document itself doesn't deal with formatting, how many pages are there etc, but if not from the OpenXML API, is there some other way to find this out? Maybe some dummy formatter that reads this docx and can be used to find out the 'formatting' data - where is currently the last character positioned on a page, etc... is there such a thing?