PowerPoint template design

A

Aurora I

Hello,
Is there a way to retrieve the a custom template design used in a
presentation in order to use it in other presentation, programaticly?

Aurora I.

www.smarttech.com
 
S

Steve Rindsberg

Hello,
Is there a way to retrieve the a custom template design used in a
presentation in order to use it in other presentation, programaticly?

Several ways.

Supposing you have Presentation A whose template you want to use again, you can
delete the slides in a copy of the presentation and save it as a POT, then use
the POT (template) however you like.

Or you can apply a new design to your other presentation, using Presentation A
as the template.
 
A

Aurora I

Steve Rindsberg said:
Several ways.

Supposing you have Presentation A whose template you want to use again,
you can
delete the slides in a copy of the presentation and save it as a POT, then
use
the POT (template) however you like.

Or you can apply a new design to your other presentation, using
Presentation A
as the template.


--
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================

How do I solve the problem if I have two or three templates in the
presentation ?
A template might have sometimes a different design for the first slide (as a
introduction to the subject of presentation).
Such of template can be applied many times during presentation (when topics
change).

Could I have a solution for these generic cases?

Thanks,
Aurora I.

www.smarttech.com
 
S

Steve Rindsberg

How do I solve the problem if I have two or three templates in the
presentation ?

You can't have more than one template, so that problem doesn't exist.

You can, however, have more than one slide master in a presentation.
That's what you mean here, I think:
A template might have sometimes a different design for the first slide (as a
introduction to the subject of presentation).
Such of template can be applied many times during presentation (when topics
change).

Could I have a solution for these generic cases?

I'm not sure this problem can be solved in a generic way. Consider:

You have Presentation A whose template (and 5 slide masters) you want to use.

You have Presentation B that you want to apply the template TO.
B has 20 slides. How do you decide which of the five masters in A to apply to
each of the 20 slides?

But you can "import" the slide masters from one presentation to another
something like this:

Sub ImportDesigns

Dim SourcePres as Presentation
Dim TargetPres as Presentation
Dim x as Long

Set TargetPres = ActivePresentation
Set SourcePres = Presentations.Open("path_to_target.ppt")

For x = 1 to SourcePres.Designs.Count

TargetPres.Designs.Clone SourcePres.Designs(x), TargetPres.Designs.Count + 1

Next

End Sub
 
A

Aurora I

Steve Rindsberg said:
You can't have more than one template, so that problem doesn't exist.

You can, however, have more than one slide master in a presentation.
That's what you mean here, I think:


I'm not sure this problem can be solved in a generic way. Consider:

You have Presentation A whose template (and 5 slide masters) you want to
use.

You have Presentation B that you want to apply the template TO.
B has 20 slides. How do you decide which of the five masters in A to
apply to
each of the 20 slides?

But you can "import" the slide masters from one presentation to another
something like this:

Sub ImportDesigns

Dim SourcePres as Presentation
Dim TargetPres as Presentation
Dim x as Long

Set TargetPres = ActivePresentation
Set SourcePres = Presentations.Open("path_to_target.ppt")

For x = 1 to SourcePres.Designs.Count

TargetPres.Designs.Clone SourcePres.Designs(x), TargetPres.Designs.Count
+ 1

Next

End Sub

--
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================

Thank you. Now a new question: Could I know which template ia applied to
each slide ?
Thanks in advance!
Aurora
 
S

Steve Rindsberg

Thank you. Now a new question: Could I know which template ia applied to
each slide ?
Thanks in advance!

There's only one template in a presentation, so the question doesn't make
sense.

Care to reword it?
 
A

Aurora I

Steve Rindsberg said:
There's only one template in a presentation, so the question doesn't make
sense.

Care to reword it?


--
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================



ok :)
1. So in case we have one template the question does not make sense! But if
the template has the first slide different of the next ones , the question
does make sense. See "Crayons" design template. Create 3 slides, selelect
them all and make "duplicate". We got slide 1 and 4 the same different of
the others.
2. In case we have many templates, any template can be applied to any
selected slide.

I need to convert the ppt file to xml file. I need to retrieve all templates
and to know which one is applied to each slide.
I was able to retrieve the template from each slide, one by one, because I
was not able to know if I had the same template design in the previous
slides.


Thank you.
Aurora I. www.smarttech.com
 
S

Steve Rindsberg

ok :)
1. So in case we have one template the question does not make sense! But if
the template has the first slide different of the next ones , the question
does make sense. See "Crayons" design template. Create 3 slides, selelect
them all and make "duplicate". We got slide 1 and 4 the same different of
the others.
2. In case we have many templates, any template can be applied to any
selected slide.

The terms you're using don't match the terms PowerPoint uses.

A PowerPoint presentation can have one and only one template. Not zero, not
two. One.

The presentation may have more than one "Design"
Each Design has at least a Slide Master and may also have a Title Master.

There are also AutoLayouts (the things you choose when you create a new slide
and it asks whether you want a Title, Blank, Blank with Title, Bulleted Text
etc.)

Let's figure out what you need first.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top