Reply
 
Thread Tools Display Modes
  #1   Report Post  
Jed
 
Posts: n/a
Default how to get contents in table with format

Now,I create a button to get the word and display it in my program.But when
there is a table in the word ,after I click the button ,I will see the
content in my program without the table.
How can I get the content with table?
My code is :

oWordApplic = new Word.ApplicationClass();
oDoc=new Word.Document();
string strContent = "";
Open(strFilePath);
object x="3";
oDoc.ConvertNumbersToText (ref x);
strContent = oDoc.Content .Text ;
return strContent;



who can help me ?Thanks!!!

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
table of contents, onable to work with index(point), format etc tobefixed Microsoft Word Help 1 August 29th 05 05:17 PM
Document format changed upon updating table of contents kam14 Microsoft Word Help 0 August 4th 05 07:46 PM
Item in Table of Contents throw off numbering Robert McN Page Layout 4 January 27th 05 12:50 AM
Format of Table of Contents Russell Brook Page Layout 6 December 20th 04 04:38 PM
How do I format my Table of Contents to have hyperlinks? fadeout Microsoft Word Help 3 December 13th 04 10:21 PM


All times are GMT +1. The time now is 01:56 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"