make xmlReplaceBlock public

This commit is contained in:
troosan 2021-02-08 22:08:29 +01:00
parent 6db2927484
commit 264f1590f0
1 changed files with 1 additions and 1 deletions

View File

@ -1182,7 +1182,7 @@ class TemplateProcessor
* @param string $blockType XML tag type of block
* @return \PhpOffice\PhpWord\TemplateProcessor Fluent interface
*/
protected function replaceXmlBlock($macro, $block, $blockType = 'w:p')
public function replaceXmlBlock($macro, $block, $blockType = 'w:p')
{
$where = $this->findContainingXmlBlockForMacro($macro, $blockType);
if (is_array($where)) {