We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The section break is not taking effect.
Please provide a code sample that reproduces the issue.
<?php require __DIR__ . '/vendor/autoload.php'; $phpWord = new \PhpOffice\PhpWord\PhpWord(); $section = $phpWord->addSection(['breakType' => 'nextPage']); $section->addText('Text one'); $section->addText('Text two'); IOFactory::createWriter($phpWord,'Word2007')->save('test.docx');
Text two should be on the second page.
There is no page break separating Text one and Text two, As shown in the image below...
Similarly, for nextColumn...
Please fill in your environment information:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the Bug
The section break is not taking effect.
Steps to Reproduce
Please provide a code sample that reproduces the issue.
Expected Behavior
Text two should be on the second page.
Current Behavior
There is no page break separating Text one and Text two, As shown in the image below...
Similarly, for nextColumn...
Context
Please fill in your environment information:
The text was updated successfully, but these errors were encountered: