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



Hi Cindy,

I have tried the Paragrph-By-Paragraph resolvent, but I still got some
additional codes, which included "|||||". Could you post a code snippet over
here about it? (VB or VC++)


Hurry


"Cindy M -WordMVP-" <C.Meister-C@xxxxxxxxxx> :VA.0000ac88.00609f5a@xxxxxxxxx
> Hi Hurry,
>
> > 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"
> >
> Read my previous response carefully. I was NOT asking about tab
characters. I
> was asking which ANSI characters these odd things are that you're picking
up.
>
> Yes, of course a table will generate/contain characters in the range. It
must.
> How else would Word know a table is there? But if you're still trying to
pick
> up characters across an entire range that includes a table, rather than
> paragraph-by-paragraph, that's what you're going to get. And if you can't
> research the question I asked about what character codes these odd
characters
> are, then you really aren't going to get out of this loop you're 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

  • Re: POS Printer
    ... printer These special codes are non-printable ... characters ... I see no reason to be concerned with it at all. ... I know that a POS printer has an internal buffer so just because we send ...
    (microsoft.public.vc.mfc)
  • Re: =?ISO-8859-1?Q?Soup=E7on_of_cedilles_and_aper=E7us?=
    ... Above that are the so-called "extended ASCII codes", ... neither of the non-7-bit-ASCII characters display. ... Unfortunately Mike does not have MIME enabled in his software, ... they are superior to the modern newsreaders. ...
    (alt.usage.english)
  • Re: Unusual paragraph marks--cursor appears AFTER them, etc.
    ... Show/Hide and the characters are typically the same intensity as the other ... reopened the file and the paragraph marks behave normally. ... marks; I guess I've never had a doc that was corrupted in that way... ... I've never seen the 'ghost' para marks as you describe in more than 15 ...
    (microsoft.public.mac.office.word)
  • Re: Text Search IGNORING Certain Characters
    ... have accents or diacritics on them, and then replace the letter with a token ... > some punctuation marks, etc.) both in the English and in the other two ... Is there way to indicate characters ...
    (microsoft.public.sqlserver.fulltext)
  • Re: ?? ??
    ... When the original ASCII standard was defined, ... When the control codes were defined, ... characters as and end-of-line, as it said in the official ignored standard. ... and an operating system requiring CR LF. ...
    (microsoft.public.dotnet.languages.csharp)