Hi,
I have many lastRenderedPageBreak elements in the document.xml but I am not seeing any lastRenderedPageBreak elements in OpenxmlElements when I load the document as a stream like below.
Range range = WordDoc.Content;
Stream packagestream = OpenXmlStream.GetPackageStreamFromRange((Microsoft.Office.Interop.Word.Range)range);
using(WordprocessingDocument openxml_wordpkg = WordprocessingDocument.Open(packagestream, true))
{
XElement OpenxmlElements = openxml_wordpkg.MainDocumentPart.GetXDocument().Root;
}
Please help its very urgent
Thank you in advance!
Manu
-
This topic was modified 8 years, 3 months ago by Manu_TR.