-
Notifications
You must be signed in to change notification settings - Fork 666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow select override of Master Slide background color/image #7
Comments
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. |
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. |
I just saw this. I'll have to reorganize my code a bit to try it. I'll give it a shot. |
Any update for this implementation |
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' }); |
I'd like to set the background color based on a value that is passed from my application. But it doesn't seem possible to pass it through the call to the master slide. Do you have any option for that? I'll need to do the same thing for background images.
The text was updated successfully, but these errors were encountered: