I am trying to create html slides, and it works ok. However, when I have a html text that looks like this:
Also, there is an “empty line” at the beginning.
h1
h2
h3
h4
h5
h6
Hi Dominik,
I don’t think you understood what I wrote. Of course I am using a text frame, otherwise, it wouldn’t work at all. I was following this example:
I am creating a textFrame and then call addFromHtml:
shape.getTextFrame().getParagraphs().addFromHtml(content)
And it works (mostly), except for headings, as the picture clearly shows. Can you tell me why?
Hi Dominik,
I have observed your comments and request you to please share the working sample code along with source presentation, source html, generated presentation and desired output presentation. I will investigate the issue further on my end based on shared information to help you out.
Many Thanks,
.) There is no source presentation
h1
h2
h3
h4
h5
h6
”Hi Dominik,