Licitator 1.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

19 lines
607 B

<?php
namespace Prometeo\CommandsBundle\ManualTraits;
use PhpOffice\PhpWord\Element\Header;
use PhpOffice\PhpWord\SimpleType\Jc;
trait HeaderTrait
{
public function createHeader(&$section){
$headerOdd = $section->addHeader(Header::AUTO);
$headerOdd->addText('INGENIERÍA :: INNOVACIÓN :: TECNOLOGÍA', $this->fonts['header']);
$headerEven=$section->addHeader(Header::EVEN);
$headerEven->addText('MANUAL DE USUARIO', $this->fonts['header']);
$headerEven->addImage(__DIR__.'/../Resources/images/logo.png', array('width'=>200, 'alignment' => Jc::END));
}
}