Page 1 of 1
SaveHTMLEx/SaveCSS
Posted: Tue Oct 11, 2005 7:48 pm
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?
Posted: Wed Oct 12, 2005 4:30 pm
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.
Posted: Wed Oct 12, 2005 7:04 pm
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.
Posted: Sat Oct 22, 2005 2:41 pm
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.