Comments (5)
I worked around this by adding the image to each slide as I created it. But it seems like there should be a way to pass parameters to the master slide for not just backgrounds but any of the options that you may use in a master.
from pptxgenjs.
Give the newest check-in a try and let me know what you think.
I even created a new text case for both background color and image on the demo page.
from pptxgenjs.
I just saw this. I'll have to reorganize my code a bit to try it. I'll give it a shot.
from pptxgenjs.
Any update for this implementation
from pptxgenjs.
Hi @prasademc,
No, this feature is not implemented.
Unless you need to change the colors a lot, then creating a few colored masters is super easy:
pptx.defineSlideMaster({ title: 'GREY_MASTER', bkgd: 'F1F1F1' });
pptx.defineSlideMaster({ title: 'RED_MASTER', bkgd: 'FF0000' });
pptx.defineSlideMaster({ title: 'BLUE_MASTER', bkgd: '0000FF' });
from pptxgenjs.
Related Issues (20)
- Getting following error while initializing pptxgen on NodeJs HOT 1
- Extra table cells generated when using `colspan` > 1 in Node.js
- [BUG|FEATURE] RTL direction for tables
- Inner shadow property breaks pptx file
- [BUG] Inside a table cell, a text mixed with subscript/superscript renders on multiple lines instead of one HOT 1
- Is it possible to set different layout width for slides
- PPTs failing accessibility test: Missing Slide Title
- PPTs failing accessibility test: Missing Table Header
- [FEATURE] Additional shape parameters
- Text is duplicating for the "Jost Light" font style while creating PPT using PptxGenJs library HOT 3
- BUG - Graphs are not shown in Mac Keynote HOT 1
- Error: blob is not supported by this platform
- FormatCode not working in MSOffice and Google Slides
- Feature Request: support text "caps type"
- Direct HTML code cannot render to ppt it shows html tag also like head,bold tag etc HOT 1
- [FEATURE]How to use PptxGenJS to import an existing PPT file and save all the slides as pictures? HOT 2
- [BUG] pptxgenjs cannot be used in the Qiankun sub-application
- How to add shape fill with a image
- BUG - Adding border option TOP border doesn't display for specified row HOT 1
- [BUG| Auto-paging in slide.addTable is not respecting in newly added slide HOT 1
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 pptxgenjs.