paste html

General TRichView support forum. Please post your questions here
Post Reply
jian54320
Posts: 1
Joined: Mon Jun 20, 2011 1:51 pm

paste html

Post by jian54320 »

hi,
i test the exe demo"srv_actiontest"and "actiontest".there are some question need your help.
1.
i want to paste the html to richview from clipboard.how?
2. how to import a html from file.
3.
the line spacing can be setted as any number?for example,1.01 or 20.9?

thanks
regards
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

1-2) HTML import is not supported directly. You need to use free additional components for load or paste HTML.
They can be found here: http://www.trichview.com/resources/ :
TrvHtmlImporter and TrvHtmlViewImporter.
TrvHtmlViewImporter is recommended, but it requires additional free thirdparty component (THTMLViewer; googlecode's version is recommended). See readme.txt for TrvHtmlViewImporter.
RichViewActions support pasting and inserting HTML files using either TrvHtmlImporter and TrvHtmlViewImporter. See readme.txt for RichViewActions.

3) Line spacing, in "multiple" mode, is defined in integer %. So yes, you can define it with the precision of 2 digits after a decimal point.
(but unfortunately we have problems importing line spacing from HTML correctly with the components mentioned above).
Post Reply