1
太字で前後に段落を区切ってインデントしたテキストがあります。 私は3つのプロパティを一緒に使用することはできません。phpWordでのボールド、スペーシング、およびインデントテキスト
これは大胆かつ間隔を置いたために働く:
$section = $phpWord->addSection();
$section->addText(
'Re: Your Application for Post of Security Guard',
array('bold' => true),
array('space' => array('before' => 360, 'after' => 280))
);
、これはインデントのために動作します:
$section = $phpWord->addSection();
$section->addText(
'Re: Your Application for Post of Security Guard',
array('indentation' => array('left' => 540, 'right' => 120))
);
が、これは動作しません:
$section = $phpWord->addSection();
$section->addText(
'Re: Your Application for Post of Security Guard',
array('bold' => true),
array('space' => array('before' => 360, 'after' => 280)),
array('indentation' => array('left' => 540, 'right' => 120))
);
誰も私を助けることができますか?
任意のphpWordの専門家がそこに存在しません今日。 – Benjamin