Powerpoint to LiveCode

Terry Judd terry.judd at unimelb.edu.au
Mon Mar 2 21:56:58 EST 2020


Hi Paul - I haven't done it although I have gone the other way, creating content/media with LiveCode and merging it (text, images, audio files) into a PPT template file (which is then converted to Keynote and exported as a video). Anyway, getting access to the screen content/media for each PPT screen is like you say relatively straightforward, not sure about parsing the slideX.xml files once you get it into an LC array though, like most MS generated files that structure looks very messy.

Terry...

On 3/3/20, 12:29 pm, "use-livecode on behalf of Paul Dupuis via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:

    Hi Rick,
    
    Powerpoint can export to HTML, and while I have not looked at Keynote's 
    HTML export, I think you would be just trading one problem at file 
    parsing for another. Tools like PowerPoint and Keynote export to HTML 
    with CSS, so you can't just:
    
    set the htmlText of field x to URL tPresentationFile
    
    You'd still have to parse the HTML/CSS into something LiveCode can 
    understand.
    
    Again, I know how to do this. My questions is: Has someone already done 
    it or even part of it?
    
    
    On 3/2/2020 7:39 PM, Rick Harrison via use-livecode wrote:
    > Hi Paul,
    >
    > If you had access to a Mac you could import
    > your Powerpoint presentation to Keynote, make
    > whatever changes you want and then Export it
    > as HTML. It’s really cool how it works.
    >
    > Keynote can also Export to Powerpoint too, as
    > well as PDFs.
    >
    > Then import into LiveCode?
    >
    > Just my 2 cents.
    >
    > Rick
    >
    >> On Mar 2, 2020, at 4:04 PM, Paul Dupuis via use-livecode <use-livecode at lists.runrev.com> wrote:
    >>
    >> Out of curiosity, has anyone created a library that will import  - the parts of a Powerpoint presentation that can be recreated in Livecode -  into a LiveCode stack?
    >>
    >> Of course .pptx files are actuall just ZIP archives with assorted XML files inside, while there is a path to importing .pptx files, it is not simple. Use revZIP to open the .pptx file, use revXML (or your howm grown xml parser) to extract the XML for each slide (each a separate file in the archive) and rectreate those slide elements support in LiveCode.
    >>
    >> So, I know HOW to do it.
    >>
    >> I am asking if any one has already built such a library (or even started it)?
    >>
    >> _______________________________________________
    >> use-livecode mailing list
    >> use-livecode at lists.runrev.com
    >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
    >> http://lists.runrev.com/mailman/listinfo/use-livecode
    >
    > _______________________________________________
    > use-livecode mailing list
    > use-livecode at lists.runrev.com
    > Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
    > http://lists.runrev.com/mailman/listinfo/use-livecode
    
    
    _______________________________________________
    use-livecode mailing list
    use-livecode at lists.runrev.com
    Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
    http://lists.runrev.com/mailman/listinfo/use-livecode
    
    



More information about the use-livecode mailing list