免费论文网 首页

scute系列下载

时间:2017-01-03 07:05:19 来源:免费论文网

篇一:下1-3

七年级下册Units 1---3测验

姓名_________ 得分__________

听力部分(20分)

一、根据所听到的单词顺序,在下列图片下标上号码。(5分)

( )( ) ( ) ( ) (

二、根据所听的单词,填出所缺的字母。(5分)

1.Ch __ na2.l _ ve

3. p __ st 4. b __ nk

5. __ nimal 6. l__ __ f

7. d__ __ ty 8.v__s __ t

9. str__ __ t 10. sh__

三、根据所听的句子,选择正确的答语。(5分)

1. ( ) A. Yes, I am. B. Yes, I do. C. No, I do.

2. ( ) A. CanadaB. school C. hotel

3. ( ) A. Because they’re ugly.

B. Because they’re small.

C. Because they’re cute.

4. ( ) A.No,she isn’t. B. No, she doesn’t. C. No, she can’t.

5. ( ) A.Chinese B. tiger C. swimming

四、听句子,填出所缺的单词。(5分)

1.Where _____ your pen pal _______?

2. He ______________ Paris.

3. Where’s the _________________?

4. ______ do you _______ lions?

5. _______ ______ to the zoo first.

笔试部分(80分)

一、单项选择题。(15分)

( )1. The girl can _________a little English.

A. sayB. speak C. talk

()2. ____________Mary from?

A. What's B. Where C. Where's

()3. Elephants like eating_________, but lions like eating_________.

A. grass, meatB. meat, fish C. meat, grass )

()4. My sister likes singing very much, and my mother likes singing,_________.

A. also B. too C. either

()5. If you want to ask the way, first you should say ―________‖

A. Sorry B. Good morningC. Excuse me

() 6.—Is he from America? —____________.

A. Yes, he doesB. No, he doesn'tC. Yes, he is

()7. The park is _____ Eighth Avenue.

A. to B. downC. on

()8. The bank is _______ the supermarket ______ the hotel.

A. next to B. betweenand C. acrossfrom

() 9. Does he ____________ any brothers or sisters?

A. has B. have C. to have

() 10. They go to school ____________ Monday ____________ Friday.

A. to; to B. to; from C. from; to

()11. Is there a Chinese restaurant behind the hotel?

A. No, there isn’t .B. Yes, it is. C. No, there is.

()12. Lucy likes pandas because they are ____ friendly.

A. kind of B. a kind C. kinds of

()13. Koalas sleep ____ the day and eat ______ night.

A. in in B. duringduring C. during at

()14. Koalas like eating _______

A. leafB. leaves C.meat

()15. Please ____ quiet! The pandas _____ shy.

A. is are B. beareC. beis

二、完形填空。(15分)

My name is Bob. I ___1__ in Toronto, Canada, and I want a pen pal in China. I think China is a very interesting ___2___ I’m 14 __3___ old and my birthday is___4__November. I __5___speak English and a little French. I have a brother, Paul, and a sister, Sarah. They ___6__pen pals in the United Kingdom and Australia. I like ___7___ to the movies ___8___ my friends and playing sports. My favorite subject in school is P.E. It’s fun. But I don’t like math. It’s ___9____!

Can you____10___to me soon?

() 1.A. like B. leaveC. live

() 2.A. country B. cityC. park

() 3.A. year B. yearsC. a year

() 4.A.in B. on C.at

() 5.A.am B. do C.can

() 6.A. have B. hasC.do

() 7.A. go B. goes C.going

() 8.A. with B. andC.or

() 9.A. funB. difficultC.relaxing

() 10.A. read B. give C.write

三、从对话后的方框中选择正确的句子完成对话。(10分)

A:Excuse me.__________1____________

B:No, but there is one on Nanjing Street. And it is a good place to have fun.You can take a taxi to get to Nanjing Street.

A: Can I find a hotel near the park?

B: Yes, you can. ________2___________.

A:Well, is there a band near the park?

B: Yes._______________3____________.There is a supermarket on the corner.Then pass the supermarket, and you can see a small restaurant. ____________4_______________.

A: Thank you very much.

B: ___________5___________.

答案:1._____ 2._______ 3._______ 4._______5._______

四、看图完成对话。(10分)

Is there a library near your classroom?

Yes, ________, ________

2. Where is the supermarket?

______________ the Fourth Avenue.

3. A: Let’s see the pandas.

B: ______ do you want to see the pandas.

A: ________ they are very cute.

4. A: ________ animals do you like ?

B: I like _________.

5. A: Where _____ elephants from?

B: _______ from Africa.

五、 按要求转换句子,每空一词。(10分)

1. I like pandas because they are kind of interesting. (对划线部分提问) _________ _________ you like pandas?

2. I am from American. (对划线部分提问)

______ ______ you from?

3. There are five people in the room.(对划线部分提问)

_________ _________ people are there in the room?

4.对划线部分提问)

____________the pay phone?

5. There is a bank near the shop.(改为一般疑问句并做出否定回答)

_________ _________a bank near the shop?

六、根据汉语完成句子。(10分)

1.你的笔友说什么语言?

________ language does your pen pal ________ ?

2.附近有邮局吗?

_________ _________a post office near here?

3. 向右转,然后沿着这条路一直走下去。

_________ _________and go straight down this road.

4. 收费公用电话在图书馆的隔壁。

The pay phone is_________ _________ the library.

5. 大桥街是个玩乐的好地方。

Bridge Street is a good place to _________ _________.

七、阅读理解 。(10分)

Tom and Jim are brothers. They are from Australia. Tom is 14 years old and Jim is 13 years old.

They speak English and French. Now they are in China. Their family is in China. There are five people in their family. They are their parents, their sister and them. Their mother is a teacher. Their father is a doctor. Their sister is very young. She doesn't go to school. She goes to a kindergarten(幼儿园).They say China is a very interesting place. They like China.

( )1. Tom is from ____________.

A. America B. Canada C. Australia

( )2. They speak ____________.

A. Chinese B. English C. Spanish

( )3. How many people are there in Tom's family?____________

A.3. B.4.C.5.

( )4. What's Jim's father? He's a ____________.

A. doctorB. teacher C. writer

( )5. Why do they like China?

A. Because they think Chinese food is nice.

B. Because they think China is an interesting place.

C. Because they like Chinese people.

答案

听力

一、根据所听到的单词顺序,在下列图片下标上号码。(5分

1.panda 2. dog3. tiger4.giraffa 5. elephant

二、根据所听的单词,填出所缺的字母。(5分)

1.Ch _i_ na2.l i_ ve

3. p _o_ st 4. b _a_ nk

5. _a_ nimal 6. l_e_ _a_ f

7. d_i_ _r_ ty 8.v_i_s _i_ t

9. str_e_ _e_ t 10. sh_y_

三、根据所听的句子,选择正确的答语。(5分)

1. Do you like pandas?

2. Where is your pen pal from?

3. Why do you like koalas?

4. Can she speak English?

5. What language does he speak?

四、听句子,填出所缺的单词。(5分)

1.3. Where’s thelions?

to the zoo first.

根据首字母和句意填入适当的单词

1.She is from Japan. She can speak J_________.

2.Mrs Brown is from Canada. She can speak English and F________.

3.What l ___________ does your pen pal speak? 4. Sydney is in A _______________.

5.My brother l __________ in Canada. 6. Her favorite city is P_________.

7.---Are you from the U _________ K _________ ? --- No, I’m from the U______ S________.

8.---Where is Shanghai? ---- It’s in C __________.

12.Tom likes going to the ______ (电影)on weedends.

13.Alice has a sister and two _______ (兄弟). 14.John can speak a _______ (一点)Chinese.

15. Please write and tell me about ______ (你自己).

补全对话:

A: Is that your new _____ pal, Lucy? B: Yes, it is .

A: Oh, _______ her name? B: Her name is Maria.

A: Uh-huh. And where is she _______ ? B: Um, she’s from Canada.

A: Uh-huh. Where _____ she live? B: She lives _______ Toronto.

A: Does she have _____ brothers and sisters?B: Yes, she does. She _____ two brothers and two sisters.

A: _____ she speak English? B: Yes. She ______ English and Spanish.

句型转换

1. 划线提问)

2. His pen friend is from Japan. (同义句)

3. 划线提问)

4. My sister has some friends in school (该为否定句)

连词成句

1. language, they , speak, what, do ?

2. is, John’s, pal, where, from, pen?

3. write, tell, and, about, please, me, yourself.

篇二:Engelbreits the Name, Cute Is My Game

Mary Engelbreit was a talented but struggling artist in her mid-twenties when she flew to New York from her native Saint Louis, hoping to find work illustrating children's books — her life's goal. So she was disappointed when all the book publishers she visited turned her down. One even suggested her drawings might be better suited to greeting cards.

"I was crushed," Engelbreit admits. Greeting cards seemed a come-down from her high expectations, but the advice stayed with her, and she decided to give it a try. The results transformed her life forever.

玛丽是一个有才华但挣扎的艺术家在她二十多岁时,她飞到纽约,从她的家乡圣路易斯,希望能找到工作,说明儿童书籍-人生目标。所以她很失望,当所有的图书出版商拒绝了她,她参观了。一个甚至建议她图纸可能更适合于贺卡。 Mary "I was crushed," Engelbreit admits. Greeting cards seemed a come-down from her high expectations, but the advice stayed with her, and she decided to give it a try. The results transformed her life forever. “我被承认,“漫画。贺卡似乎因为从她的期望很高,但建议就陪她,她决定给它一试。结果永远改变了她的人生。

Today Mary Engelbreit sells an astonishing 14 million greeting cards a year. Her popular designs appear on more than 2,000 products, including books,

calendars, and kitchen items. She runs a retail company with shops in nine cities (16 more are planned), and her products are carried by 25,000 retailers. Annual retail sales are in the $100 million range — all as a result of that fateful,

disappointing trip to New York. It's probably no accident that one of Engelbreit's bolder cards shows a young girl in overalls, her bare feet up on a desk, a farm field in the window behind her. "We Don't Care How They Do It in New York," the card boasts.

今天玛丽销售了惊人的14000000贺卡一年。她受欢迎的设计出现在超过2000种产品,包括书籍,日历,和厨房用品。她经营一家零售公司的九个城市(16计划),和她的产品由25000个零售商。年度零售额在100000000美元的范围-所有结果是灾难性的,令人失望的纽约之旅。它可能不是偶然的一个漫画的大胆的卡显示一个年轻女孩,她赤裸的脚的桌子上,一场在身后的窗户。”我们不在乎他们如何做,在纽约,“卡拥有。

Once you know Engelbreit's distinctive style, you can recognize her cards from 20 paces away — bright, funny, and with an eye to the past. Her cards usually have elaborate border designs comprised of repeated images: hearts, flowers, peaches, and teapots, for example. Most often, there's Ann Estelle, a woman with short, straight hair, big glasses, hat and an acid tongue. Ann Estelle (named after her grandmother) is the imaginary representative of Mary's outlook.

一旦你知道了惊人的独特风格,你能认出她卡从20步开外的亮,滑稽,和对过去的眼睛。她通常有精致的花边设计由重复的图像:心,花,桃子,和茶壶,例如。最常见的,有安埃斯特尔,一个女子短,直的头发,大大的眼镜,帽子和酸的舌头。埃斯特尔安(按她祖母的名字命名)是虚构的代表玛丽的观。

Engelbreit is cheerful, down-to-earth, humorous, and always cute. "I think the world could use more cuteness," she explains. Indeed, it's her trademark. Her business card once featured a drawing of Ann Estelle, cigar in her mouth and drink in hand, with the message "Engelbreit's the Name, Cute Is My Game." She adds, "As the world gets more complicated, it's nice to have old-fashioned stuff around to help people cope with the demands of modern life. It's like comfort food. This is comfort art."

漫画是开朗,脚踏实地,幽默,和可爱的。”我认为世界可以使用更可爱,”她解释。事实上,这是她的商标。她的名片,一次精选绘制埃斯特尔安,雪茄在她的嘴和饮料在手,与消息“漫画的名字,可爱是我的招牌。”她补充道,“世界变得越来越复杂,它有一个好的老式的东西来帮助人们应付现代生活的挑战。这就像舒适的食物。这是舒适的艺术。

Old-fashioned art — and values — have always been at the core of Engelbreit's life. Born June 5, 1952, in St. Louis, the oldest of three daughters, she started drawing almost as soon as she could hold a pencil.

老式的艺术和价值观——总是在核心的漫画生活。1952年6月5日出世,在圣路易斯,最古老的三个女儿,她开始画几乎只要她能拿铅笔。

One of her earliest memories, from age four, is of sketching her parents all dressed up to go out for the evening. "I was so impressed I had to record it," she says. But what impressed her most were illustrations from the children's books that her mother read to her. Artists such as Jessie Willcox Smith,

她的一个最早的记忆,四岁,是素描她的父母都穿着盛装去参加晚会。”我印象很深刻,我有记录的,”她说。但给她印象最深的是从插图的儿童书籍,她妈妈给她读。艺术家如杰西·,

illustrator of children's literary classics, and Johnny Gruelle, creator of Raggedy Ann, were very influential in the development of her early drawings. While attending secondary school, Engelbreit sold dozens of hand-drawn cards to a local shop for 25 cents a piece — her first venture into art and commerce. She ignored her teachers' advice to become an English teacher and didn't bother with going on to a university because "I was ready to plunge into my life as an artist." Working in an art-supply shop, "I met working artists and realized you can make a living doing this." A later job as a designer at an advertising agency "taught me about the business of art" . 插图的儿童文学经典,和强尼·格鲁埃尔,创建者拉格迪奥恩,是非常有影响力的发展了早期的素描。在上中学,是卖几十手绘卡当地商店25美分-她的第一次创业到艺术和商业。她对她老师的忠告成为一名英语老师,也不想上大学是因为“我是准备投身到我的生命作为一个艺术家。”工作在艺术品原料店,“我会见了工

作的艺术家和意识到你可以赚钱这样做。”后来的工作作为一个设计师在一家广告公司“教我关于艺术的业务”。

1975是满足社会工作者腓德拉诺,和夫妇结婚两年后。德拉诺成为他的妻子的最大支持者。”即使我们没有钱,他说,“去工作,”她说。”我无法表达我的感激之情,对他的支持。”之后,命运多舛的纽约之行,是送去她的图2贺卡

公司。一个买了她的三个原始图纸,和她偶尔的其他工作,素描很多鲸鱼,龙,城堡和神话中的动物。在1980她儿子的出生对她的工作增添了新的元素。”突然,日常生活似乎更感兴趣,”她说。

In 1975 Engelbreit met social worker Phil Delano, and the couple married two years later. Delano became his wife's biggest supporter. "Even when we had no money, he never said, 'Go get a job,'" she says. "I can't express my gratitude for his support." After that ill-fated trip to New York, Engelbreit sent a sample of her drawings to two greeting-card

companies. One bought three of her original drawings, and she did occasional work for the other, sketching a lot of whales, dragons, castles and mythical animals. Then in 1980 the birth of her son added a new element to her work. "Suddenly everyday life seemed more interesting to me," she says.

孩子,宠物,甚至“善良的老妈妈”开始出现在她的贺卡。她的工作成了“日常生活的画卷,每个人都经历过的事情”。在怀孕八个月,在1983,她决定开始自己的公司。在两年的时间里,她的公司生产了近100种不同的贺卡,卖一百万人一年。她在1986许可版权的卡到日出的出版物,谁现在经营自己的生产和分配,让她把重点放在其他项目。这些是她的室内装修杂志,发送到550000人。Children, pets, even "good old Mom" started showing up on her cards. Her work became "pictures of daily life, things everyone's been through". While eight months pregnant, in 1983, Engelbreit decided to start her own company. Within two years, her company was producing nearly 100 different cards and selling a

million of them a year. In 1986 she licensed the copyrights to the cards to Suise Publications, who now manages their production and distribution, allowing her to focus on other projects. Among these is her home-decorating magazine which is sent to 550,000 people.

尽管她的成功,大的脚牢牢地插在。她还住在16公里从她长大的地方,有很多的朋友可追溯到学校来,和从大房子搬到较小的一个,因为,她说,她的家人没有使用的所有空间在老地方。她作画多半在自己家的工作室在晚上。Despite her success, Engelbreit's feet are planted firmly on the ground. She still lives 16 kilometres from where she grew up, has many friends dating back to school years, and moved from a large house to a smaller one because, she explains, her family didn't use all the space in the old place. She does most of her drawing in her home studio at night.

她的工作起飞,在这么多的方向,也许是不可避免的,她最终会实现她的梦想说明儿童书。1993她创造了一份图纸的儿童书,看到它成为一本畅销书。同时,她作出了一个惊人的发现:“这很有趣,但奇怪的是,我还是最喜欢做贺卡。” With her work taking off in so many directions, it was perhaps inevitable that Engelbreit would eventually realize her dream of illustrating a children's book. In 1993 she created drawings for a children's book and saw it become a

best-seller. At the same time she made a surprising discovery: "It was fun, but oddly enough, I like doing cards best."

篇三:CuteEditor高级配置

CuteEditor使用详解 收藏

CuteEditor是一款功能非常强大,支持图片上传、文件下载和word类似的文字编辑器。对于新闻 发布系统和博客之类的系统,是非常的方便的。

一、CuteEditor的配置

1、将以下文件考贝到你站点根目录下的bin内(这些在CuteEditor6.0/bin下都可 以找到)

CuteEditor.dll,

CuteEditor.ImageEditor.dll(6.0增加的EditorImage功能),

CuteEditor.lic(解密文件),

NetSpell.SpellChecker.dll(拼写检查功能)

注:(“.dic”为扩展名的文件是词典保存为纯文本文件的格式。将CuteEditor6.0/bin文件夹里的都拷到站点根目录下的bin内也可以)

2、将CuteSoft_Client文件夹拷贝到项目的根目录

CuteSoft_Client包含CuteEditor文件夹和example.css,放了控件图片,文件之类的数据example.css它指定了 编辑器的样式。(在2.0下可能要把dialog文件夹里面的

getfilethub.aspx删除)

注:FilesPath用来设置所对应的目录,如:

FilesPath="~/admin/CuteSoft_Client/CuteEditor/"

把example.css文件拷贝到相应目录,并设置EditorWysiwygModeCss属性。 如:EditorWysiwygModeCss="/admin/CuteSoft_Client/CuteEditor/themes

/example.css

3、在根目录下建立Uploads的文件夹作为上传图片及附件的根目录

4、将CuteEditor.dll添加到工具箱

先在工具箱空白处右击选择 “添加选择项”,给选项卡添加一外名称为:CuteEditor。再在该选项卡中右击,选择“选择项 ”,在弹出的对话框的“.NET Frameword组件”标签中选择要添加的DLL文件即可。

5、CuteEditor属性设置(假设当前页在根目录下)

1)AutoConfigure设为simple,即选择最简单的界面显示方式

2)EditorWysiwygModecss设为:CuteSoft_Client/example.cs,需要把example.css文件放到该目 录下。

3)FilesPath设为:CuteSoft_Client/CuteEditor,设置CuteEditor目录的路径

6、控件的调用代码如下:

<%@ Register TagPrefix="CE" Namespace="CuteEditor"

Assembly="CuteEditor" %> 如果是按照第4步从工具箱中拖放到页面的话,则此代码会自动生成,不需要要手动添加。

<CE:EDITOR id="Editor1" runat="server" Width="700px"

FilesPath="~/CuteSoft_Client/CuteEditor/"EditorWysiwygModeCss="../example.css" ThemeType="Office2003_BlueTheme"></CE:EDITOR>

或者

<CE:Editor ID="ce1" runat="server"

FilesPath="~/admin/CuteSoft_Client/CuteEditor/"

EditorWysiwygModeCss="~/Admin/CuteSoft_Client/CuteEditor/Themes/example.css" ThemeType="Office2003_BlueTheme" ></CE:Editor>

注:

可修改CuteSoft_Client\CuteEditor\Configuration\AutoConfigure文件夹下的文件,改便 CuteEditor工具栏按钮的显示或排列。

可修改文件

CuteSoft_Client\CuteEditor\Configuration\Shared\Common.config来添加字体。

7、修改Web.config文件

<appSettings>

<add key="DictionaryFolder" value="bin" />

</appSettings>

<system.web>//注本节代码在.net2.0下是否需要设置,本人未验证。

<browserCaps>

tagwriter=System.Web.UI.HtmlTextWriter

</browserCaps>

</system.web>

二、基本属性:

EditorWysiwygModeCss :设置样式

ThemeType :设置风格

AutoConfigure :选择功能是简单还是复杂的

Text :设置加载时候默认内容

MaxHTMLLength :设置最大长度

BreakElement :默认“回车”产生什么HTML

URLType :没发现有什么区别

ResizeMode :自动长度(长度设置的几中形式)

ReadOnly :是否为只读

CustomCulture :设置语言类型 china 为zh-cn

EditCompleteDocument :设置是否完整的HTML页面代码(也就是说是不是包括html头) AllowPasteHtml :是否允许粘帖HTML代码

EnableContextMenu :在文本里是否显示右键菜单

三、CuteEditor文件夹里的配置

1)控制工具拦显示:在CuteSoft_Client/CuteEditor/Configuration/AutoConfigure 里设置

2)控制右键显示:CuteSoft_Client/CuteEditor /Configuration/ContextMenuMode里设

3)设置权限:CuteSoft_Client/CuteEditor /Configuration/Security里设置

例如要设置各种组件的大小等属性限制,如控制上传文件的大小等,可在

CuteSoft_Client/CuteEditor/Configuration /Security修改“Security”文件夹中的“Default.config”文件即可

==========================

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

<security name="RestrictUploadedImageDimension">true</security>//是否限制上传图象尺寸

<security name="OverWriteExistingUploadedFile">false</security>//如果上传的文件已经存在,是否将其覆盖

<security name="UseTimeStampRenameUploadedFiles">true</security> //重命名为时间

<security name="AutoResizeUploadedImages">true</security>//是否自动调整上传图象

<security name="MaxImageWidth">1024</security>//上传图象的最大宽度 <security name="MaxImageHeight">768</security>//上传图象的最小宽度 <security name="MaxImageSize">1000</security>//上传图象文件的最大值 <security name="MaxMediaSize">100</security>//上传媒体文件的最大值 <security name="MaxFlashSize">100</security>//上传Flash文件的最大值 <security name="MaxDocumentSize">10000</security>//文档最大值

<security name="MaxTemplateSize">1000</security>//模板最大值

<security name="ImageGalleryPath">~/uploads</security>//图象文件上传路径

<security name="MediaGalleryPath">~/uploads</security>//媒体文件上传路径

<security name="FlashGalleryPath">~/uploads</security>//Flash文件上传路径 <security name="TemplateGalleryPath">~/templates</security>//模板路径 <security name="FilesGalleryPath">~/uploads</security>//文件库路径

<security name="MaxImageFolderSize">102400</security>//图象文件夹最大值 <security name="MaxMediaFolderSize">102400</security>//媒体文件夹最大值 <security name="MaxFlashFolderSize">102400</security>//Flash文件夹最大值

<security name="MaxDocumentFolderSize">102400</security>//文档文件夹最大值

<security name="MaxTemplateFolderSize">102400</security>//模板文件夹最大值

<security name="ThumbnailWidth">80</security>//最小宽度

<security name="ThumbnailHeight">80</security>//最小高度

<security name="ThumbnailColumns">5</security>//最小列数

<security name="ThumbnailRows">3</security>//最小行数

<security name="AllowUpload">true</security>//是否允许上传

<security name="AllowModify">true</security>//是否允许修改

<security name="AllowRename">true</security>//是否允许重命名 <security name="AllowDelete">true</security>//是否允许删除

<security name="AllowCopy">true</security>//是否允许复制

<security name="AllowMove">true</security> <!-- this is rename too -->//是否允许移动

<security name="AllowCreateFolder">true</security>//是否允许创建文件夹 <security name="AllowDeleteFolder">true</security>//是否允许删除文件夹 <security name="ImageFilters">//这里过滤(设置)图象文件格式

<item>.jpg</item>

<item>.jpeg</item>

<item>.gif</item>

<item>.png</item>

</security>

<security name="MediaFilters">//这里过滤(设置)媒体文件格式

<item>.avi</item>

<item>.mpg</item>

<item>.mpeg</item>

<item>.mp3</item>

</security>

<security name="DocumentFilters">//这里过滤(设置)文档文件格式

<item>.txt</item>

<item>.doc</item>

<item>.pdf</item>

<item>.zip</item>

<item>.rar</item>

<item>.avi</item>

<item>.mpg</item>

<item>.mpeg</item>

<item>.swf</item>

<item>.jpg</item>

<item>.jpeg</item>

<item>.gif</item>

<item>.png</item>

<item>.htm</item>

</security>

</configuration>

========================

4)设置工具拦按钮具体功能:CuteSoft_Client/CuteEditor/Configuration/Shared 里设置

5)设置工具拦按钮具体功能:CuteSoft_Client/CuteEditor/Configuration/Shared 里设置

6)设置语言:CuteSoft_Client/CuteEditor /Configuration/Languages里设置

7)添加字体:CuteSoft_Client/CuteEditor /Configuration/Shared/Common.config里设置

感觉 CuteEditor 每处都可以 改变,因为它整体思路都是用摸板,具体体现形式写在配置文件里面。用户修改配置文件或是它提供的属性就可以实现自己的功能!

四、CuteEditor的服务器端控制

1)设置编辑器的默认文本:

Editor1.Text = "Default Text"; //服务器端方法

var editor =

document.getElementById('<%=Editor1.ClientID %>'); //JavaScript方法 var editorText = editor.getHTML();

2)修改文件的上传目录:Editor1.SetSecurityGalleryPath("~/uploads/jpg");

修改上传文件的总大小(以Flash为例):Editor1.SetSecurityMaxFlashFolderSize(1000); 修改单个上传文件的大小(以Flash为例):Editor1.SetSecurityMaxFlashSize(kb);//默认KB为单位

3)多用户文件夹

由于上传的文件统一被放置到uploads文件夹中,可以通过程序控制为每个用户建立一个上传的文件 夹。代码如下:

using System.IO;

string username = Session["username"].ToString() ;

fullPath = Server.MapPath("uploads\\") + username;

if (!Directory.Exists(fullPath))

{

Directory.CreateDirectory(fullPath);

}

Editor1.SetSecurityGalleryPath("~/uploads/" + username);

五、动态分配CuteEditor上传路径

就是 SetSecurityGalleryPath这个方法可以设置上传路径,这样就可以实现每个用户独立一个文件,甚至可以分配空间大小等。

Editor1.SetSecurityGalleryPath("~/uploads/" + username);

以图片为例

Editor1.SetSecurityImageBrowserPath(path);//设置浏览图片路径

Editor1.SetSecurityImageGalleryPath(path);//设置图片上传路径

Editor1.SetSecurityMaxImageDimension(width,height);//设置图片上传尺寸 Editor1.SetSecurityMaxImageSize(kb);//设置图片上传文件大小

其他还有类似的方法,可以慢慢研究。

六、使cuteeditor支持中文上传

CuteEditor是个非常强大的编辑器,不过也有不尽任意的地方,例如上传不支持中文,不过也有方法解决。

打开CuteSoft_Client\CuteEditor\Configuration\Security \Default.config文件 找到

<security name="filenamePattern" />

把他改成

<security

name="filenamePattern">^[a-zA-Z0-9\._\s-\u4e00-\u9fa5]+$</security>


scute系列下载
由:免费论文网互联网用户整理提供,链接地址:
http://m.csmayi.cn/show/137953.html
转载请保留,谢谢!
相关阅读
最近更新
推荐专题