Page 1 of 1

HTML import without changing font

Posted: Tue Apr 02, 2019 2:55 pm
by martinrame
Hi, I'm importing very simple HTML documents using insertDocumentFromURL, but noticed the imported HTML files use Times New Roman font while the main document uses another one, is there a property in the HTML filter to allow me to use the same font as the main document?.

Re: HTML import without changing font

Posted: Tue Apr 02, 2019 3:29 pm
by JeJe
Don't know, but you can easily apply it afterwards:

Code: Select all

oCurs.insertDocumentFromURL(YourURL,array())
oCurs.charfontname = fontnameyouwant