Skip to content
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

PHPOffice/PHPWord heading tag not display in Correct font sizes in word document #2010

Open
jayanorangehrmlive opened this issue Jan 25, 2021 · 0 comments

Comments

@jayanorangehrmlive
Copy link

I am working in symphony PHPOffice/PHPWord document download application. I get document template from the database which has been created previously. for my sample testing I have used

php-version 7.2

input html content

<h1 style="text-align: left; background-color: #33cccc;">Heading 1</h1><h2 style="text-align: left; color: #00ff00; background-color: #ff00ff;">Heading 2</h2><h3 style="text-align: left;">heading 3</h3><h4 style="text-align: left;">heading 4</h4><h5 style="text-align: left;">heading 5</h5><h6 style="text-align: left;">heading 6</h6>

Expected behavior different heading tag h1 to h6

Received result

All above heading tags display in 14pt sizes in the downloaded document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant