SaveHTMLEx/SaveCSS

General TRichView support forum. Please post your questions here
Post Reply
cwig
Posts: 34
Joined: Tue Oct 11, 2005 7:43 pm

SaveHTMLEx/SaveCSS

Post by cwig »

I need to include text from two different TRichView components using different TRVStyle components in the same HTML page. The problem is, the name of the styles in both css files are the same, thus the format gets messed up. Is there a solution to this problem?
Sergey Tkachenko
Site Admin
Posts: 17602
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

No, it's not possible in the current version.

May be you can create a common CSS for all editors?

You can do it, for example, by adding all documents in one TRichView using InsertRVFFromStream.
cwig
Posts: 34
Joined: Tue Oct 11, 2005 7:43 pm

Post by cwig »

Sergey Tkachenko wrote:No, it's not possible in the current version.

May be you can create a common CSS for all editors?

You can do it, for example, by adding all documents in one TRichView using InsertRVFFromStream.
Unfortunately, that will not work. I think I can find a workaround, but it would be useful in the future if it was possible to specify a prefix to be added to the style names when saving to the css file.
Sergey Tkachenko
Site Admin
Posts: 17602
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

You can use "inline styles" option. In this mode, a CSS table of named styles is not created, styles are specified directly in place where they are used (without names).
The resulting HTML file is much larger, though.
Post Reply