Our Goal is to convert a word document to some other format. We do this by the help of wordOpenXml property in the interop and openxml sdk. everything is working well so far but we have observed that some of the page breaks have been missed out in the wordOpenXml property output. for example : when the first paragraph is empty.
Can we mark the end of page or last character of a page with a bookmark or something, so that when we read that element from wordOpenXml we can consider it as a page break? if yes, how can we do it using macro.
|