This commit is contained in:
Roman Syroeshko 2014-04-10 11:06:39 +04:00
parent f837381238
commit 5b4ed10999
1 changed files with 3 additions and 5 deletions

View File

@ -10,11 +10,8 @@
namespace PhpOffice\PhpWord\Element; namespace PhpOffice\PhpWord\Element;
use PhpOffice\PhpWord\Exception\Exception; use PhpOffice\PhpWord\Exception\Exception;
use PhpOffice\PhpWord\TOC;
use PhpOffice\PhpWord\Element\Footer;
use PhpOffice\PhpWord\Element\Header;
use PhpOffice\PhpWord\Element\PageBreak;
use PhpOffice\PhpWord\Style\Section as SectionSettings; use PhpOffice\PhpWord\Style\Section as SectionSettings;
use PhpOffice\PhpWord\TOC;
/** /**
* Section * Section
@ -177,8 +174,9 @@ class Section extends AbstractElement
* Add header/footer * Add header/footer
* *
* @param string $type * @param string $type
* @param string $header * @param boolean $header
* @return Header|Footer * @return Header|Footer
* @throws Exception
* @since 0.9.2 * @since 0.9.2
*/ */
private function addHeaderFooter($type = Header::AUTO, $header = true) private function addHeaderFooter($type = Header::AUTO, $header = true)