This project is read-only.

setValue and line breaks

Jul 11, 2014 at 7:59 PM
Hi everyone,

First I would like thank you guys for the incredible work you have done with this framework !
My question is how I do a line break into a setValue ?

In my document, I have something like that :
${Value1}

And I want it to become something like this :
First sentence
Second sentence

But it's just a line break, not an array and the string would be "First sentence<br/>Second sentence" or something like that.

Maybe it's not possible yet but if someone has a solution, it would be nice !
Thanks !
Jul 11, 2014 at 8:14 PM
I answer myself finally. I found a way to do it on the website : https://phpword.codeplex.com/workitem/23
Just remplacing the line breaks by "<w:br/>" and it works !

Bye !