标签: phpword
如何设置addField()方法的字体样式?
// dynamic date $table->addCell(100)->addField( 'DATE', ['dateformat' => 'dd.MM.yyyy']); // hardcoded date $table->addCell(100)->addText( date('d.m.Y'), ['name' => 'Arial', 'size' => 7]);