 |
|
 |
I found a little bug:incorrect HTML <div><SPAN STYLE="COLOR:#E01301"><span style="background-color:window"><span style="font:normal normal normal 9pt/normal Courier New"><p style="text-align:Left">P</span><span style="background-color:window">e</span><span style="background-color:window">n</span><span style="background-color:window">g</span><span style="background-color:window">u</span><span style="background-color:window">i</span><span style="background-color:window">n</span><span style="color:black"></span><span style="background-color:window">!</span></span></SPAN></p></div>
1.It translates letter by letter 2.<span ....><span....>ABC</span></span> -not correct , The first letter looks like the first in RTF, but others-Times New Roman,12 <span .... ....>ABC</span> -correct
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
 |
I found the same problem. To fix it I moved the two lines "clrBackColor = _rtfSource.SelectionBackColor" to before the colors are converted to html color. The conversion some how changes it from "WindowColor" as it is first read to "White". (vb 2008 at least)
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
I don't have the code here and can't download it here. I'll try to remember to post in the next few days. There were only to places it needed to be changed. If you search for:
clrBackColor = _rtfSource.SelectionBackColor
Cut it and then look look for the sub/function call just a few (one or two I think) lines before it and paste it. Still I'll try to post the part I'm talking about later in case you still cannot find it.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Hi , This is realy cool peice of code..... but i am stuck on saving out images inside my RTF control, like i have images in my RTF control, but after using your code it won't save out my images inside the HTML file ? any idea to sort this i am realy stuck at thwe movement ... thanks
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
 |
hi, a very nice code
it converts very well
but i want that converted html code to save as an html file in my desired location
thanks in advance
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
Nicely done! Might be nice for beginners to have the example project to go along with the class.
Kevin S. Gallagher Programming is an art form that fights back
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
This is cool, but it would be super if it could also convert extended text charcters such as: "< >" ?
By the way, in typing the above characters, I used the extended characters, which produced the signs as displayed. I would really like to code that into a project so my wife doesn't have to do the manual conversions!
Any ideas about code for such conversions?
Cool project, though!
Gary
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
Hello,
I would like to adapt the source code to display underline text and bullet list items.
How can it be done ?
Thanks for any help,
Frédéric ROBERT
frederic.robert@rocketmail.com
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Relatively easily you can check for underline or bulleted items just like I check for formatting. then for underline do a at the beginning and a at the end, OR you can do it in a span with style (better solution)
As for bullets you'll need to check for congrous bullets and stick them in a list then loop through the list and place each elemeng in an |
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
Nice work buddy, This is good but it is more batter if u provides reverse compatibility, My means to say HTML to Rich Text conversion...
If you have any idea, than please let me know.

|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
|
 |
|
 |
Hi George,
This is really a useful component indeed. Also, I'm fascinated by the RichText Editor part which you used in the example (but only the image-view is shown in article). I would appreciate if you could share the code for that example also.
Great work... Keep it up.
Regards & Greetings, Rajesh
Rajesh Moriyani rkmoriyani@gmail.com
|
| Sign In·View Thread·PermaLink | 2.36/5 (11 votes) |
|
|
|
 |
|
|
 |
|
|
 |