H
Hurry Wood
I write addin for Word 2k. The task is to retrieve plain text of word
document and do some process on them, then position them back to doucment.
The problem is that the number of characters returned by
"Document.Characters.Range.Count" does not equal to the number of characters
of text returned by "Document.Characters.Range.Text". Actually, that problem
always takes place when the ducment includes some tables or cells. The task
require to retrieve "Plain text" from document, but as the result of
research, I find the Tables or Cells are translated to some special
characters (i.e. "||||||||||||||||"). Those special characters are not
allowed in my task, how to get the plain text (without table characters
"||||||") from the doucment?
Hurry
document and do some process on them, then position them back to doucment.
The problem is that the number of characters returned by
"Document.Characters.Range.Count" does not equal to the number of characters
of text returned by "Document.Characters.Range.Text". Actually, that problem
always takes place when the ducment includes some tables or cells. The task
require to retrieve "Plain text" from document, but as the result of
research, I find the Tables or Cells are translated to some special
characters (i.e. "||||||||||||||||"). Those special characters are not
allowed in my task, how to get the plain text (without table characters
"||||||") from the doucment?
Hurry