所见即所得的Delphi编辑器组件 [英] WYSIWYG HTML Editor Component for Delphi

查看:463
本文介绍了所见即所得的Delphi编辑器组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从我的Delphi应用程序发送电子邮件。我需要的是一个WYSIWYG编辑器,我可以在应用程序中使用HTML编辑器来创建电子邮件的正文。有任何想法吗?谢谢,Pieter。

解决方案

我们使用了 TRichView 刚刚做了HTML电子邮件功能,发现它相当充足。我们确实评估了 WpTools ,它确实按照我们想要的方式做我们的需求特别是当我们总是尝试购买站点许可证时。特别是当我们总是尝试购买站点许可证时。



我们使用WpTools找到的一件事是它实现了一个可视化组件或一组视觉组件您可以放在实现所有WYSIWYG UI(例如工具栏等)的窗体上。对于TRichView实现同样的事情花了一点时间。



关于从/到html的转换 - TRichView可以本地导出html,但需要第三方库导入html不幸的是(对我们来说)不是商业上的支持(即社区驱动的)。所以我们本来就把所有内容存储在RichText中,只有发送电子邮件时才把它转换成html。 WpTools可以自己导入/导出到html。


I need to send Email from my Delphi application. What I need is a WYSIWYG editor that I can use in the application to create the body of the email in HTML. Any ideas? Thanks, Pieter.

解决方案

We've used TRichView just recently to do HTML email functionality and found it quite adequate. We did evaluate WpTools and it does do exactly what we wanted however for our needs it was just too expensive especially when we always try and purchase site licences.

One thing we did find with WpTools is that it did implement a visual component or set of visual components that you could drop onto a form that implement the whole WYSIWYG UI (e.g. toolbars and such). It took a bit longer with TRichView to achieve the same thing.

Regarding conversion from/to html - TRichView can export html natively, however requires third-party libraries to import html which unfortunately (for us) are not commercially backed (i.e. community driven). So we've resorted to storing all content in RichText natively and only when sending the email do we convert it to html. WpTools has the ability to import/export to html natively.

这篇关于所见即所得的Delphi编辑器组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆