Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
Hello,
Is it possible to make a jump to the line ?
Because at present time, I do this :
$liste_day_et_heure .= "le ".date('d-m-Y',$donnees['date_presence'])."
".$horaire;
$docx->replaceTemplateVariableByHTML('liste_joursethoraire', 'inline', '
'.$liste_day_et_heure);
But I lose the formatting of the text
Do you have a solution to this problem ?
Hello,
You need to add the styles as custom styles when creating the document with Word.
You can get more information on
https://support.office.com/en-nz/article/Style-basics-in-Word-d382f84d-5c38-4444-98a5-9cbb6ede1ba4
Regards.