CSS in RvHtmlImporter
CSS in RvHtmlImporter
Does RvHtmlImporter take in account CSS styles - internal or external? Doesn't seem to in the actiontest demo, but is this a limitation of the component or the demo?
Anyone extended RvHtmlImporter to deal with CSS styles?
Anyone extended RvHtmlImporter to deal with CSS styles?
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
First, the last version of the RVHtmlImporter understands CSS saved by TRichView.SaveHTMLEx.
If you need to load arbitrary CSS, you need a thirdparty HTML parser capable to read CSS. For example, I believe, a commercial version of pbear.com components has such parser, and it can be used to read in trichview (not a simple plug&play, of course, a code filling trichview from the parser results is required)
If you need to load arbitrary CSS, you need a thirdparty HTML parser capable to read CSS. For example, I believe, a commercial version of pbear.com components has such parser, and it can be used to read in trichview (not a simple plug&play, of course, a code filling trichview from the parser results is required)
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 81
- Joined: Mon Aug 29, 2005 5:00 am
There has a free version: ThtmlLite HTML Viewer Component. It may be useful.
And here: http://www.torry.net/pages.php?id=216 has a lot of free html parsers.
Maybe somebody make an example for reading htms with css?
And here: http://www.torry.net/pages.php?id=216 has a lot of free html parsers.
Maybe somebody make an example for reading htms with css?
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Ok, these files were sent to me about 1 year ago by Andrej Sandorf (his email can be found in source files) with comments:
http://www.trichview.com/support/files/html/Please note: it's a beta and only used in a private projects. so it's not well tested. And after all: it's the work of two short weekends and i'm still a newbie in generating richview documents as you had seen with those invalid empty hyperlinks (which meanwhile are fixed). But i think it's not that bad.
I attached the zipped source and a zipped demo (with source) (upx-packed).
We use Pbear for thirdparty HTML parsing
We bougt the licence, but now Dave's HTML Viewer Components are free for download.
http://pbear.com/
http://pbear.com/
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: