Re: How to get the plain text (without "||||||||||") from word ducment includes table?



Hi Cindy,

Nope, I dont know if it is special table marks in Word, but I am sure that
it is not ANSI tab mark. I guess those additional marks might be defined as
MS Word-Specified Tabble mark, cause in that those codes always be out there
every time the document include table contents. The problem is that the
number of characters retrieved from Range.Text doesnt equal to it that the
result from Range.Characters.Count. You could try verify the result for
"Range.Characters.Count" and "number of characters of Range.Text", if you do
so, you can find they are always different results if your active document
includes some "Table contents"


Hurry



"Cindy M -WordMVP-" <C.Meister-C@xxxxxxxxxx> :VA.0000ac70.00ff4daa@xxxxxxxxx
> Hi Hurry,
>
> > I have tried walking through the paragraphs and then retrieve text by
call
> > "paragraphs(index).Range.Text", as result the table like marks were
still
> > there. It did not equal to the number of
> > "paragraphs(index).Range.Characters.Count" yet that the length of text
> > retrieved by invoke "paragraphs(index).Range.Text" What else should I
do?
> >
> Can you get the ANSI character codes for these "table marks"? I've never,
> ever seen anything to do with any tables when picking up range.text from
> paragraphs in a table...
>
> Please also post the code you're using to get the document object and pick
> up the text. And which programming language environment are you working
in?
>
> Cindy Meister
> INTER-Solutions, Switzerland
> http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
> http://www.word.mvps.org
>
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)
>


.



Relevant Pages