src/Compo/ImportBundle/Exporter/Writer/XmlExcelWriter.php
private function setHeader($column, $value)
    {
        $this->setCellValue($column . self::LABEL_COLUMN, $value);
        $this->getActiveSheet()->getColumnDimension($column)->setAutoSize(true);
        $this->headerColumns[$value] = $column;
    }
private function setHeader($column, $value)
    {
        $this->setCellValue($column . self::LABEL_COLUMN, $value);
        $this->getActiveSheet()->getColumnDimension($column)->setAutoSize(true);
        $this->headerColumns[$value] = $column;
    }
private function setHeader ( $ column , $ value ) { $ this -> setCellValue ( $ column . self :: LABEL_COLUMN , $ value ) ; $ this -> getActiveSheet ( ) -> getColumnDimension ( $ column ) -> setAutoSize ( true ) ; $ this -> headerColumns [ $ value ] = $ column ; }
Set column label and make column auto size.

@param string $column
@param string $value
Set column label and make column auto size .