SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict crabby80's Avatar
    Join Date
    May 2007
    Posts
    387
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to copy ppt slide backgrounds

    Hey guys

    I'm developing an application that creates ppt files on the fly by copying slides from chosen presentation(s) into their own custom presentation, so far so good

    This is the code that currently copies the slide from the source to the target

    PHP Code:
    $source->Slides((int)$slideNumber)->Copy;
    $target->Slides->Paste($counter);

    //Copy slide design
    $target->Slides((int)$counter)->Design $source->Slides((int)$slideNumber)->Design;

    //Need to copy slide background 
    Most of the time this seems to be working great, but the odd slide is not getting copied and I think I've narrowed it down the slide background not being copied.

    Could anybody advise on how to do this, or does anybody know a good reference guide?

    Any help would be much appreciated

    Thanks in advance

    Crabby

  2. #2
    SitePoint Addict crabby80's Avatar
    Join Date
    May 2007
    Posts
    387
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    COM object


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •