Dale,

best thing you can do is start by developing the script using
Word's VBA using builtin calltips, help and object browser 
then translate it to PHP.

The most important thing to observe is that PHP's COM 
implementation does not implement multidimensional variant 
arrays (at least as of 4.3.3, the latest version I used to COM with).
That is, e.g. in Excel you may get a Range of some cells as
an object:

$r = $ActiveSheet->Range('A1:A20');

, but you cannot say

$arr = $r->Value;

You have to retrieve the values one by one using Cells().
In Word there might exist similar limitations.

Good luck!
-- 
Sven

> -----Ursprüngliche Nachricht-----
> Von:  Dale Attree [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Mittwoch, 6. Oktober 2004 09:21
> An:   PHP Windows Mailing List
> Betreff:      [PHP-WIN] Function reference
> 
> Hi,
> 
> Does anyone have or know where I can find a function reference for
> MicroSoft Word as a COM object in PHP, other than the example in the PHP CHM
> file and/or manual.
> 
> Kind Regards,
> Dale
>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to