Microsoft Power Point Visual Basic Editor Object Browser

  • Thread starter Thread starter Medha
  • Start date Start date
M

Medha

Hello,
I am working on a JAVA application. I am calling JNI APIs written in C+
+ through the code.
The application invokes Mircosoft power point. I need to copy the
NotesPage of a slide of a ppt and paste it to another ppt's slide's
NotesPage. I need to know how to do it in C++.
 
Hello,
I am working on a JAVA application. I am calling JNI APIs written in C+
+ through the code.
The application invokes Mircosoft power point. I need to copy the
NotesPage of a slide of a ppt and paste it to another ppt's slide's
NotesPage. I need to know how to do it in C++.

Each slide has a notes page that's effectively part of the slide itself. You
can't delete the notes page from a slide or add notes pages without slides. So
you can't copy a notes page from one slide to another.

But you could delete all the shapes on slide A then copy all the shapes from
slide B to slide A.

If that'd suit your needs and you need help with it, ask away (expect that most
answers will be in VBA though ... that'll give you the method; you'll need to
translate it to your language.)
 
Each slide has a notes page that's effectively part of the slide itself. You
can't delete the notes page from a slide or add notes pages without slides. So
you can't copy a notes page from one slide to another.

But you could delete all the shapes on slide A then copy all the shapes from
slide B to slide A.

If that'd suit your needs and you need help with it, ask away (expect that most
answers will be in VBA though ... that'll give you the method; you'll need to
translate it to your language.)

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

Hi,
Thanks for the information.
I tried copying all the shapes from source slide into destination
slide, but the notes page content is not copied.
Yes, the answers will be in VBA, i will translate it into C++.
Please suggest.
 
Hi,
Thanks for the information.
I tried copying all the shapes from source slide into destination
slide, but the notes page content is not copied.
Yes, the answers will be in VBA, i will translate it into C++.
Please suggest.

First suggestion: use a name but not a real email address when you post here. The
spammers LOVE to come fishing for email addresses; you don't want them to catch
you.

Now, since you already know how to copy shapes from one slide to another, you're
most of the way there.

Instead of copying each shape in the .Slide.Shapes collection, copy each shape in
.Slide.NotePage.Shapes

Other than that, the same code should work for each.
 
Back
Top