W:LastRenderedPageBreak tag missing when document.xml extracted through Office.js. please let me know is there a way to get this tag through Office.js.
Thank you in advance!
W:LastRenderedPageBreak tag missing when document.xml extracted through Office.js. please let me know is there a way to get this tag through Office.js.
Thank you in advance!
This tag is "ephemeral". Word may or may not create it in the Word Open XML when the document is closed - one cannot rely on it being present in the closed file.
When the document is opened in Word again, there's no need for the tag as Word will immediately recalculate line and page breaks. It does this dynamically the entire time a document is opened for editing.
So it's not possible to get this tag in a document opened in Word.