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:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top