Generating Powerpoint or Keynote from XML (or via a Ruby gem?) -
i'm looking nice way generate either keynote file xml
or powerpoint file can import keynote. basically, i'm looking simple human-writable markup format (for easy scripting) can exported slides.
i volunteer local nonprofit, remotely technical falls me. on regular basis, i'm sent information events , produce nice looking printed program in word, though of same material goes slides in keynote. (keynote used rather powerpoint keynote remote can used.)
anyway, there's large volume of text work i'm sent via email, , has go in both keynote presentation , word document, , requires sorts of odd manual formatting not break pages or slides @ odd times, requiring deal of manual restyling, since i'm not going allow come out looking sloppy 1990s.
my hope write ruby script can feed source text to, , it'll go processing me, @ least powerpoint or keynote. i've had fantastic luck finding gem format or service i've wanted work with, haven't found works powerpoint or keynote.
my next thought have ruby code generate appropriate xml
since both office , work allegedly open office xml
format, couldn't find actual friendly documentation human-writable xml
code.
is wishful thinking want able following?
<slide format="title & bullets"> <slide_title> lorem ipsum </slide_title> <paragraph> [etc.]
all can find far converter scripts related charts , tables , such of 0 use here), revolves around opening or converting powerpoint or keynote rather creating, , furthermore seems windows using ole or vbscript. needs run on macs have there, no visual studio stuff, windows related scripting, etc work. don't have in ruby, that's i'd comfortable on mac end of things.
so there documentation out there on marginally friendly xml
format powerpoint or keynote, or better, ruby gem either?
if need title + bullet point slides, need create ascii text file. each line of text become title of new slide. if first character in line of text tab, line become first level bullet point on same slide previous title. if 2 tabs, indents text second level bullet point , on.
this becomes title on slide 1 becomes title on slide 2 <tab>this bullet point, first level <tab><tab>and bullet point, second level <tab>back first level bullet point , new slide
once have text file, can file open in ppt , force files of type files . , select .txt file. or can use insert slide file bring .txt file existing presentation.
there's limit number of slides can create @ 1 go this; 100 perhaps?
note vba disappeared in mac ofice 2008 in mac office 2011, if can find examples of vb/vba code want, can use them on mac, long doesn't have happen in office 2008.
Comments
Post a Comment