# Paste text from document file to HTML AREA

**URL:** <https://forum.servoy.com/t/paste-text-from-document-file-to-html-area/4663>\
**Category:** Classic Servoy\
**Created:** [August 27, 2005, 5:29am UTC](https://forum.servoy.com/t/paste-text-from-document-file-to-html-area/4663 "2005-08-27T05:29:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmad](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@ahmad](https://forum.servoy.com/u/ahmad)\
**Post date:** [August 27, 2005, 5:29am UTC](https://forum.servoy.com/t/paste-text-from-document-file-to-html-area/4663/1 "2005-08-27T05:29:33Z")

</div>

Hi,

I tried to copy the text from the Microsoft word document to the html area field but nothing happened.

Any idea about this?

Thanks

---

<div class="post-metadata">

**Author:** ![Riccardino](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Riccardino](https://forum.servoy.com/u/Riccardino)\
**Post date:** [August 27, 2005, 9:02am UTC](https://forum.servoy.com/t/paste-text-from-document-file-to-html-area/4663/2 "2005-08-27T09:02:16Z")

</div>

> ahmad:  
> Hi,
> 
> I tried to copy the text from the Microsoft word document to the html area field but nothing happened.
> 
> Any idea about this?
> 
> Thanks

What about setting the field to rtf area? I use it very often and it works…

---

<div class="post-metadata">

**Author:** ![ahmad](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@ahmad](https://forum.servoy.com/u/ahmad)\
**Post date:** [August 27, 2005, 9:38am UTC](https://forum.servoy.com/t/paste-text-from-document-file-to-html-area/4663/3 "2005-08-27T09:38:49Z")

</div>

> Riccardino:  
> What about setting the field to rtf area? I use it very often and it works…

The only reason I keep the field as HTML Area is because the data is to be displayed on the web

Any way to display the rtf data on the web with all the formattings?

Thanks

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [August 27, 2005, 10:29am UTC](https://forum.servoy.com/t/paste-text-from-document-file-to-html-area/4663/4 "2005-08-27T10:29:08Z")

</div>

Put a textarea field somewhere on your form that has the same dataprovider. Only then you can see why things not work the way you want.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![ahmad](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@ahmad](https://forum.servoy.com/u/ahmad)\
**Post date:** [August 27, 2005, 12:09pm UTC](https://forum.servoy.com/t/paste-text-from-document-file-to-html-area/4663/5 "2005-08-27T12:09:32Z")

</div>

> ROCLASI:  
> Put a textarea field somewhere on your form that has the same dataprovider. Only then you can see why things not work the way you want.

Yes. I do already. Nothing happens when you copy & paste from word document.

Is there anyway to convert the rtf data to html so that I use the rtf field for display within Servoy and when I need to upload to the web I could convert to html

Is it possible?

Thanks

---

<div class="post-metadata">

**Author:** ![grahamg](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@grahamg](https://forum.servoy.com/u/grahamg)\
**Post date:** [August 27, 2005, 12:55pm UTC](https://forum.servoy.com/t/paste-text-from-document-file-to-html-area/4663/6 "2005-08-27T12:55:25Z")

</div>

Hi Ahmed

You did not provide the context of this requirement - but if you only need to copy Word text to the HTML field occasionally - you could copy the Word text into Dreamweaver (or similar HTML editor) and use the HTML that it creates.

Graham Greensall  
Worxinfo Ltd

---

<div class="post-metadata">

**Author:** ![ahmad](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@ahmad](https://forum.servoy.com/u/ahmad)\
**Post date:** [August 27, 2005, 1:04pm UTC](https://forum.servoy.com/t/paste-text-from-document-file-to-html-area/4663/7 "2005-08-27T13:04:57Z")

</div>

> grahamg:  
> Hi Ahmed  
> you could copy the Word text into Dreamweaver (or similar HTML editor) and use the HTML that it creates.

Thanks Graham.. That’s an useful option but I’m worried that I’m involving the client with an additional step which I know they don’t expect it as a solution.

So is there a plugin or bean for html to use within Servoy with all the standard functions and also way to insert tables and embed pictures from web link or a blob etc..??

Your help will save my life from my screaming clients..

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [August 27, 2005, 1:17pm UTC](https://forum.servoy.com/t/paste-text-from-document-file-to-html-area/4663/8 "2005-08-27T13:17:34Z")

</div>

Would the HTML editor plugin from HJK be your solution? I think you can find it in the plugins section…

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [August 27, 2005, 2:46pm UTC](https://forum.servoy.com/t/paste-text-from-document-file-to-html-area/4663/9 "2005-08-27T14:46:38Z")

</div>

Yes, you will find it here: [http://forum.servoy.com/viewtopic.php?t=3895&start=0](http://forum.servoy.com/viewtopic.php?t=3895&start=0)

I will setup some nice demos of the SHE-plugin on Servoy World!
