Reading Auto-Numbered Word Paragraph Styles in VB 
Author Message
 Reading Auto-Numbered Word Paragraph Styles in VB

I am writing a vb app to create a requirements matrix
from my requirements document that is a MS Word
document.  

I am able to find the "Heading 1" sytles in my word
document, which correspond to my top-level requirements
categories, but I can't find the attribute in the Heading
1 paragraph object that tells me the Word hierarchy of
numbering.

My hierarchy looks something like:
1. 1st Heading 1
  1.1 1st heading 2
  1.2 2nd Heading 2

2. 2nd Heading 1
  2.1 3rd Heading 2
  etc.

I need to find the "1." that Word associates with
the "1st Heading 1".



Mon, 19 Dec 2005 05:19:19 GMT  
 Reading Auto-Numbered Word Paragraph Styles in VB
Hi GStorm,

Quote:
> I need to find the "1." that Word associates with
> the "1st Heading 1".

I'm not certain whether you're looking for the ListString,
ListLevel or ListValue property of the ListFormat object,
but most likely one of these.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update
Jan 24 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)



Wed, 21 Dec 2005 19:48:32 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Auto-numbered paragraphs

2. IF field and numbered paragraphs with styles

3. number of styles used in a paragraph

4. Changing auto paragraph number to text

5. Copying Styled paragraphs in Word 2000

6. Replacing all paragraph marks in a certain style EXCEPT the last one in this style

7. stopping the reading of Word paragraphs

8. How to read autonumbered field number?

9. auto capitalize first word in numbered sequence?

10. Auto Numbering in a Word Table

11. customizing the auto-numbering of word

12. Deleting some of the index fields (in a paragraph style)

 

 
Powered by phpBB® Forum Software