Page 1 of 1

PHP and Microsoft Word

Posted: Wed Oct 22, 2003 3:39 am
by JayBird
I am using the COM functions to manipulate MS Word files bu i can't seem to find a list of functions that you can use. The only ones i know are:

Code: Select all

$word->Documents->Open("E:\\first.doc"); //Open doc

$word->Documents[1]->SaveAs("E:\\test_doc.html",8); //Save as HTML

$word->Quit(); //closing word

$word->Release(); //free the object from the memory

$word->Documents->Add(); //Create new document

$word->Selection->Typetext("This is a test"); //Type text in the document
Where, or how can i find out how to do other stuff? The PHP manual doesn't really help.

Thanks

Mark

Posted: Wed Oct 22, 2003 4:12 am
by volka
what methods the ms-office applications expose is not the concern of the php manual ;)
take a look at http://msdn.microsoft.com/library/defau ... cation.asp
and/or http://msdn.microsoft.com/library/en-us ... cation.asp