www.webdeveloper.com
Results 1 to 4 of 4

Thread: Powerpoint File construction

  1. #1
    Join Date
    Nov 2010
    Posts
    14

    Powerpoint File construction

    In order to reduce tedious work, I wanted to try and find out if it is possible to construct a powerpoint file from code versus the powerpoint design tools. I noticed that you can export powerpoint to xml. Is it possible to go from html/php textareas to xml to having a fully interactive powerpoint page?

    Anyone have any ideas?

  2. #2
    Join Date
    Dec 2005
    Posts
    2,984
    Really? Never knew you could go from ppt(x) to XML. Th key is will the XML reopen in PowerPoint without any loss of data? If yes, then allyou have to do is look at the source of the XML file and build a file that has the same code. It's not quite as easy as it sounds. I exported an xlsx file as XML and then used php to rebuild an XML-based spreadsheet so my clients can download things like transaction records and conference attendee lists which works beautifully, but it's very tedious because te tiniest errors totally disabled the ability for office programs to open these files, and debugging the ambiguous errors you do get is very difficult as well. Definitely doable though
    I've switched careers...
    I'm NO LONGER a scientist,
    but now a web developer...
    awesome.

  3. #3
    Join Date
    Nov 2010
    Posts
    14
    I'm interested, I only know some php, but i have a handle on it's basics. I know xlsx can be exporter to an xml, but i wasn't sure how to recognize cells and coordinate them. How did you do that? I would be very interested in the basics. I'm interested in finding a way to import an xml file (of an xlsx), and have php read it, then email me specific data from certain rows of cells. is that something you accomplished?

  4. #4
    Join Date
    Dec 2005
    Posts
    2,984
    I've accomplished it sure, but only in a very file-specific way. In other words, I have only read files that I already know the structure of. Check out phpclasses.org (.com? .net?) there's some good resources there and you might find something that can help you out.
    I've switched careers...
    I'm NO LONGER a scientist,
    but now a web developer...
    awesome.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles