Git Product home page Git Product logo

pptxport's Introduction

PPTXport

A PowerPoint Macro to export the content of a PPTX or PPTM for use with the PptxGenJS scipting library.

This is a very early first attempt but will continue to evolve - it's currently very rough, and will be optimized for specific use-cases that I need, but I would be more than happy to accept contributions to help make it more complete.

To use, create a new blank PPTX, import the module and run it. It will ask you to select the source file and then will process the elements and write out a new file called ppt.html - if you open that in a browser (via a webserver that also points to the images directory) it will run the PptxGenJS scripts to create the powerpoint PPTX file.

If you have images in the PPTX or PPTM please create an images directory before running the script.

Note: Currently on runs on Windows as it uses the Scripting.Dictionary object

pptxport's People

Contributors

offbeatmammal avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

tabato

pptxport's Issues

points to inches not accurate enough

somewhere between defining a shape in the original PPT, running it though the converter, and recreating the slide in PptxGenJs we're losing fidelity so pixel correct accuracy is lost - see specific example here (correctly closed in PptGenJs as I suspect the issue lies with Powerpoint UI working in inches and VBA in points)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.