Forum


Replies: 4   Views: 6224
Transformdocxusingmsword con windows server 2008 y office 2007
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by willow  · 08-04-2015 - 12:51

Gracias por la respuesta. Acabo de probar este ejemplo: ##### $word = new COM("word.application") or die("Unable to instantiate Word"); echo "Loaded Word, version {$word->Version}\n"; //bring it to front $word->Visible = 1; //open an empty document $word->Documents->Add(); //do some weird stuff $word->Selection->TypeText("Esto es una prueba de SVIM"); $word->Documents[1]->SaveAs("c:/test.doc"); //closing word $word->Quit(); //free the object $word = null; ############### C:\Apache24\htdocs>php comWord.php Loaded Word, version 12.0 C:\Apache24\htdocs> Este ejemplo si funciona sin problema... ¿Alguna idea? Gracias y un saludo, Sergio.