A new row of radio buttons is added immediately above the window for writing a text.
This row could look like this:
Text format: Automatic Fixed width HTML
The HTML behind this could be:
<P>Text format: <INPUT TYPE="RADIO" NAME="textform" VALUE="auto" CHECKED>
Automatic
<INPUT TYPE="RADIO" NAME="textform" VALUE="fixed">Fixed width
<INPUT TYPE="RADIO" NAME="textform" VALUE="html"> HTML
|
The value, which the user sets to textform must be saved, since if the user opens
a window to modify the text, the same setting should be default (CHECKED) for the
modification window.
Automatic could work in the same way as KOM 2000 does today, i.e. trying to
guess if the text contains HTML elements, wrapping words, inserting a <P> for
every blank line.
HTML shoud take the text as specified by the user, treat it as HTML, but not
modify it in any way.
Fixed should let the whole message become preformatted, with line breaks
where the user specifies them, but no other modification of what the user has written
When an existing text is to be modified, the following conversion of the existing
text should be done before writing it into the text window: |