Hi again,
To save some time, I will just show the code that generates it. If you NEED a screenshot/file, I will upload in due course.
$lineNumberingOptions = array(
'countBy' => 5,
'start' => 1,
'restart' => 'newPage'
);
$docx->addLineNumbering($lineNumberingOptions);
Thanks,
Harry