-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
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
Add paging to a footer with addHtml #1346
Comments
no, that's not possible. what you can do is add a TextRun to the footer, then add the HTML on that TextRun |
Thanks for your response , but that's not what i wanted to do, i will do it without the html then |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to add paging to a footer with
\PhpOffice\PhpWord\Shared\Html::addHtml($footer, $content,false, true);
I know how to do it like this
$footer->addPreserveText('Page {PAGE} of {NUMPAGES}.');
but i would like to do it with
\PhpOffice\PhpWord\Shared\Html::addHtml($footer, $content, false, true);
The text was updated successfully, but these errors were encountered: