Quantcast
Channel: Open XML Format SDK forum
Viewing all articles
Browse latest Browse all 1288

lastRenderedPageBreak and columns problem

$
0
0

I need to be able to identify specific pages in a Word doc by parsing the document.xml. I thought I could use the lastRenderedPageBreak to find the end of a page, and this seems to work in a single column layout. However, if I change the doc layout to two column layout, the lastRenderedPageBreak appears twice in a single page. This is further complicated by adding a Textbox to the Word doc - if the text box overlaps the column border then lastRenderedPageBreak will only appear once for that two column page. Therefore, it would seem that lastRenderedPageBreak is not suitable for identifying pages in document.xml.

Can anyone advise on a better way to identify specific pages in document.xml? I am using Word 2007.

Thanks.


Viewing all articles
Browse latest Browse all 1288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>