none
Need to find OLE links inside Spanish PowerPoint 2003 file RRS feed

  • Question

  • I have some code that looks for OLE links in .ppt files by doing the following:

    - Finds the DocumentSummaryInformation stream

    - Reads the heading pairs in the property set

    - Look for the "Links" heading and return the parts

    This works find for .ppt files created in English.  However I have a test file created in Spain with the heading titled "Vínculos"

    Is there a language-independent way to read the links from a .ppt file?

    Thanks,

    Stan

    Friday, January 27, 2012 5:00 PM

Answers

  • Hi Stan,

    Yes, there is a language-independent way to gather all the links in a PowerPoint document.  However, it is going to be a little more complex.  The details are already in the [MS-PPT] specification and this will require familiarizing yourself with the structure of the PowerPoint format.  Please refer to [MS-PPT] section 2.1.2 PowerPoint Document Stream.  This details how to construct the persist object directory and (eventually) find the linked OLE persist objects (see "Part 10").  Once you've located an ExOleObjStg, the storage it contains may be compressed but the algorithm for decompression is specified in 2.10.36 as RFC1951

    Best regards,
    Tom Jebo
    Escalation Engineer
    Microsoft Open Specifications

    Friday, January 27, 2012 9:54 PM
    Moderator

All replies

  • Hi Stan,

    Thank you for your question.  A colleague will contact you soon to work on this issue.

    Regards,
    Mark Miller
    Escalation Engineer
    US-CSS DSC PROTOCOL TEAM

    Friday, January 27, 2012 7:17 PM
  • Hi Stan,

    Yes, there is a language-independent way to gather all the links in a PowerPoint document.  However, it is going to be a little more complex.  The details are already in the [MS-PPT] specification and this will require familiarizing yourself with the structure of the PowerPoint format.  Please refer to [MS-PPT] section 2.1.2 PowerPoint Document Stream.  This details how to construct the persist object directory and (eventually) find the linked OLE persist objects (see "Part 10").  Once you've located an ExOleObjStg, the storage it contains may be compressed but the algorithm for decompression is specified in 2.10.36 as RFC1951

    Best regards,
    Tom Jebo
    Escalation Engineer
    Microsoft Open Specifications

    Friday, January 27, 2012 9:54 PM
    Moderator
  • Thanks I'll take a look.
    Friday, January 27, 2012 10:47 PM