473,385 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Coy content of word to DHTML editor

Hi,

I am trying to copy the content of word document to a
DHMLEditor. When i copy and paste the content in the
editor it shows only a placeholder for the images and it
take different tags rather than html image tag or treates
it as a oleobject.

I want to copy the content and upload the images on the
server and save the content by changing the physical path
of images to virtual path.

When i save the content of the word document in the editor
and view it in webpage it shows empty placeholder in place
of images and when see the source of the webpage it shows
following tags

<P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.4in; TEXT-
ALIGN: center" align=center><?xml:namespace prefix = v ns
= "urn:schemas-microsoft-com:vml" /><v:shapetype
id=_x0000_t75 stroked="f" filled="f"
path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t"
o:spt="75" coordsize="21600,21600"><v:stroke
joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if
lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1
0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1
2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f
eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0
1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7
21600 pixelWidth"></v:f><v:f eqn="sum @8 21600
0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f
eqn="sum @10 21600 0"></v:f></v:formulas><v:path
o:connecttype="rect" gradientshapeok="t"
o:extrusionok="f"></v:path><o:lock aspectratio="t"
v:ext="edit"></o:lock></v:shapetype><v:shape
id=_x0000_i1025 style="WIDTH: 6in; HEIGHT: 267pt" 9] mso
gte <![if o:ole="" type="#_x0000_t75"><o:OLEObject p 1.0<
Fig ObjectID="_1136712275" DrawAspect="Content"
ShapeID="_x0000_i1025" ProgID="PBrush" Type="Embed">
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.4in; TEXT-
ALIGN: left" align=left><FONT size=2><FONT
face=Verdana><SPAN style="mso-tab-count:
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&n
bsp;&nbsp; </SPAN>To create a new role click on "Add
Groups" Button. A following window
appears.</FONT></FONT></P></o:OLEObject></v:shape>

Any solution for this so that i can get html <img src=""/>
tag rather that these all tags for only one image.

Regards
Yaseen
Nov 22 '05 #1
0 881

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: | last post by:
Do any of the ASP programmers on this form utitlize ASP Content Management Systems for any of their customer (or own sites). If so, I would be grateful for any feedback and thoughts on using CMS in...
5
by: Joan | last post by:
I am creating a word document from an asp page. I have no problems actaully creating the document and creating some tables that have data in them. I am using Response.ContentType =...
0
by: Jose Ricardos | last post by:
I'm creating a web site where I want my users to be able to edit articles using a WYSIWYG editor on the web page itself. Ideally they should be able to use headings, bold, upload images and...
0
by: Yaseen | last post by:
Hi, I am trying to copy the content of word document to a DHMLEditor. When i copy and paste the content in the editor it shows only a placeholder for the images and it take different tags...
11
by: rajarao | last post by:
hi I want to remove the content embedded in <script> and </script> tags submitted via text box. My java script should remove the content embedded between <script> and </script> tag. my current...
3
by: sonic | last post by:
Hi, displaying information on a page as MS Word document seems to be as simple as: //OnLoad Response.ContentType = "application/msword"; Response.Write ( MyContentString ); (this assuming...
1
by: Scott Emick | last post by:
I am using the following code. When outlook opens the message and the Outlook HTML editor is the default editor, there is no problem. If Word is the default editor, however, it butchers up the...
7
by: Water Cooler v2 | last post by:
I know what it is, and yet the knowledge of what a CMS is, is so vague that I find myself asking this question every now and then. I've googled and read the resources too. However, the knowledge is...
2
by: dai2 | last post by:
Hi all, I try to make a DHTML editor in C#. I arrive to modify a web page. Now I want to add picture but i don't arrive to find good documentation or sample on the web. Here is my source code...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.