File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Classes/PHPWord/Writer/ODText Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ public function writeContent(PHPWord $pPHPWord = null)
115
115
$ numPStyles ++;
116
116
117
117
$ pPHPWord ->addParagraphStyle ('P ' . $ numPStyles , array ());
118
- $ element ->setParagraph ('P ' . $ numPStyles );
118
+ $ element ->setParagraphStyle ('P ' . $ numPStyles );
119
119
}
120
120
}
121
121
}
@@ -338,4 +338,15 @@ protected function _writeTextBreak(PHPWord_Shared_XMLWriter $objWriter = null)
338
338
private function _writeEndSection (PHPWord_Shared_XMLWriter $ objWriter = null , PHPWord_Section $ section )
339
339
{
340
340
}
341
+
342
+ /**
343
+ * Dummy function just to make all samples produce ODT
344
+ *
345
+ * @todo Create the real function
346
+ */
347
+ private function _writeSection (
348
+ PHPWord_Shared_XMLWriter $ objWriter = null ,
349
+ PHPWord_Section $ section )
350
+ {
351
+ }
341
352
}
You can’t perform that action at this time.
0 commit comments