Xvfb - yes, normally a good idea, but it was included in the "etc."

Since posting, I've played with a PPT file in HexEdit and been able to do a simple replacement of a piece of text in a slide successfully. No errors uopn re-opening the file in PPT. Next two steps is

1) Write a Perl script that makes the same change as I did manually in HexEdit

2) Install the PPT Charting utility (gotta find my Office CD, I know it's aroud here somewhere...) os I can re-try these steps with a chart.

Thanks for "binmode". I did some reading and am not clear on editing files in binmode. I expect I'll be using simple regex's =~ s/$placeholder/$new_value, but will placeholder be the ascii string I'm lookig for (ex: **punchard_dons_placeholder**), or the hex code, or the binary code of that string?

If I can get this working, I'll post the salient features for reference.


In reply to Re: Editing Binary PowerPoint files by punchcard_don
in thread 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.