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
multilevel list
define new list style
click on format numbering click on more button link level req level 1 click on level 2 , link req 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
Post a Comment