Lines height management in RTF areas

I’d like to have the choice to change the line height of a RTF text.
I see that there are some problems with rtf tags (http://forum.servoy.com/viewtopic.php?t=3736) but I hope dev team can find a solution anyway. :-)

PS: I don’t know if it can help, but I found a tag (different from the one TextEdit under OSX generates when changing line spacing) in the RTF Official Specifications that could possibly do the job:

\slN Space between lines. If this control word is missing or if \sl0 is used, the line spacing is automatically determined by the tallest character in the line. If N is a positive value, this size is used only if it is taller than the tallest character (otherwise, the tallest character is used). If N is a negative value, the absolute value of N is used, even if it is shorter than the tallest character.

If anyone is interested - I’ve written an example file that shows how to do HTML to RTF and RTF to HTML examples.

You can download at: http://developer.servoy.com/downloads/example_convert_rtf_html.servoy

You can easily re-write the RTF header to include the line spacing based on a preference or whatever.

Hope it helps.

bcusick:
If anyone is interested - I’ve written an example file that shows how to do HTML to RTF and RTF to HTML examples.

You can download at: http://developer.servoy.com/downloads/example_convert_rtf_html.servoy

You can easily re-write the RTF header to include the line spacing based on a preference or whatever.

Hope it helps.

Wow: I’ll test it immediately.
Thanks, Bob :-)