By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,805 Members | 1,273 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,805 IT Pros & Developers. It's quick & easy.

Coy content of word to DHTML editor

P: n/a
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
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.