P
Piotr Nadolny
Word allows us to access to it's objects like tables
(ole_object.application.activedocument.tables), paragraphs, sentences and
other. But is there an object that keeps all the Word objects ((or)
references to them) as they appear in the document.
For example: Having the collection of tables
(ole_object.application.activedocument.tables) I don't know where exactly
that tables are in the document. If the Range or Selection object selects
the whole table, how to get to know that it is the table? What is more
interesting: How to get to know (when the cursor is in the beginning of the
document) what kind of object will be the next: table, sentence or sth else?
How can I read my document from top to toe?
Thanks in advance...
(ole_object.application.activedocument.tables), paragraphs, sentences and
other. But is there an object that keeps all the Word objects ((or)
references to them) as they appear in the document.
For example: Having the collection of tables
(ole_object.application.activedocument.tables) I don't know where exactly
that tables are in the document. If the Range or Selection object selects
the whole table, how to get to know that it is the table? What is more
interesting: How to get to know (when the cursor is in the beginning of the
document) what kind of object will be the next: table, sentence or sth else?
How can I read my document from top to toe?
Thanks in advance...