Help for this page

Select Code to Download


  1. or download this
    ###########################################################
    #
    ...
    
        return ($PptApp, $Presentation);
    }
    
  2. or download this
    $Slide = $Presentation-> Slides->Add({Index => $position, Layout => pp
    +LayoutBlank});
    $Slide->{Name} = "test";
    ...
    $graph = $graph_shape->OLEFormat->{Object}; # ms graph chart object
    
    # i can now work with $graph
    
  3. or download this
        $datasheet = $graph->Application->{DataSheet};
        $datasheet->Cells->ClearContents();
    ...
        # after the settings of the datasheet's cells, free graph and data
    +sheet
        undef $datasheet;
        undef $graph;
    
  4. or download this
       # $Presentaion is the powerpoint presentation object
       $Presentation->SaveAs("c:/test.ppt");