trichview.com

trichview.support.thirdparty




TRvHtmlImporter.LoadHTML and existing styles?


Return to index


Author

Message

Mark Smith

Posted: 01/29/2003 20:19:15


Hi all -


I note that the HTMLImported class wipes the existing styles when it imports

HTML. I'm guessing (not checked) that it uses an embedded style sheet from

the header to create the styles required  by the document. In my case, the

HTML I'm loading is just the BODY element from a database with a default

blank header prefixed onto it.


My suggestion: Add a param 'PreserveStyles' to the LoadHTML method to say

whether to keep the existing styles or not.


Other than that, I'm tremendously impressed with the HTML Imported. Good

work!


Cheers

Mark Smith

www.virtualmethods.com

Mark Smith





Powered by ABC Amber Outlook Express Converter