$table->addcell(500) Not changing width?

Aug 27, 2012 at 2:18 PM
Edited Aug 27, 2012 at 2:31 PM

If I do the following  :

 $table = $section->addTable();     

 $table->addRow(300);       

$table->addCell(750)->addText("test1");       

$table->addCell(1000)->addText("test2");       

$table->addCell(300)->addText("test3");

The width of the cells do not change, instead they just split their width over the size of the page...

Anybody else have this problem?

Oct 9, 2012 at 5:33 PM

It could be that the reach the maximum size. For more information regarding the sizes I recommend you to read this: http://startbigthinksmall.wordpress.com/2010/01/04/points-inches-and-emus-measuring-units-in-office-open-xml/