Timothée Garnaud

Results 1 comments of Timothée Garnaud

> $text = "foo\nbar\nfoobar"; > $textlines = explode("\n", $text); > > $textrun = $section->addTextRun(); > $textrun->addText(array_shift($textlines)); > foreach($textlines as $line) { > $textrun->addTextBreak(); > // maybe twice if you want...