Assume there is an RTF file (MS WORD RTF). In this file there are some texts and tables. In between these texts there are some TAGs put (as for example <<CompanyAddress>> or <<CompanyName>>). These TAGS has to be replaced by external texts available in HTML format.
The HTML texts do not need to be very complex. It is enough if basic formatings are available.
Fonts, Fonts size, Fonts color, Background color,
Bold, Italic, Underlined,Crossed, etc.
IF HTML texts are having not any formatiing (plain text) then these texts are shown inside RTF with formating defined in RTF file.
IF HTML texts are with some formatings then these formating have to be visible in RTF file.
If for example HTML text is as follows:
"This is <bold> my </bold> home" which place word "by" with bold formating then in RTF this text appears with font, font sice etc specified by RTF but the word my " should be with bold formating.
If the text in HTML is as follows:
"<font type A><font size X><Font Color B>This is my home</Font type A> </Font Size X></FontColor B>"
then the text inRTF is displayed with formation specified by HTML (except these formationgs which are not shown in HTML text.
Above expalnation is a bit simplified but I hope is clear enough.
So we look for a mechanism, which can put a HTML text into specified place in RTF file.
The solution have to be written using Java (desktop)