Page 1 of 1

Preserve/Set outline level on styles in RTF code

Posted: 2011-07-26 04:46:24
by kriro
Hello,

how do I set/preserve the outline level property of a heading style created in NWP 2 so that Word recognizes it (in its own outline view) when reading the document?

The relevant RTF property would be \outlinelevelN, with N being 0-8 for outline levels 1-9. Not including the property means Body Text. Both Word and other software I use depend on this property being written to RTF for working correctly. Is there a certain way how I need to configure heading styles (resp. the list style they are connected with) so that this property gets written to RTF?

Thanks, Christian

Re: Preserve/Set outline level on styles in RTF code

Posted: 2011-07-26 12:22:06
by martin
Hi Christian- NWP never emits the "outlinelevel" RTF control, so if that's really what you need, I'm afraid you're out of luck. However, it doesn't seem that Word needs to actually encounter that control in order to include heading paragraphs in its Outline View or Document Map. Just using paragraph styles named "Heading #" seems to be enough.

Let me know if you have any questions, or I'm missing something.