Formating a Table (Round Bevel)

May 29, 2012 at 1:44 AM

Hi,

I have no clue how to create a Rounded Bevel Border.

This is what i have by now.

 

// Create a shape (table)
echo date('H:i:s') . " Create a shape (table)\n";
$tabla = $currentSlide->createTableShape(4);
$tabla->setHeight(200);
$tabla->setWidth(920);
$tabla->setOffsetX(100);
$tabla->setOffsetY(170);

// Add row
echo date('H:i:s') . " Add row\n";
$row = $tabla->createRow();
$row->getFill()->setFillType(PHPPowerPoint_Style_Fill::FILL_GRADIENT_LINEAR)
               ->setRotation(90)
               ->setStartColor(new PHPPowerPoint_Style_Color('00007A37'))
               ->setEndColor(new PHPPowerPoint_Style_Color('00007A37'));
              

//$cell = $row->nextCell();
//$cell->setWidth(200);
/*
$cell->createTextRun('Title row')->getFont()->setBold(true)
                                            ->setSize(16);
                                           
                      
$cell->getBorders()->getBottom()->setLineWidth(4)
                                ->setLineStyle(PHPPowerPoint_Style_Border::LINE_SINGLE)
                                ->setDashStyle(PHPPowerPoint_Style_Border::DASH_DASH);
*/

$row->nextCell()->createTextRun('No.')->getFont()->setBold(true)->setColor( new PHPPowerPoint_Style_Color('FFFFFFFF'))->setSize(12);
$row->nextCell()->createTextRun('SECTOR')->getFont()->setBold(true)->setColor( new PHPPowerPoint_Style_Color('FFFFFFFF'))->setSize(12);
$row->nextCell()->createTextRun('ACTIVIDAD')->getFont()->setBold(true)->setColor( new PHPPowerPoint_Style_Color('FFFFFFFF'))->setSize(12);
$row->nextCell()->createTextRun('AVANCE')->getFont()->setBold(true)->setColor( new PHPPowerPoint_Style_Color('FFFFFFFF'))->setSize(12);

 

Can get someone´s help?

May 14, 2013 at 7:44 AM
How to set the outer table border? can you help me! Thanks!