PHPWord icon indicating copy to clipboard operation
PHPWord copied to clipboard

Apply <style> blocks when generating doc files from HTML

Open miguelangelss4 opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

When creating a word doc from HTML, word ignores

Describe the solution you'd like

I think the styles in style bock must be applied to the word file generated.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

I started adding inline style attribute to each element int html, but it is a very large html. Each change in any style is a terrible pain. I tried ussing addParagraphStyle() function or any othe functions similar, but nothing does that I need.

miguelangelss4 avatar Mar 23 '22 16:03 miguelangelss4