I am using PphPresentation library to create powepoint presentations.
I am trying to create a newline inside of textshape.
This is part of the code
$currentSlide=$objPHPPresentation->createSlide();
$textRun = $shape->createTextRun('Estado de Fuerza: '.$personal['ef'].' Elementos. '.'Población: '.$personal['pb'].' hab. '.'Faltante: '.$personal['fal'].' Elementos.');
And I get something like this:
Fuerza: 0 Elementos Población: 10987 hab. Faltante: -31 Elementos.
But what I want to get is this:
Fuerza: 0 Elementos
Población: 10987 hab.
Faltante: -31 Elementos.