Sequential word parsing

M

micmit

I just want to transform Word document to a text. I need to pickup all
words and recognize all objects for proper layout. Let's say I have on
a page a mixture of paragraphs, tables,lists.
No nesting. After getting a Range for this page how can I parse this
Range to pickup all elements in a proper order.

paragraph1
paragraph2

table1

paragraph3

table2

paragraph4

lis1

paragraph5

TIA
Michael
 
W

Word Heretic

G'day "micmit" <[email protected]>,

The paragraph is the major object. Follow that and sense
selection.Information(wdWithInTable) and the para's ListFormat.

In other words, you must manually deal with every object as you
encounter it through the para collection.



Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


micmit reckoned:
 
Top