word

  • try {
            $word = new \COM("word.application") or die("Can't start Word!");
            $word->Visible = 0;
            $word->Documents->Open($srcfilename, false, false, false, "1", "1", true);
            $word->ActiveDocument->final = false;
            $word->ActiveDocument->Saved = tru