 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Richard Teller Guest
|
Posted: Thu Sep 09, 2004 8:44 am Post subject: Grabbing only sentences in Word |
|
|
I have an application that processes a Word document replacing tags in the
document with data. I need to be able to process tables separately as
table-tags refer to a grid idiom ie rows/columns. I also need to iterate
through the sentences in the document.
My problem is that while I can properly iterate through the tables as there
is a table collection, I cannot iterate through the sentences alone,
ignoring the tables. The reason for this is that *every* cell in *every*
table is also a member of the sentences collection. While I can distinguish
a cell from a sentence (as it has a #7 cell marker at the end of it) this
enormously adds to processing time.
Does anyone know of a way to iterate only through sentences that are *not*
part of a table?
Many thanks
Richard Teller
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|