Export to HTML with external CSS
Export to HTML with external CSS
Is there a way to export RVE into HTML but with external CSS file?
-
- 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, call DeleteUnusedStyles(True, True, True).
Then load document one by one, but not using LoadRVF/LoadRVFFromStream, but by
Unlike the loading methods, InsertRVFFromStream merges styles.
After loading, you can save HTML.
Finally, after saving the last document, you can save CSS in a file, because TRVStyle accumulated all necessary styles.
Then load document one by one, but not using LoadRVF/LoadRVFFromStream, but by
Code: Select all
Clear;
InsertRVFFromStream(Stream, 0).
After loading, you can save HTML.
Finally, after saving the last document, you can save CSS in a file, because TRVStyle accumulated all necessary styles.