Fix non-existing functions in Writer/ODText/Content.php
This commit is contained in:
parent
4dcde8c0a9
commit
537f49eeb4
|
|
@ -115,7 +115,7 @@ class PHPWord_Writer_ODText_Content extends PHPWord_Writer_ODText_WriterPart
|
||||||
$numPStyles++;
|
$numPStyles++;
|
||||||
|
|
||||||
$pPHPWord->addParagraphStyle('P' . $numPStyles, array());
|
$pPHPWord->addParagraphStyle('P' . $numPStyles, array());
|
||||||
$element->setParagraph('P' . $numPStyles);
|
$element->setParagraphStyle('P' . $numPStyles);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -338,4 +338,15 @@ class PHPWord_Writer_ODText_Content extends PHPWord_Writer_ODText_WriterPart
|
||||||
private function _writeEndSection(PHPWord_Shared_XMLWriter $objWriter = null, PHPWord_Section $section)
|
private function _writeEndSection(PHPWord_Shared_XMLWriter $objWriter = null, PHPWord_Section $section)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Dummy function just to make all samples produce ODT
|
||||||
|
*
|
||||||
|
* @todo Create the real function
|
||||||
|
*/
|
||||||
|
private function _writeSection(
|
||||||
|
PHPWord_Shared_XMLWriter $objWriter = null,
|
||||||
|
PHPWord_Section $section)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue