public function setHeaders(array $headers)
    {
        $columnNumber = 0;
        foreach ($headers as $header) {
            $this->updateWidth($columnNumber, $this->length($header));
            if (!in_array($header, $this->headers)) {
                $this->headers[] = $header;
            }
            $columnNumber++;
        }
    }