Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想生成一个带有报表的 PDF 文件作为表格。我需要设置行跨度。我怎样才能做到这一点?
如果您的意思是需要在 PHPExcel 中合并单元格,那么
$objPHPExcel->getActiveSheet()->mergeCells('A1:A3');