[FIXED] Dockblocks for https://github.com/PHPOffice/PHPWord/pull/187.
This commit is contained in:
parent
5b4ed10999
commit
4849bb271c
|
|
@ -9,12 +9,13 @@
|
||||||
|
|
||||||
namespace PhpOffice\PhpWord\Writer\Word2007;
|
namespace PhpOffice\PhpWord\Writer\Word2007;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
|
||||||
use PhpOffice\PhpWord\TOC;
|
|
||||||
use PhpOffice\PhpWord\Element\Section;
|
|
||||||
use PhpOffice\PhpWord\Element\PageBreak;
|
use PhpOffice\PhpWord\Element\PageBreak;
|
||||||
|
use PhpOffice\PhpWord\Element\Section;
|
||||||
|
use PhpOffice\PhpWord\Exception\Exception;
|
||||||
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpOffice\PhpWord\Shared\XMLWriter;
|
use PhpOffice\PhpWord\Shared\XMLWriter;
|
||||||
use PhpOffice\PhpWord\Style\Font;
|
use PhpOffice\PhpWord\Style\Font;
|
||||||
|
use PhpOffice\PhpWord\TOC;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Word2007 document part writer
|
* Word2007 document part writer
|
||||||
|
|
@ -24,7 +25,9 @@ class Document extends Base
|
||||||
/**
|
/**
|
||||||
* Write word/document.xml
|
* Write word/document.xml
|
||||||
*
|
*
|
||||||
* @param PhpWord $phpWord
|
* @param \PhpOffice\PhpWord\PhpWord $phpWord
|
||||||
|
* @return string
|
||||||
|
* @throws \PhpOffice\PhpWord\Exception\Exception
|
||||||
*/
|
*/
|
||||||
public function writeDocument(PhpWord $phpWord = null)
|
public function writeDocument(PhpWord $phpWord = null)
|
||||||
{
|
{
|
||||||
|
|
@ -81,8 +84,8 @@ class Document extends Base
|
||||||
/**
|
/**
|
||||||
* Write begin section
|
* Write begin section
|
||||||
*
|
*
|
||||||
* @param XMLWriter $xmlWriter
|
* @param \PhpOffice\PhpWord\Shared\XMLWriter $xmlWriter
|
||||||
* @param Section $section
|
* @param \PhpOffice\PhpWord\Element\Section $section
|
||||||
*/
|
*/
|
||||||
private function writeSection(XMLWriter $xmlWriter, Section $section)
|
private function writeSection(XMLWriter $xmlWriter, Section $section)
|
||||||
{
|
{
|
||||||
|
|
@ -96,8 +99,8 @@ class Document extends Base
|
||||||
/**
|
/**
|
||||||
* Write end section
|
* Write end section
|
||||||
*
|
*
|
||||||
* @param XMLWriter $xmlWriter
|
* @param \PhpOffice\PhpWord\Shared\XMLWriter $xmlWriter
|
||||||
* @param Section $section
|
* @param \PhpOffice\PhpWord\Element\Section $section
|
||||||
*/
|
*/
|
||||||
private function writeEndSection(XMLWriter $xmlWriter, Section $section)
|
private function writeEndSection(XMLWriter $xmlWriter, Section $section)
|
||||||
{
|
{
|
||||||
|
|
@ -208,7 +211,8 @@ class Document extends Base
|
||||||
/**
|
/**
|
||||||
* Write page break element
|
* Write page break element
|
||||||
*
|
*
|
||||||
* @param XMLWriter $xmlWriter
|
* @param \PhpOffice\PhpWord\Shared\XMLWriter $xmlWriter
|
||||||
|
* @param \PhpOffice\PhpWord\Element\PageBreak $pagebreak
|
||||||
*/
|
*/
|
||||||
protected function writePageBreak(XMLWriter $xmlWriter, PageBreak $pagebreak)
|
protected function writePageBreak(XMLWriter $xmlWriter, PageBreak $pagebreak)
|
||||||
{
|
{
|
||||||
|
|
@ -224,7 +228,8 @@ class Document extends Base
|
||||||
/**
|
/**
|
||||||
* Write TOC element
|
* Write TOC element
|
||||||
*
|
*
|
||||||
* @param XMLWriter $xmlWriter
|
* @param \PhpOffice\PhpWord\Shared\XMLWriter $xmlWriter
|
||||||
|
* @param \PhpOffice\PhpWord\TOC $toc
|
||||||
*/
|
*/
|
||||||
protected function writeTOC(XMLWriter $xmlWriter, TOC $toc)
|
protected function writeTOC(XMLWriter $xmlWriter, TOC $toc)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue