Miraculous Monks,

A great deal of hunting around for a solution to my dynamically-generated PowerPoint file project has lead to frustration.

Yes, technically, it can be done throug Automation of MS Office, BUT in this case it has to be done on a remote server, and few ISP's want to install MS Office, or they charge an arm and a leg for it. Then there's MS' own dire warnings about Office components not being intended for servers and therfore being unstable.

Yes, technically, it can be done using OpenOffice's PPT-clone which has both XML-support and a PPT export filter. BUT, OO can only be installed/run with X-server (or at least vncxserver, etc.) also installed, and, same thing - noone wants to do that to their production servers.

Besides, both solutions would be bloated by the install of these huge programs, and probably terribly slow, what with start-up latency and all.

All I want to do is change a dozen numbers in a chart in a PPT slide presentation file. The file already exists as a template.

Soooooooooooooooo - I'm down to the unenviable solution of directly editing the binary ppt file. My question to my fellow Monks is - can it be done in Perl? (and if so, how would be appreciated)

Thanks.

janitored by ybiC: Shortened display of loooong URL for benefit of monks using smallish browser windows.


In reply to Editing Binary PowerPoint files by punchcard_don

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.