Lescasse Consulting
 Home    Company    News    Prices    Download    Buy    Forums   
Read Me
Buy
Forums
Resume
AntiSpam 1.2
wBackup 1.11
NetAccess 2.0
Visual APL 1.0 
APL+Win 8.0 
APL+Win Products 
APL+Win Objects™ 
APL+Win Training 
APL+Web Services
APL+Web Component 
APL+ History
Dyalog.Net Tutorial
Conferences 
Powerpoint
White Papers
Web Hosting
References
Links
 
APL+Win Objects™ 6.0

TADO5
TADO5 Tutorial
TAPLDraw5
TAPLEdit5
TAPLSession5
TAbale5
TAboutBox5
TAccess5
TAgent5
TBlatMail5
TButton5
TCDO5
TCRC5
TCancelButton5
TCheck5
TCheckGroup5
TChildForm5
TChooseColor5
TChooseFont5
TClipBoard5
TClock5
TCodeStats5
TColors5
TCombo5
TComboDrive5
TComboFilter5
TComboList5
TComboTree5
TCommandBar5
TCommandButton5
TControlClass5
TCueCard5
TDHTML5
TDHTMLEditor5
TDateTime5
TDateTimeFr5
TDates5
TDemoHandlers5
TDisplay5
TDOS5
TDualSelect5
TEdit5
TEditAmount5
TEditDir5
TEditEnter5
TEditFile5
TEditGrid5
TEditList5
TEditListview5
TEditMenu5
TEditNum5
TEditSelect5
TEditSpin5
TEmail5
TError5
TExampleForm5
TExcel5
TExcel5 Tutorial
TFindReplace5
TFOne5
TFTP5
TFTP5 Tutorial
TFileCompare5
TFileMenu5
TFileMenuDef5
TFlatButton5
TForm5
TFormClass5
TFormEditor5
TFrame5
TGetDir5
TGif5
TGifForm5
TGifWb5
TGoMenu5
TGraphX5
TGrid5
TGridDisplay5
TGridPrint5
TGUID5
THLine5
THTML5
THTML5 Tutorial
THTTP5
THelp5
THelpMenu5
TImagelist5
TInfo5
TIniFile5
TInstall5
TInternet5
TJpg5
TJpgWb5
TLabel5
TList5
TListview5
TLock5
TLogs5
TMAPI5
TMath5
TMDIForm5
TMSOutlook5
TMaskEdit5
TMedia5
TMenu5
TMessage5
TModalCall5
TMsgBox5
TNavigator5
TNetwork5
TNonVisualClass5
TODBC5
TOKButton5
TObject5
TOpenFile5
TOption5
TOptionGroup5
TOutlook5
TOutlookMail5
TOWCSpread5
TPDF5
TPFKeys5
TPage5
TPassword5
TPicture5
TPing5
TPopupMenu5
TPowerpoint5
TPowerpoint5 Tutorial
TPrinter5
TProgress5
TProgressDlg5
TQuestion5
TRegistry5
TRegistryKey5
TResource5
TRichEdit5
TSPX5
TSQLDMO5
TScheduler5
TScroll5
TSelector5
TSpinner5
TSplitter5
TStatus5
TStopWatch5
TTest5
TTestError5
TTextFile5
TTimer5
TTip5
TTipForm5
TTLI5
TToolBar5
TToolbox5
TToolsMenu5
TTrackbar5
TTranslate5
TTree5
TVLine5
TViewMenu5
TWebBrowser5
TWebServer5
TWebSite5
TWebSiteNet5
TWinMenu5
TWord5
TYesNo5
    Visits:  4284 (56 on line) Last Update: Dec 5, 2003  
    TPowerpoint5    Printer Friendly  
 
Description   Inheritance   Example   Properties   Methods
 
 Description

The TPowerpoint5 Object allows to use Powerpoint presentations in an APL+Win application With TPowerpoint5 you can programmatically load and run Powerpoint presentations from APL+Win, but you may also create a new Powerpoint presentation, create, update, delete slides in it, use all available Powerpoint special effects, etc. A number of examples are available in the OBJECTS5 workspace.

See also: Powerpoint PowerpointDemo PowerpointDemoSub PowerpointDoc PowerpointExample PowerpointExample2

Description   Inheritance   Example   Properties   Methods
 
 Inheritance

Inherits from:  TObject5

Description   Inheritance   Example   Properties   Methods
 
 Example
 
 

The above example was generated by the following APL+Win Objects™ code:


      'pp'Œwi'*Create' 'TPowerpoint5'('where'15 540 300 400)('visible'1)('ontop'1)
      'pp'Œwi'Load'(('pp'Œwi'installdir'),'aplwin95.ppt')
      'pp'Œwi'Run'1 3 9 150 400 452 600 1
      'pp'Œwi'Title'3
      'pp'Œwi'NbSlides'
14

      'pp'Œwi'Titles'
      'pp'Œwi'Next'
      'pp'Œwi'Next'
      'pp'Œwi'Next'
      'pp'Œwi'Previous'
      'pp'Œwi'First'
      'pp'Œwi'Last'
      'pp'Œwi'Quit'
      'pp'Œwi'*Delete'
 
Description   Inheritance   Example   Properties   Methods
 
 Properties
 
class    
Description:  Return current object class 
Syntax:  class„'obj' Œwi 'class' 
fontbold    
Description:  Get or Set the FontBold property for the selected range 
Syntax:  'obj' Œwi 'fontbold'paragraph word{boolean} 
paragraph:  paragraph number or 0 for all paragraphs 
word:  word number or 0 for all words in paragraph 
boolean:  1=bold 0=not bold 
Example: 
     'pp' Œwi 'fontbold'2 5 1 
fontcolor    
Description:  Get or Set the Font color for the selected range cells 
Syntax:  'obj' Œwi 'FontColor'paragraph word{color} 
paragraph:  paragraph number or 0 for all paragraphs 
word:  word number or 0 for all words in paragraph 
color:  (256ƒred green blue) [red,green,blue between 0 and 255] 
    or  (red green blue)" 
Example: 
     'pp' Œwi 'fontcolor'2 5(255 204 204) 
fontemboss    
Description:  Get or Set the fontemboss property for the selected range 
Syntax:  'obj' Œwi 'fontemboss'paragraph word{color} 
paragraph:  paragraph number or 0 for all paragraphs 
word:  word number or 0 for all words in paragraph 
boolean:  1=emboss 0=no emboss 
Example: 
     'pp' Œwi 'fontshadow'2 5 1 
fontitalic    
Description:  Get or Set the FontItalic property for the selected range 
Syntax:  'obj' Œwi 'fontitalic'paragraph word{boolean} 
paragraph:  paragraph number or 0 for all paragraphs 
word:  word number or 0 for all words in paragraph 
boolean:  1=italics 0=not italics 
Example: 
     'pp' Œwi 'fontitalic'2 5 1 
fontname    
Description:  Get or Set the font for the selected range 
Syntax:  'obj' Œwi 'FontName'paragraph word{name} 
paragraph:  paragraph number or 0 for all paragraphs 
       or a vector of paragraph numbers   © ELE1nov05 added 
word:  word number or 0 for all words in paragraph 
       or a corresponding vector of word numbers  © ELE1nov05 added 
name:  a character string (the font name) 
Example: 
     'pp' Œwi 'fontname'2 5'Arial' 
fontshadow    
Description:  Get or Set the fontshadow property for the selected range 
Syntax:  'obj' Œwi 'fontshadow'paragraph word{boolean} 
paragraph:  paragraph number or 0 for all paragraphs 
word:  word number or 0 for all words in paragraph 
boolean:  1=shadow 0=no shadow 
Example: 
     'pp' Œwi 'fontshadow'2 5 1 
fontsize    
Description:  Get or Set the font size for the selected range 
Syntax:  'obj' Œwi 'FontSize'paragraph word{size} 
paragraph:  paragraph number or 0 for all paragraphs 
       or a vector of paragraph numbers   © ELE1nov05 added 
word:  word number or 0 for all words in paragraph 
       or a corresponding vector of word numbers  © ELE1nov05 added 
size:  an integer (the font size) 
Example: 
     'pp' Œwi 'fontsize'2 4 22 
footer    
Description:  Get or Set the footer text 
Syntax:  {footer„'} 'obj' Œwi 'footer'footer 
footer:  a character string 
Example: 
     'pp' Œwi 'footer' 'APL+Win 5.0 Presentation' 
footerdate    
Description:  Get or Set the footer date text 
Syntax:  {footer„'} 'obj' Œwi 'footerdate'footerdate 
footerdate:  a date format chosen among: 
             1="5/25/2003" format 
             2="Sunday, May 25, 2003" format 
             3="25 May 2003" format 
             4="May 25, 2003" format 
Example: 
     'pp' Œwi 'footerdate'2 
footerslide    
Description:  Tells TProwerpoint to display the slide number in the footer or not 
Syntax:  {boolean„'} 'obj' Œwi 'footerslide'boolean 
footerslide:  a boolean 
Example: 
     'pp' Œwi 'footerslide'1 
handle    
Description:  Returns the Microsoft Powerpoint design window handle (read-only property) 
Syntax:  handle„'obj' Œwi 'handle' 
handle:  windows handle of the Powerpoint window 
Example: 
     'pp' Œwi 'handle' 
header    
Description:  Get or Set the header text 
Syntax:  {header„'} 'obj' Œwi 'header'header 
header:  a character string 
Note: this property is only available for a NotesMaster or HandoutMaster 
Example: 
      'pp' Œwi 'header' 'APL+Win 5.0 Presentation' 
help    
Example: 
0 0½'pp' Œwi '*Create' 'TPowerpoint5' ('where'15 540 300 400) ('visible'1) ('ontop'1) 
'pp' Œwi 'Load' (('pp' Œwi 'installdir'),'aplwin95.ppt') 
'pp' Œwi 'Run'1 3 9 150 400 452 600 1 
© or:   'ff' Œwi '*Create' 'TForm5' ('*size'400 500) 'DemoShowFocus' 
© and:  'pp' Œwi 'RunInAplWindow' 'ff' 3 9 1 200 388 612 1 
'pp' Œwi 'Title'3 
'pp' Œwi 'NbSlides' 
'pp' Œwi 'Titles' 
'pp' Œwi 'Next' 
'pp' Œwi 'Next' 
'pp' Œwi 'Next' 
'pp' Œwi 'Previous' 
'pp' Œwi 'First' 
'pp' Œwi 'Last' 
'pp' Œwi 'Quit' 
'pp' Œwi '*Delete' 
hyperlink    
Description:  Get or Set a Hyperlink for the selected range 
Syntax:  'obj' Œwi 'hyperlink'paragraph word{url} 
paragraph:  paragraph number or 0 for all paragraphs 
word:  word number or 0 for all words in paragraph 
url:  an URL starting with http:// 
Example: 
     'pp' Œwi 'hyperlink'2 0 'http://www.lescasse.com" 
indent    
Description:  Get or Set the indentation level 
Syntax:  {indentlevel„'} 'obj' Œwi 'indent'paragraph indentlevel 
paragraph:  paragraph number or 0 for all paragraphs in the shape 
indentlevel:  indentation level (‰1) 
Example: 
      'pp' Œwi 'indent'0 2 
ontop    
Description:  Get or Set the ontop property specifying if Excel must stay on top of all other windows or not 
Syntax: res„'obj' Œwi 'ontop'boolean 
Example: 
      'pp' Œwi 'ontop'1 
shape    
Description:  Activate a given shape or returns the number of the active shape 
Syntax:  'obj' Œwi 'shape'shape 
shape:  a shape number 
Example: 
      'pp' Œwi 'shape'1 
shapetext    
Description:  Get or Set the current shape text 
Syntax:  {title„'} 'obj' Œwi 'shapetext'text 
text:  a character string (possibly including ŒTCNLs) 
Example: 
      'pp' Œwi 'shapetext' ('New Registry Object',Œtcnl,'Elastic Workspaces',Œtcnl,'APL+Draw OCX Drawing Faclity') 
slide    
Description:  Activate a given slide or returns the number of the active slide 
Syntax:  'obj' Œwi 'slide'slide 
slide:  a slide number or 0 to select the SlideMaster object 
Example: 
      'pp' Œwi 'slide'2 
slidebackcolor    
Description:  Get or Set the slide background color 
Syntax:  'obj' Œwi 'slidebackcolor'color 
color:  (256ƒred green blue) [red,green,blue between 0 and 255] 
   or:  (red green blue) 
Example: 
      'pp' Œwi 'slidebackcolor'255 204 204 
slidegradient    
Description:  Get or Set the slide patterns 
Syntax:  'obj' Œwi 'slidegradient'style variant presettype 
style:  one of: 
        msoGradientDiagonalDown 
        msoGradientDiagonalUp 
        msoGradientFromCenter 
        msoGradientFromCorner 
        msoGradientFromTitle 
        msoGradientHorizontal 
        msoGradientMixed 
        msoGradientVertical 
variant:  1 to 4 
presettype:  one of: 
        msoGradientBrass         msoGradientGold          msoGradientPeacock 
        msoGradientCalmWater     msoGradientGoldII        msoGradientRainbow 
        msoGradientChrome        msoGradientHorizon       msoGradientRainbowII 
        msoGradientChromeII      msoGradientLateSunset    msoGradientSapphire 
        msoGradientDaybreak      msoGradientMahogany      msoGradientSilver 
        msoGradientDesert        msoGradientMoss          msoGradientWheat 
        msoGradientEarlySunset   msoGradientNightfall     msoPresetGradientMixed 
        msoGradientFire          msoGradientOcean 
        msoGradientFog           msoGradientParchment 
Example: 
      'pp' Œwi 'slidegradient'3 4 7 
slidepattern    
Description:  Get or Set the slide patterns 
Syntax:  'obj' Œwi 'slidepattern'pattern 
pattern:  a pattern number (from 1 to 48) 
Example: 
      'pp' Œwi 'slidepattern'40 
slidesubtitle    
Description:  Get or Set the current slide sub-title 
Syntax:  {title„'} 'obj' Œwi 'slidesubtitle'slidesubtitle 
slidesubtitle:  a character string 
NOTE: this property assumes the subtitle in in Shape 2 of the slide 
Example: 
      'pp' Œwi 'slidesubtitle' 'The best development system ever' 
slidetexture    
Description:  Get or Set the slide texture 
Syntax:  'obj' Œwi 'slidetexture'texture 
texture:  a texture number 
Example: 
      'pp' Œwi 'slidetexture'5 
slidetitle    
Description:  Get or Set the current slide title 
Syntax:  {title„'} 'obj' Œwi 'slidetitle'slidetitle 
slidetitle:  a character string 
Example: 
      'pp' Œwi 'slidetitle' 'APL+Win 5.0' 
slidetransition    
Description:  Get or Set the current slide transition effect to the next slide 
Syntax:  {slidetransition„'} 'obj' Œwi 'slidettransition'slidetransition{wavfilename} 
slidetransition:  an character string representing an effect to be chosen among: 
   Appear                CoverRightDown        SplitHorizontalOut    UncoverLeft 
   BlindsHorizontal      CoverRightUp          SplitVerticalIn       UncoverLeftDown 
   BlindsVertical        CoverUp               SplitVerticalOut      UncoverLeftUp 
   BoxIn                 Cut                   StripsDownLeft        UncoverRight 
   BoxOut                CutThroughBlack       StripsDownRight       UncoverRightDown 
   CheckerboardAcross    Dissolve              StripsLeftDown        UncoverRightUp 
   CheckerboardDown      Fade                  StripsLeftUp          UncoverUp 
   CoverDown             None                  StripsRightDown       WipeDown 
   CoverLeft             Random                StripsRightUp         WipeLeft 
   CoverLeftDown         RandomBarsHorizontal  StripsUpLeft          WipeRight 
   CoverLeftUp           RandomBarsVertical    StripsUpRight         WipeUp 
   CoverRight            SplitHorizontalIn     UncoverDown 
wavfilename:  complete name of a wav file to play 
Example: 
     'pp' Œwi 'slide'1 
     'pp' Œwi 'slidetransition' 'CheckerBoardAcross' '' 
     'pp' Œwi 'slide'2 
     'pp' Œwi 'slidetransition' 'Random' (('pp' Œwi 'installdir'),'sound528.wav') 
template    
Description:  Get or Set the slide template 
Syntax:  {dotpotfile„'} 'obj' Œwi 'template'dotpotfile 
dotpotfile:  a .POT template complete file name 
Note: if the path is omitted, it is assumed to be: 
C:\Program Files\Microsoft Office\Templates\Presentation Designs\ 
Example: 
      'pp' Œwi 'template' 'C:\Program Files\Microsoft Office\Templates\Presentation Designs\Mountain Top.pot' 
visible    
Description:  Get or Set the visible property of the TPowerpoint5 object 
Syntax:  {boolean„}„'obj' Œwi 'visible' {boolean} 
boolean:  1=make the object visible, 0=hide it 
Example: 
      'pp' Œwi 'visible'1 
where    
Description:  Get or Set the position and dimension of the Powerpoint object window 
Syntax:  'obj' Œwi 'where'top left height width 
top:  position of top of Powerpoint window in pixels 
Example: 
      'pp' Œwi 'where'20 200 400 500 
Description   Inheritance   Example   Properties   Methods
 
 Methods
 
AddPicture    
Description:  Adds a text box shape to the current slide 
Syntax:  newshapeno„'obj' Œwi 'AddPicture'filename top left height width linktofile savewithdoc 
filename:  a complete .BMP file name 
top,left,height,width: coordinates in twips 
linktofile:  1=should be linked to the file from which it was created, 0=otherwise(default) 
savewithdoc:  1=save bitmap with doc(default),  0=don't 
Example: 
      'pp' Œwi 'AddPicture' 'c:\microsoft office\clipart\music.bmp'100 100 70 70 
AddPresentation    
Description:  Create a new Presentation 
Syntax:  'obj' Œwi 'AddPresentation' {visible} 
visible:  boolean scalar (1=created with a visible window, 0=not visible) 
Example: 
      'pp' Œwi 'AddPresentation'1 
AddSlide    
Description:  Appends a new slide at the end of the Active Presentation 
Syntax:  'obj' Œwi 'AddSlide'index layout{title} 
index:  1 to insert slide before 1st slide 
title:  optional slide title 
layout:  one of: 
  12 (ppLayoutBlank) 
   8 (ppLayoutChart) 
   6 (ppLayoutChartAndText) 
  10 (ppLayoutClipartAndText) 
  26 (ppLayoutClipArtAndVerticalText) 
  24 (ppLayoutFourObjects) 
  15 (ppLayoutLargeObject) 
  18 (ppLayoutMediaClipAndText) 
  16 (ppLayoutObject) 
  14 (ppLayoutObjectAndText) 
  19 (ppLayoutObjectOverText) 
   7 (ppLayoutOrgchart) 
   4 (ppLayoutTable) 
   2 (ppLayoutText) 
   5 (ppLayoutTextAndChart) 
   9 (ppLayoutTextAndClipart) 
  17 (ppLayoutTextAndMediaClip) 
  13 (ppLayoutTextAndObject) 
  21 (ppLayoutTextAndTwoObjects) 
  20 (ppLayoutTextOverObject) 
   1 (ppLayoutTitle) 
  11 (ppLayoutTitleOnly) 
   3 (ppLayoutTwoColumnText) 
  22 (ppLayoutTwoObjectsAndText) 
  23 (ppLayoutTwoObjectsOverText) 
  25 (ppLayoutVerticalText) 
  27 (ppLayoutVerticalTitleAndText) 
  28 (ppLayoutVerticalTitleAndTextOverChart) 
Example: 
      'pp' Œwi 'AddSlide'1 12 
AddTable    
Description:  Adds a new shape containing a Table in the current slide 
Syntax:  'obj' Œwi 'AddTable'rows cols {top} {left} {height} {width} 
rows:  number of rows for the table 
cols:  number of columns for the table 
top:  position in pixels from top of slide 
left:  position in pixels from left of slide 
height:  table height in pixels 
width:  table width in pixels 
Example: 
      'pp' Œwi 'AddTable'4 10 
AddTextBox    
Description:  Adds a text box shape to the current slide 
Syntax:  newshapeno„'obj' Œwi 'AddTextBox'orientation top left height width text 
orientation:  0=horizontal  1=vertical 
top,left,height,width: coordinates in twips 
text:  text to install in the text box 
newshapeno:  number of the new shape 
Note: the TextBox is selected 
Example: 
      'pp' Œwi 'AddTextBox'0 100 100 200 300'This is a text box shape' 
AnimateText    
Description:  Animates text items in a shape 
Syntax:  'obj' Œwi 'AnimateText' {entryeffect{reverseorder{wavfilename}}} 
entryeffect:  a character text representing an effect, one of: 
   Appear                Dissolve              RandomBarsVertical    UncoverLeft 
   BlindsHorizontal      Fade                  Spiral                UncoverLeftDown 
   BlindsVertical        FlashOnceFast         SplitHorizontalIn     UncoverLeftUp 
   BoxIn                 FlashOnceMedium       SplitHorizontalOut    UncoverRight 
   BoxOut                FlashOnceSlow         SplitVerticalIn       UncoverRightDown 
   CheckerboardAcross    FlyFromBottom         SplitVerticalOut      UncoverRightUp 
   CheckerboardDown      FlyFromBottomLeft     StretchAcross         UncoverUp 
   CoverDown             FlyFromBottomRight    StretchDown           WipeDown 
   CoverLeft             FlyFromLeft           StretchLeft           WipeLeft 
   CoverLeftDown         FlyFromRight          StretchRight          WipeRight 
   CoverLeftUp           FlyFromTop            StretchUp             WipeUp 
   CoverRight            FlyFromTopLeft        StripsDownLeft        ZoomBottom 
   CoverRightDown        FlyFromTopRight       StripsDownRight       ZoomCenter 
   CoverRightUp          Mixed                 StripsLeftDown        ZoomIn 
   CoverUp               None                  StripsLeftUp          ZoomInSlightly 
   CrawlFromDown         PeekFromDown          StripsRightDown       ZoomOut 
   CrawlFromLeft         PeekFromLeft          StripsRightUp         ZoomOutSlightly 
   CrawlFromRight        PeekFromRight         StripsUpLeft 
   CrawlFromUp           PeekFromUp            StripsUpRight 
   Cut                   Random                Swivel 
   CutThroughBlack       RandomBarsHorizontal  UncoverDown 
reversorder:  call text items from the bottom rather than from the top 
wavfilename: name of a .WAV file 
Example: 
      'pp' Œwi 'AnimateText' 'FlyFromTop' 
CellBackColor    
Description:  Sets the background color for a given table cell 
Syntax:  'obj' Œwi 'CellBackColor'row col color 
row:  a table row number 
col:  a table column number 
color:  a color expressed as (B G R) or 256ƒB G R 
Example: 
      'pp' Œwi 'CellBackColor'3 3(256ƒ0 0 255) 
ColumnWidths    
Description:  Set column widths for one or more column tables 
Syntax:  'obj' Œwi 'ColumnWidths'slideno shapeno colnos {widths} 
slideno:  a slide number 
shapeno:  the shape number corresponding to a table in this slide 
colnos:  one or more column numbers 
widths:  column widths expressed in pixels 
Example: 
      'pp' Œwi 'ColumnWidths'120 240 195 
ComputeColors    
Description:  Compute colors to color table cells based on the values in these cells 
Syntax:  colormatrix„'obj' Œwi 'ComputeColors'tablevalues {min} {max} 
colormatrix: is a matrix of colors expressed as 256ƒR G B 
tablevalues: is a matrix of values contained in a Powerpoint table 
min:  the minimum value corresponding to red (256ƒ255 0 0) 
max:  the maximum value corresponding to green (256ƒ0 255 0) 
Example: 
      aaa„?4 9½100 
      'pp' Œwi 'ComputeColors'aaa 1 100 
DeleteAllShapes    
Description:  Deletes all the shapes of the currently selected slide 
Syntax:  'obj' Œwi 'DeleteAllShapes' 
Example: 
      'pp' Œwi 'DeleteAllShapes' 
DeleteAllSlides    
Description:  Deletes all the presentation existing slides 
Syntax:  'obj' Œwi 'DeleteAllSlides' 
Example: 
      'pp' Œwi 'DeleteAllSlides' 
DeleteShape    
Description:  Deletes a shape in a slide 
Syntax:  'obj' Œwi 'DeleteShape' {shapeno} 
shapeno:  a shape number 
Example: 
      'pp' Œwi 'DeleteShape'3 
DeleteSlide    
Description:  Deletes a slide 
Syntax:  'obj' Œwi 'DeleteSlide' {slide} 
slide:  a slide number 
Example: 
      'pp' Œwi 'DeleteSlide'3 
Exit    
Description:  End any slide shows that may be running 
Syntax:  'obj' Œwi 'End' 
Example: 
      'pp' Œwi 'End' 
*:R„1ª…0}" 
FillTable    
Description:  Fills a table with values, background cell colors, using specified fonts 
Syntax:  'obj' Œwi 'FillTable'nestedmatrix{backcolormatrix}{fontsizes}{fontcolors}{fontbold}{fontitalics} 
nestedmatrix:  an APL nested matrix (cells may be character and/or numeric) 
backcolormatrix:  a matrix of cell background colors (expressed as 256ƒB G R) 
fontsizes:  a matrix of font sizes expressed in points 
fontcolors:  (256ƒB G R) or Ð if font colors not defined 
fontbold:  boolean matrix or Ð if font colors not defined 
fontitalics:  boolean matrix or Ð if font colors not defined 
Example: 
      aaa„?4 9½100 
      'pp' Œwi 'FillTable'aaa('pp' Œwi 'ComputeColors'aaa 1 100) ((½aaa)½10) 
      Œerase'aaa' 
FillTableAlignment    
Description:  Set the table cells alignment 
Syntax:  'obj' Œwi 'FillTableAlignment'alignmentmatrix {rows} {cols} 
alignmentmatrix:  an integer matrix (1=left, 2=center, 3=right) 
rows:  a scalar or vector of row numbers 
cols:  a scalar or vector of column numbers 
Example: 
      'pp' Œwi 'FillTableAlignment' (5 3½1 2 3) 
FillTableBold    
Description:  Set table cells to bold or not 
Syntax:  'obj' Œwi 'FillTableBold'boldmatrix {rows} {cols} 
boldmatrix:  a boolean matrix (1=bold, 0=normal) 
rows:  a scalar or vector of row numbers 
cols:  a scalar or vector of column numbers 
Example: 
      'pp' Œwi 'FillTableBold' (5 3½1 0 1) 
FillTableColors    
Description:  Set background colors in table cells 
Syntax:  'obj' Œwi 'FillTableColors'backcolormatrix {rows} {cols} 
backcolormatrix:  a numeric matrix of BGR (256ƒB G R) colors 
rows:  a scalar or vector of row numbers 
cols:  a scalar or vector of column numbers 
Example: 
      'pp' Œwi 'FillTableColors' (5 3½234556+10×¼15) 
FillTableFontSize    
Description:  Set the table cells font size 
Syntax:  'obj' Œwi 'FillTableFontSize'fontsizematrix {rows} {cols} 
fontsizematrix:  a numeric matrix 
rows:  a scalar or vector of row numbers 
cols:  a scalar or vector of column numbers 
Example: 
      'pp' Œwi 'FillTableFontSize' (5 3½10 12 16) 
FillTableItalic    
Description:  Set table cells to italics or not 
Syntax:  'obj' Œwi 'FillTableItalic'italicmatrix {rows} {cols} 
italicmatrix:  a boolean matrix (1=bold, 0=normal) 
rows:  a scalar or vector of row numbers 
cols:  a scalar or vector of column numbers 
Example: 
      'pp' Œwi 'FillTableItalic' (5 3½1 0 1) 
FindTables    
Description:  Return the shapes numbers of the shapes having a table in a given slide 
Syntax:  'obj' Œwi 'FindTables' 
Example: 
      'pp' Œwi 'FindTables' 
First    
Description:  Go to the first slide in the Slide Show 
Syntax:  'obj' Œwi 'First' 
Example: 
      'pp' Œwi 'First' 
Hide    
Description:  Hides the Powerpoint window 
Syntax:  'obj' Œwi 'Hide' {reset} 
reset:  1=Hide object  0=unhides it 
Example: 
      'pp' Œwi 'Hide'1 
Last    
Description:  Go to the last slide in the Slide Show 
Syntax:  'obj' Œwi 'Last' 
Example: 
      'pp' Œwi 'Last' 
Load    
Description:  Loads a Powerpoint document 
Syntax:  'obj' Œwi 'Load'pptfilename 
pptfilename:  a character string (the Powerpoint complete file name) 
Example: 
      'pp' Œwi 'Load' (('oo5' Œwi 'installdir'),'aplwin95.ppt') 
LoadAndRun    
Description:  Loads a Powerpoint document and reuns the presentation 
Syntax:  'obj' Œwi 'LoadAndRun'pptfilename{top left height width} 
         'obj' Œwi 'LoadAndRun'pptfilename{aplwindowname} 
pptfilename:  a character string (the Powerpoint full path name) 
top:  the vertical position of the Powerpoint slide top edge (in pixels) 
left:  the vertical position of the Powerpoint slide left edge (in pixels) 
height:  the Powerpoint slide height (in pixels) 
width:  the Powerpoint slide width (in pixels) 
Example: 
      'pp' Œwi 'Quit' 
      'pp' Œwi '*Create' 'TPowerpoint5' ('where'10000 10000 400 600) 
      'pp' Œwi 'LoadAndRun' (('oo5' Œwi 'installdir'),'aplwin95.ppt') 
MoveBottom    
Description:  Moves the current shape object vertically towards bottom of slide 
Syntax:  'obj' Œwi 'MoveBottom'increment 
increment:  a positive or negative increment in pixels 
Example: 
      'pp' Œwi 'MoveBottom'40 
MoveLeft    
Description:  Moves the current shape object horizontally 
Syntax:  'obj' Œwi 'MoveLeft'increment 
increment:  a positive or negative increment in pixels 
Example: 
      'pp' Œwi 'MoveLeft'10 
MoveRight    
Description:  Moves the current shape object horizontally 
Syntax:  'obj' Œwi 'MoveRight'increment 
increment:  a positive or negative increment in pixels 
Example: 
      'pp' Œwi 'MoveRight'30 
MoveTop    
Description:  Moves the current shape object upwardly 
Syntax:  'obj' Œwi 'MoveTop'increment 
increment:  a positive or negative increment in pixels 
Example: 
      'pp' Œwi 'MoveTop'20 
NbShapes    
Description:  Returns the number of shapes in the active slide 
Syntax: nbshapes„'obj' Œwi 'NbShapes' 
Example: 
      'pp' Œwi 'NbShapes' 
NbSlides    
Description:  Returns the number of slides in the active presentation 
Syntax:  'obj' Œwi 'NbSlides' 
Example: 
      'pp' Œwi 'NbSlides' 
New     Description: Create a new instance of TPowerpoint5
Example:
      'obj' Œwi '*Create' 'TPowerpoint5'

Next    
Description:  Go to the next slide in the Slide Show 
Syntax:  'obj' Œwi 'Next' 
Example: 
      'pp' Œwi 'Next' 
Open    
Description:  Opens a Powerpoint presentation 
Syntax:  'obj' Œwi 'Open' pptfilename 
pptfilename:  full name a a Powerpoint file 
Example: 
      'pp' Œwi 'Open' 'c:\temp\presentation.ppt' 
OrigScale    
Description:  Returns the current shape object to its origin scale 
Syntax:  'obj' Œwi 'OrigScale' 
Example: 
      'pp' Œwi 'OrigScale' 
Previous    
Description:  Go to the previous slide in the Slide Show 
Syntax:  'obj' Œwi 'Previous' 
Example: 
      'pp' Œwi 'Previous' 
Quit    
Description:  Silently closes and deletes the Powerpoint object 
Syntax:  'obj' Œwi 'Close' 
     or  'obj' Œwi 'Quit' 
Example: 
      'pp' Œwi 'Quit' 
RemoveBullets    
Description:  Remove bullets for a number of paragraphs 
Syntax:  'obj' Œwi 'RemoveBullets'start length 
start:  line number to start removing bullets 
length:  number of lines to remove bullets 
Example: 
      'pp' Œwi 'RemoveBullets'5 3 
Run    
Description:  Run a slide show of the currently loaded Powerpoint presentation 
Syntax:  'obj' Œwi 'Run'mode startingslide endingslide top left height width ontop{wavfilename} 
mode:    1=ppShowTypeSpeaker(includes Mouse box) 
         2=ppShowTypeWindow 
         3=ppShowTypeKiosk(no mouse box) 
startingslide:  the starting slide number (an integer scalar) or 0 for default (slide 1) 
endingslide:  the ending slide number (an integer scalar) or 0 for default (last slide) 
top:     the vertical position of the Powerpoint slide top edge (in pixels); use ¯1 to center vertically 
left:    the horizontal position of the Powerpoint slide left edge (in pixels); use ¯1 to center horizontally 
height:  the Powerpoint slide height (in pixels) 
width:   the Powerpoint slide width (in pixels) 
ontop:   0=not on top;  1=ontop 
wavfilename:  complete name of a wav file to play 
Example: 
      'pp' Œwi 'Run'1 2 3 150 200 546 728 1 
RunInAplWindow    
Description:  Run the currently loaded Powerpoint presentation in an APL Window 
Syntax:  'obj' Œwi 'RunInAplWindow'handle startingslide endingslide closeAPLwindow{wavfilename} 
handle:  handle (or name) of APL object container (form, frame, page, ...) 
startingslide:  the starting slide number (an integer scalar) or 0 for default (slide 1) 
endingslide:  the ending slide number (an integer scalar) or 0 for default (last slide) 
closeAPLwindow:  1=close APL Window  0=leave it opened 
wavfilename:  complete name of a wav file to play 
Example: 
      0 0½'ff' Œwi '*Create' 'TForm5' ('*caption' 'Powerpoint Presentation in an APL Window') ('*size'600 800) ('*color'1) 
      'ff' Œwi '*Set' ('ontop'1) 'Show' ª 'pp' Œwi 'RunInAplWindow' 'ff' 0 0 1((Œwi 'installdir'),'wmpaud3.wav') 
Save    
Description:  Saves the active Excel workbook 
Syntax:  rc„'obj' Œwi 'Save' 
rc:  return code (0=ok  1=save operation failed) 
Note: Will replace an existing file of the same name 
If another Open Workbook already has this name 
it will be closed. 
Example: 
      'pp' Œwi 'Save' 
SaveAs    
Description:  Saves the active Powerpoint presentation 
Syntax:  rc„'obj' Œwi 'SaveAs'filename format 
filename: complete file name 
format:  save format 
         13=ppSaveAsHTMLv3	 4=ppSaveAsPowerPoint3 
          8=ppSaveAsAddIn	 3=ppSaveAsPowerPoint4 
         19=ppSaveAsBMP	    10=ppSaveAsPowerPoint4FarEast 
         11=ppSaveAsDefault	 2=ppSaveAsPowerPoint7 
         16=ppSaveAsGIF	     1=ppSaveAsPresentation 
         12=ppSaveAsHTML	     6=ppSaveAsRTF 
         14=ppSaveAsHTMLDual	 7=ppSaveAsShow 
         17=ppSaveAsJPG	     5=ppSaveAsTemplate 
         15=ppSaveAsMetaFile	21=ppSaveAsTIF 
         18=ppSaveAsPNG	    20=ppSaveAsWebArchive 
rc:  return code (0=ok  1=save operation failed) 
Note: Will replace an existing file of the same name 
If another Open Workbook already has this name 
it will be closed. 
Example: 
      'pp' Œwi 'SaveAs' 'c:\temp\test.ppt' 
Scale    
Description:  Scales the current shape object horizontally & vertically 
Syntax:  'obj' Œwi 'Scale'timesfactor 
timesfactor:  factor by which to multiply shape width & height 
Example: 
      'pp' Œwi 'Scale'3 
ScaleHeight    
Description:  Scales the current shape object vertically 
Syntax:  'obj' Œwi 'ScaleHeight'timesfactor 
timesfactor:  factor by which to multiply shape height 
Example: 
      'pp' Œwi 'ScaleHeight'2 
ScaleWidth    
Description:  Scales the current shape object horizontally 
Syntax:  'obj' Œwi 'ScaleWidth'timesfactor 
timesfactor:  factor by which to multiply shape width 
Example: 
      'pp' Œwi 'ScaleWidth'1.5 
Show    
Description:  Displays Powerpoint with a new Presentation opened 
Syntax:  'obj' Œwi 'Show' 
Example: 
      'pp' Œwi 'Show' 
SlideShowHandle    
Description:  Returns the handle of the current Slide Show or 0 
Syntax:  hwnd„'obj' Œwi 'SlideShowHandle' 
hwnd: the Slide Show handle or 0 if no Slide Show is running 
Example: 
      'pp' Œwi 'SlideShowHandle' 
Title    
Description:  Returns the title of the Nth slide 
Syntax:  'obj' Œwi 'Title'N 
N: a slide number 
Example: 
      'pp' Œwi 'Title'3 
Titles    
Description:  Returns all the active presentation slide titles 
Syntax:  'obj' Œwi 'Titles' 
Example: 
      'pp' Œwi 'Titles' 
VBAHelp    
Description:  Calls the VBA Help File if present 
Syntax:  'obj' Œwi 'VBAHelp' 
Example: 
      'pp' Œwi 'VBAHelp' 
Description   Inheritance   Example   Properties   Methods
 
 This entire Web site has been dynamically generated by APL+Win Objects™ 6.0
 For all questions contact:  info@lescasse.com
 Copyright © 2003-2005 Lescasse Consulting. All rights reserved.