How can I auto wrap long word (without spaces) while creating PDF?
Example word = Hellooooooooooooooooooooooooooo
.
I tried this
// This is for each column
$this->sheet->getColumnDimension($columnID)->setWidth(10);
// This is for full data cells ranges.
$this->sheet->getStyle($fullRange)->getAlignment()->setWrapText(true);
and it works fine for Excel output but not for PDF output.