In a web application, users have entered text in a RTF like this:
Text with no actual content, text with no actual content, with no actual content at all, whatsoever. Text with no actual content, text with no actual content, with no actual content at all, whatsoever.
Text with no actual content, text with no actual content, with no actual content at all, whatsoever. Text with no actual content, text with no actual content, with no actual content at all, whatsoever, again and again.
Text with no actual content, text with no actual content, with no actual content at all, whatsoever. Text with no actual content, text with no actual content, with no actual content at all.
That is, after each paragraph, an extra Enter has been entered. In the effort of converting this to HTML editing (using for example Xinha), I’ve made an agent to find each paragraph and add a
tag as well (since after editing, the original newlines are of course removed/not converted to HTML).
BUT, here is the problem. The methods I’ve found to search through the RTF for “newlines” don’t give me the blank rows inbetween (se example above). When using the Example 2 code in the NotesRichTextRange class (Designer Help) it only prompt me with the “full paragraphs”.
So, how would you attack the issue above of replacing/inserting code in the example above to make in appear exactly like that in a WYSIWYG HTML editor…?