Skip to content
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

Auto Paging does not include master template on additional slides #61

Closed
tb23911 opened this issue Mar 20, 2017 · 1 comment
Closed
Assignees
Milestone

Comments

@tb23911
Copy link

tb23911 commented Mar 20, 2017

When using gObjPptxMasters and auto paging with tables the new slides do not have the objects defined in the inMasters array of the original slide.

To give further context, when creating a new slide as follows:

var slide = pptx.addNewSlide( pptx.masters.MASTER_SLIDE );
slide.addTable( arrRows, 
{ 
	slideMargin:  [ 1.2, 0.0, 1.18, 0.0 ], 
	x:0.5, 
	y:1.2, 
	colW:[5.0,0.55], 
	font_size:9, 
	margin:1, 
	border:{pt:'0.75', color:'E00000'}
	} 
);

If the number of rows exceed the available height and a new slide is created to hold the remaining rows the new slide does not include the objects defined in the MASTER_SLIDE.

@gitbrent gitbrent self-assigned this Mar 20, 2017
@gitbrent gitbrent added this to the 1.4.0 milestone Mar 24, 2017
gitbrent pushed a commit that referenced this issue Apr 1, 2017
@gitbrent
Copy link
Owner

gitbrent commented Apr 1, 2017

Hi @tb23911 ,

Thanks for reporting this issue!

Slide masters and inline options are now used in subsequent slides.

The output looks weird though due to Issue #64 (over-paging when using some options) which I will be fixing next.

@gitbrent gitbrent closed this as completed Apr 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants