Veröffentlicht 12. Dezember 200321 j Hallo leute, kennt jemand eine Seite auf der ich ne Doku finde, wie ich auf welche Objekte usw mit der COM schnittstelle zugreifen kann?! Das ganze soll dann für Excel sein! php manual comment : (Word Beispiel) Convert Microsoft word document .DOC to adobe acrobat .PS or .PDF files: Drawback: if any dialog boxes pop up, the conversion will become non-automated. <? // You must have word and adobe acrobat distiller on // your system, although theoretically any printer driver // that makes .PS files would work. // starting word $word = new COM("word.application") or die("Unable to instanciate Word"); print "Loaded Word, version {$word->Version}\n"; // bring it to front $word->Visible = 1; // Select the acrobat distiller as the active printer. // I presume that you could also use the Acrobat PDF writer // driver that comes with Acrobat full version. $word->ActivePrinter = "Acrobat Distiller"; // Open a word document, or anything else that word // can read $word->Documents->Open($input); // This will create a .PS file called $output $word->ActiveDocument->PrintOut(0, 0, 0, $output); // If you need a .pdf instead, use the acrobat // distiller's watched folder option. // closing word $word->Quit(); // free the object $word->Release(); $word = null; ?> ich suche also eine doku in der aufgelistet ist wie ich z.b. mit dem Range Objekt arbeiten kann! Gruß, kills
13. Januar 200421 j http://www.php-resource.de/forum/showthread.php?threadid=10762 http://holliwell.mirrors.phpclasses.org/search.html?words=excel&go_search=1
Archiv
Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.