公司DearBook 相关任务终于结束了。相关的一些问题、bug 修改也完成了。现在转到新版本文档中心的开发中来。

文档中心开发中一个任务就是重写文档中心的Web 编辑器。由于很早 小气的神 的建议,初步考虑是在开源的 FreeTextBox  基础上进行改写。

这一两天就在整理 FreeTextBox 已有的功能中那些是我们需要的,那些是不需要的。以及那些 FreeTextBox 中没有。

同时,在研究 FreeTextBox  基础上,写出一个有适当修改的Web 编辑组件

下面是对 FreeTextBox 控件的类,枚举类型的简单描述。

FreeTextBox 控件的类简单描述

ToolbarItem

它是 ToolbarDropDownList ToolbarButton  ToolbarSeparator 三个类的基类
Abstract class for all toolbar items

ToolbarSeparator

派生自:ToolbarItem
工具条中分割条类

Creates a separator bar in a Toolbar

ToolbarButton

派生自:ToolbarItem
工具条中按钮类

A button used in an Toolbar

ToolbarDropDownList

派生自:ToolbarItem
工具条中下拉列表框类
A DropDownList for a Toolbar

ToolbarButtonStyle

派生自:Style 类
工具条中操作按钮的样式,这些都被保存在:ViewState 中
Contains all the style parameters for ToolbarButtons

ScrollbarStyle

派生自:Style 类
编辑器的样式,这些都被保存在:ViewState 中

FreeTextBox

核心类
派生自:Control 同时具有接口:IPostBackDataHandler, INamingContainer, IPostBackEventHandler
An HTML editor using MSHTML written for ASP.NET.

Toolbar

工具栏
A Toolbar for FreeTextBox

ToolbarGenerator

字符串的形式描述有哪些按钮可用
Builds Toolbars and ToolbarItems from strings

ToolbarItems

所有按钮,下拉列表菜单集合
Contains all the built-in ToolbarButtons and ToolbarDropDownLists

ToolbarListItem

下拉列表项
A DropDownList Item for a Toolbar

FreeTextBoxDesigner

VS.net 设计时候相关配置信息
派生自:ControlDesigner

ToolbarList

工具栏集合
具有 IEnumerator, IEnumerable 接口
Collection of Toolbars

ToolbarItemsList

具体按钮集合
具有 IEnumerator, IEnumerable 接口
Collection of ToolbarItems for Toolbar

ToolbarDropDownListItems

下拉列表项集合
具有 IEnumerator, IEnumerable 接口
Collection for ToolbarDropDownList

PostProcessor

一些html 处理函数集合
Handles HTML processing

FreeTextBox 控件的枚举类型简单描述

AutoConfigure

简单使用,使用所有按钮,实用部分按钮
Several predefined sets of buttons

BreakMode

插入一行的模式,是<p></p>,还是 <br>
Determines what happens when the "enter" key is pressed in the editor

ButtonTitleMode

按钮显示不显示标题
Determines how or if titles are displayed on buttons

ButtonType

按钮类型
Determines how buttons are drawn

DownlevelMode

Determines what is displayed for Downlevel browsers

EditorMode

HTML模式或者编辑模式
Determines which mode the editor is in

HtmlMode

切换到HTML模式的方法
Determines what type of interface is displayed for switching between HtmlMode and DesignMode

PasteMode

粘贴的方式
Determines what happens when a user pastes into the control

ScrollbarMode

滚动条模式
Determines the style of the scroll bar.

ToolbarType

工具条风格
Determines how the toolbars and its buttons and dropdownlists are displayed

 http://blog.joycode.com/ghj/archive/2003/11/12/6371.aspx

posted on 2007-02-05 12:13  mbskys  阅读(189)  评论(0)    收藏  举报