使用php在openoffice calc文档中添加数据

I have openoffice calc document which contains a few empty tables.
Is there an any way to add data from php to the openoffice calc document in table cells ?

By far the easiest way would be for your php write a comma-separated (.csv) file and then read that into Calc. e.g.

// write example .csv file
$handle= fopen("myfile.csv","w");
for($row=0; $row<10; $row++){
  for($col=0; $col<10; $col++)
    fputs( $handle, $row+$col . (($col<9)?",":"
") );
  fputs($handle,"
");
}
fclose($handle);

Yours, Tonywilk