Comments (7)
This would be a great feature, I'll try and see if I can find any clues for how to implement it.
from officegen.
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.
was this finally implemented? I can't find anything in the docs or in the code :/
from officegen.
I'd like to see this feature, please.
from officegen.
+1 for this feature
from officegen.
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.
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)
- how to set header and footer inside docx using officegen HOT 1
- How to make a particular page Orientation to A3 / Landscape ? HOT 2
- How to add Sections in word file with Officegen ? and how to set font size and to make it bold for entire column in a table
- How to set the first line indentation for a paragraph in word?
- Can i remove Header and Footer from First page ( Title Page ) and some more queries
- Why does the table fill color not work?
- Cannot generate word file in render process for one Electron app
- How to add repeat header in table docx
- How to insert image into tableceil in docx
- how to open a word document ?
- Is addImage with svg supported for pptx file?
- How to assign color property to newline in table cell in word document ?
- 如何将word转换html,html里面的style css可以转换?
- Embedded File is still being accessed by createReadStream asynchronously even after deletion in officegen for Word Document
- Make the generated document read-only of password protected?
- Can I set a password to access Word
- How to add Number Bullet lists and Sub Number Bullet list
- How can i set auto-warp attribute to a column or cell in Excel file?
- Suggestion:Footer supports inserting tables
- May I ask if it is possible to add a background color to the Word document
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from officegen.