Here is some old code snippets for making PPT files:
# Create PowerPoint OLE server. my $ppt = Win32::OLE->new( 'PowerPoint.Application', 'Quit' )or die "C +an't create PowerPoint OLE: $!\n"; $ppt->{Visible} = 1; my $pres = $ppt->Presentations->Add(); ####### SLIDE #1: INSPECTION NAME $Slide = $pres->Slides ->Add({Index=>"$slideIndex" , Layout=>ppLay +outTitle}); $Title=$Slide->Shapes->{Title}; $Title->TextFrame->TextRange->{Text} ="INSP $level Inspection"; #$SubTitle= $Slide->Shapes->Placeholders(2)->Delete; #$SubTitle->TextFrame->TextRange->{Text} ="INSP Comments\:"; ####### SLIDE #2: SPC CHARTS $spc_img = "$path\\charts\\INSP\\"."$level"."\.jpg"; $slideIndex++; $Slide = $pres->Slides ->Add({Index=>"$slideIndex" , Layout=>ppLay +outTitleOnly}); $Title=$Slide->Shapes->{Title}; $Title->TextFrame->TextRange->{Text} ="$level SPC Charts"; $picture_spc = $Slide->Shapes->AddPicture({ FileName => "$spc_img", LinkToFile => 0, SaveWithDocument => 1, Left =>0, Top => 55, Width => 720, Height => 450 }); $TextBox=$Slide->Shapes->AddTextbox({Orientation=>1, Left=>50, Top=>500, Width=>650, Height=>30}); $TextBox->TextFrame->TextRange->{Text} ="Trend Comments:"; $WeekBox = $Slide->Shapes->AddShape({Type => '1', Left=>600, Top=>87, Width=>100, Height=>385}); $WeekBox->Fill->ForeColor->{RGB} = (RGB(0,0,255)); $WeekBox->Fill->{Transparency} = (0.8); $WeekBox->Line->{Weight} = (2.25);

In reply to Re: Convert to M$FT formats with OpenOffice::OODoc? by ~~David~~
in thread Convert to M$FT formats with OpenOffice::OODoc? by Your Mother

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.