c# - Microsoft.Interop.Office.Word full style not applying -


i trying produce edit word document using microsoft.interop.office.word, , using

range.set_style(string style) 

method.

i using method apply custom style in document called "req level 1." has different text size, bold, has font, , has numbering system.

req level 1 have 1 number:

3

req level 2 have 2 numbers:

3.1

req level 3 have 3 numbers:

3.1.1

and on.

my problem whenever apply styles, numbering lost. bold, proper size, , font correct, implying each style being set correctly, numbering not appear.

thanks time.

create req level 1 style style based on (no style)

create req level 2 style style based on req level 1

click on enter image description here

multilevel list

define new list style

new list style

click on format numbering format numbering click on more button link level req level 1 click on level 2 , link req level 2 level 2 delete in number format box select dropdown include level , include number level 1 in number format box add fullstop , select 1, 2, 3,... number style level box repeat many levels need post helpful, http://shaunakelly.com/word/numbering/numbering20072010.html

once have levels set adding them quite easy using range.set_style(string style) method


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -

jdbc - Not able to establish database connection in eclipse -