2
这是我在使用phpWord时遇到的问题: 我添加了2条水平线,然后在它们之间添加了一些文本。但它总是在文本之前占用一行。可否请您让我知道如何删除空格行: 代码块:删除空格在phpWord中的水平线之后
$aLineSty = array('weight'=> 1, 'width' => 720, 'height'=> 0, 'color'=> '000');
$oSection->addLine($aLineSty);
$_sTextInsideLine = 'bla bladshfsdfh dfhdsf sfhsf sfhs bla bla......';
$oSection->addText($_sTextInsideLine, array('size'=> 9.5), $aBodyPara);
$oSection->addLine($aLineSty);
我在Github上已经张贴了这个问题,但没有得到任何回应: Remove space After the horizontal line #712
我已经检查了这个和http://phpword.readthedocs.org/en/latest/也。但是这些文档并没有解决当前的问题 – Hari