GetXDocument fails for VMLPart.
- This topic has 2 replies, 2 voices, and was last updated 10 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › PresentationML › GetXDocument fails for VMLPart.
Hi,
VML is strange – it looks like XML, but it is not.
There is, I recall, a way to ‘hack’ the VML so that it can be read by an XML parser, but I don’t recall the details.
Right now, I am fully engaged in completing a module that enables comparing two DOCX files and producing another file that contains tracked revisions, and contractually need to finish this ASAP, so can’t spend any time researching this. However, I do recall doing this at one point.
Question – why are you using a presentation that contains VML? It is deprecated. If you load the presentation in PowerPoint, and then specify the right option, then I believe that you can save the presentation in such a way that it replaces VML with DrawingML.
-Eric
Hi Eric,
Thanks for the response. Basically as I mentioned in my earlier posts, we are using PresentationBuilder to extract objects out of it. We load the document and extract these object. I just got an document for which I am able to open in PowerPoint but when I ran through the PresentationBuilder it fails for that vml object. It will be great if you can let me know how I can either convert the vml into drawingxml(programmatically) or by any how hack the vml thing.
Thanks,
Prince