The Church Media Community
Equipping You to Communicate Effectively
support CMN & share a
library of 19K+ images, videos, etc
Go Pro!
 
Go Back   The Church Media Community > Presentation Software > PowerPoint
Forgot Password?
                          Register

PowerPoint Questions, tips and technical info how to use PowerPoint in ministry.

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old Thursday, April 3rd, 2008, 10:15 AM
waynehoskins's Avatar
The Crazy Analog Guy
Become a CMN Professional Member!

 
 Join Date: May 2006 
 Last Online: Today 
Parsing A Powerpoint File

So I have an odd project on the side burner .. I'd like to parse a Powerpoint file (the old kind, I think) and rip out the text (to insert into database system).

It looks moderately easy, looking at a hexdump of a couple of old old files I had knocking around. The text is plain old ASCII, and I think I can figure out how to pull it out.

But does anyone have a file definition or data manual for one of the PPT files? There are a bunch of control characters in there that I think may be useful for something. Anybody worked with these on the low level before?
Reply With Quote Start a New Topic From This Comment
  #2 (permalink)  
Old Thursday, April 3rd, 2008, 10:20 AM
osborn4's Avatar
will design for bandwidth
Become a CMN Professional Member!

 
 Join Date: Aug 2004 
 Last Online: Today 
You could save as HTML, making it text with a bunch of tags around it.

If the text is in normal PPT fields, you can go to the outline view, Cntl-A to select all and Cntl-C to copy.

Then open up notepad and paste it in there.

Of course, neither of these work well if you have many PPTs you want to read.
__________________
Joel Osborn
Milton SDB Church

"...if we are to glorify God fully, we must engage our mind in knowing him truly and our hearts in loving him duly." - John Piper, Think
Reply With Quote Start a New Topic From This Comment
  #3 (permalink)  
Old Thursday, April 3rd, 2008, 10:23 AM
Gene's Avatar
Ne'er-do-well

 
 Join Date: Jul 2005 
 Last Online: Yesterday 
No experience with it, but you could take a look at OpenOffice or some other open-source MS Office work-alike, and see how they parse PPT files.
Reply With Quote Start a New Topic From This Comment
  #4 (permalink)  
Old Thursday, April 3rd, 2008, 10:34 AM
cjlowe's Avatar
My other car is a CMN

 
 Join Date: May 2007 
 Last Online: Sunday, March 1st, 2009 
Pretty sure you won't find the specs for PowerPoint's file format anywhere - not beyond what's been reverse-engineered for OpenOffice et. al., anyway.

Have you considered using something like VBscript to get PowerPoint to give you the text? (No idea what the project is you're working on!)
Reply With Quote Start a New Topic From This Comment
  #5 (permalink)  
Old Thursday, April 3rd, 2008, 11:01 AM
waynehoskins's Avatar
The Crazy Analog Guy
Become a CMN Professional Member!

 
 Join Date: May 2006 
 Last Online: Today 
The project is importing the text from Powerpoint files (potentially on a computer without Powerpoint) into Lyricue, running under Gutsy. More of an "ooh, I wonder if I can" thing.

Worked on a gig Monday (first of four Mondays in a row) where the band has their entire song library in a single Powerpoint file, and Powerpoint on every computer we had played stupid. So I built last night a machine to run Lyricue, and dumped over my database of songs. Most of the band's songs are Crowder songs, and I don't have most of them in my library already, but I do have a copy of their Powerpoint file. So I figure I can save myself some time and headache if I can write a little script that will parse a Powerpoint file and do a slug of insert()s...
Reply With Quote Start a New Topic From This Comment
  #6 (permalink)  
Old Thursday, April 3rd, 2008, 05:29 PM
Smob's Avatar
Video Production

 
 Join Date: Aug 2004 
 Last Online: Monday, November 30th, 2009 
 Blog Entries: 4
Quote:
Originally Posted by cjlowe View Post
Have you considered using something like VBscript to get PowerPoint to give you the text? (No idea what the project is you're working on!)
This is the best way to go. Each object in the PPT can be separated and either used or not. Some of those control characters are probably formatting directives. VBScript will get access if you need it.

Here is an example of VBScirpting
Reply With Quote Start a New Topic From This Comment
  #7 (permalink)  
Old Thursday, April 3rd, 2008, 05:36 PM
cjlowe's Avatar
My other car is a CMN

 
 Join Date: May 2007 
 Last Online: Sunday, March 1st, 2009 
Well, I was imagining more of an external script controlling PPT than a script within a PowerPoint file. But sure, that'd work too.

'Course, you can't run VBscript or PPT under Linux, so this is all moot. Maybe you could somehow get OOo to give you the text, using DCOP or something?
Reply With Quote Start a New Topic From This Comment
  #8 (permalink)  
Old Thursday, April 3rd, 2008, 05:46 PM
Smob's Avatar
Video Production

 
 Join Date: Aug 2004 
 Last Online: Monday, November 30th, 2009 
 Blog Entries: 4
oops, missed the Linux part.
Reply With Quote Start a New Topic From This Comment
Reply

  The Church Media Community > Presentation Software > PowerPoint

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:



Add to Google


Register Now for FREE!
Our records show you have not yet registered to our community. To sign up for your FREE account INSTANTLY fill out the form below!

Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Agree to forum rules 


All times are GMT -6. The time now is 07:17 AM.

   
 
© 1995-2008, ChurchMedia™, ChurchMedia LLC

SEO by vBSEO 3.1.0