Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Fellow Monks,

I seek PowerPoint/Win32/Linux enlightenment (not the X WM...).
Help me, O Wise Ones!

This is a challenge with which I will have to deal in the next couple of months. I'd like to get some ideas and feedback before I get started so that I can plan it well.

Scenario:
Manipulation of MS PowerPoint files from a Linux server.

Environment:
RH Linux 6.1 connected to Internet via cable modem
Win95 routed to outside using ip_masquerading / the Linux box as a router


The Challenges:

1) Retrieve PowerPoint file from remote site.
- At this point, I am not sure if I will be able to use FTP or not. How do I retrieve a PPT file from a remote site? (I have permission to do so.)

2) Be able to manipulate all text in the PPT file.
- This is for a translation project, so I need to get the text and compare it to a dictionary file, etc. I can do this with plain text files, but does anyone know how to do this with PPT? I assume there must be some way to do it with Win32, perhaps by using the 'Save As HTML' feature and then parsing the HTML? A more direct way would be preferred, of course...

3) Allow remote user to be able to use the script
- I will also want a remote user to be able to call the script, have the script get the file, parse the contents, and display a custom lexicon/dictionary for that PPT file. I have no problem building displaying the custom lexicon. My problem is that the remote user can only see the Linux box, not the Win95 box, due to the ip_masquerading setup. So the script has to either A) run on the Linux box, or B) be called on the Win95 box from the Linux box and return results to the user somehow from there. Since I assume that the program will have to use Win32 to manipulate the PPT file, I assume that something like B) would be in order.

Thanks in advance for any help/input into any area of this challenge!

gM


In reply to PowerPoint, Linux/Win32 by GridMonk

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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others making s'mores by the fire in the courtyard of the Monastery: (9)
    As of 2014-08-28 07:18 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The best computer themed movie is:











      Results (257 votes), past polls