自动创建HTML代码 [英] Automatic create HTML code

查看:84
本文介绍了自动创建HTML代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要开发一个看起来像Frontpage,Dreamweaver,Visual Studio等的APP.

用户可以拉出一个组件,然后保存HTML代码.

例如:
用户拉出一个文本组件,App会自动编写此代码"<input name=''text1'' type="text" id=''text1'' >",用户可以将组件名称更改为"PassportName".

请帮助我.

I need to develop a APP that seems like Frontpage, Dreamweaver, Visual Studio, etc.

User can pull a component then it save the HTML code.

For Example:
User pull a text component, App auto write this code "<input name=''text1'' type="text" id=''text1'' >", user can change the component name to "PassportName".

Please help me.

推荐答案

要完全自己完成任务并非易事.

您可以在.NET中使用Office互操作服务,也可以在Delphi中使用OLE对象来实现此目的.

如果我是您,我会为他们打开一个Word文档,然后让他们在其中执行他们想要的任何操作:
http://www.addictivetips.com/microsoft-office/create -user-entry-forms-in-word-2010/ [
It''s not an easy task to do it completely yourself.

You can use office interop services in .NET or OLE objects in Delphi to achieve this.

If I were you I opened a word document for them and let them do what ever they want in there :
http://www.addictivetips.com/microsoft-office/create-user-entry-forms-in-word-2010/[^]

After that I show them the list of user controls and let them change their names.

Also you can save this document in HTML format but it only will be opened by IE.

Hope it helps.


这篇关于自动创建HTML代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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