missing lastRenderedPageBreak

Home Forums WordprocessingML missing lastRenderedPageBreak

This topic contains 0 replies, has 1 voice, and was last updated by  Manu_TR 8 years, 3 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3832

    Manu_TR
    Participant

    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.
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.