src/Command/Executor/Log/ToExcel.php
public function execute()
	{
		parent::execute();

		$sheet = $this->getExcel()->getActiveSheet();

		$sheet->getStyle('A1')->getFont()->setBold(true);
		$sheet->getStyle('B1')->getFont()->setBold(true);
		$sheet->getStyle('C1')->getFont()->setBold(true);
		$sheet->getStyle('D1')->getFont()->setBold(true);
		$sheet->getStyle('E1')->getFont()->setBold(true);

		// auto size
		for ($column = 'A'; $column != 'F'; $column++)
		{
			$sheet->getColumnDimension($column)->setAutoSize(true);
		}

		$this->getWriter()->save($this->getArguments()[1]);

		return true;
	}
public function execute()
	{
		parent::execute();

		$sheet = $this->getExcel()->getActiveSheet();

		$sheet->getStyle('A1')->getFont()->setBold(true);
		$sheet->getStyle('B1')->getFont()->setBold(true);
		$sheet->getStyle('C1')->getFont()->setBold(true);
		$sheet->getStyle('D1')->getFont()->setBold(true);
		$sheet->getStyle('E1')->getFont()->setBold(true);

		// auto size
		for ($column = 'A'; $column != 'F'; $column++)
		{
			$sheet->getColumnDimension($column)->setAutoSize(true);
		}

		$this->getWriter()->save($this->getArguments()[1]);

		return true;
	}
(non-PHPdoc)
@see \DasRed\Translation\Command\Executor\Log\ToCsv::execute()