Giter VIP home page Giter VIP logo

Comments (7)

amorri40 avatar amorri40 commented on July 20, 2024

This would be a great feature, I'll try and see if I can find any clues for how to implement it.

from officegen.

Ziv-Barber avatar Ziv-Barber commented on July 20, 2024

I'll check that. It should be simple to implement.

On Mon, Jan 12, 2015 at 4:48 PM, Alasdair Morrison <[email protected]

wrote:

This would be a great feature, I'll try and see if I can find any clues
for how to implement it.


Reply to this email directly or view it on GitHub
#29 (comment).

from officegen.

joadr avatar joadr commented on July 20, 2024

was this finally implemented? I can't find anything in the docs or in the code :/

from officegen.

zignd avatar zignd commented on July 20, 2024

I'd like to see this feature, please.

from officegen.

legraphista avatar legraphista commented on July 20, 2024

+1 for this feature

from officegen.

legraphista avatar legraphista commented on July 20, 2024

Never mind, it's here:
https://github.com/Ziv-Barber/officegen/blob/master/lib/pptxplg-widescreen.js#L47-L83
https://github.com/Ziv-Barber/officegen/blob/master/lib/pptxplg-widescreen.js#L85-L88

So you just have to call:
pptxDoc.setSlideSize(x, y); if you want specific sizes.

from officegen.

mvgalle avatar mvgalle commented on July 20, 2024

thanks @legraphista . The following worked great for me and I was able to set the pptx to widescreen:

var pptx = officegen('pptx');
pptx.setSlideSize(1920, 1080);

from officegen.

Related Issues (20)

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.