cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
cisco_bakro
Level I

Export to ppt | How to specify which master/template slide to use and where to position the picture

when exporting to ppt, how to specify which master/template slide of the template to use and where to position the picture of a graph?

The default template is located at: "C:\Program Files\JMP\JMP\18\pptx\JMPExportTemplate.pptx".
If i only export a graph builder, i think the "Title and Content" layout is used, how can I specify it to be something else?

I am looking for a built in solution that this workaround https://p3icli.sourceforge.io/jsl_example.html achieves.

1 REPLY 1

Re: Export to ppt | How to specify which master/template slide to use and where to position the picture

Hi @cisco_bakro ,

 

You can point the location of the template with JSL by doing as below:

gb = [copy and paste your Graph builder script]

gb<<Save Presentation(
//Write file name for powerpoint
	"$TEMP/jmp_example.pptx",
//Write directory for the powerpoint template
Template(C:/user/desktop/jmp_template.pptx);
);
Open( "$TEMP/jmp_example.pptx" );

If your template is saved to 'Content' or 'Title and Content' then it will be applied with that formatting - you can see more discussion on this post here.

 

The other option is just to access the JMPExportTemplate you are referring to and changing the layout of the first slide to 'Content' and saving it (make sure to save a backup). 

 

For centering the images it can be a bit more difficult, I would recommend reading this post here to see what other community members have come up with.

 

Thanks,

Ben

“All models are wrong, but some are useful”

Recommended Articles