Streaming only the body of an MSWord document

G

Guest

Is there some way to stream only the body of a Word document (.doc), without
all the hidden information, such as the gobbledygook at the top and document
prroperties?
 
J

John Timney \( MVP \)

no - that would not be a complete document. What you could do is invoke
word server side and pick out the sections you needed and return them as
text with a doc extension leaving all the properties and stuff blank when
word opened it as a new document.
 
K

Kevin Spencer

What exactly are you asking? Do you only want to send the text in the
document?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Who is Mighty Abbott?
A twin turret scalawag.
 
G

Guest

How would one go about that?

John Timney ( MVP ) said:
no - that would not be a complete document. What you could do is invoke
word server side and pick out the sections you needed and return them as
text with a doc extension leaving all the properties and stuff blank when
word opened it as a new document.

--
Regards

John Timney
Microsoft MVP
 
G

Guest

I want the text at a minimum. Formatted text would be better. The whole
"public face" of the document would be best.
Basically, what i'm trying to accomplish is to display the contents of
documents uploaded by users within the context of my site, rather than
serving up the whole document outside the page.
I hope that makes sense.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top